Skip to content

Commit f986760

Browse files
authored
Merge pull request #11 from pubmania/pubmania-header-clipboard-color
Update extra.css
2 parents 10dfcfb + 1568b60 commit f986760

File tree

1 file changed

+25
-11
lines changed

1 file changed

+25
-11
lines changed

docs/assets/stylesheets/extra.css

+25-11
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
--md-tasklist-icon: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 3H5c-1.11 0-2 .89-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2m0 2v14H5V5h14z"/></svg>');
44
--md-tasklist-icon--checked: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="m10 17-5-5 1.41-1.42L10 14.17l7.59-7.59L19 8m0-5H5c-1.11 0-2 .89-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2z"/></svg>');
55
--md-code-fg-color: orangered;
6+
--md-typeset-a-color: orangered;
67
--md-code-bg-color: black;
78
--md-admonition-icon--tip: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.62L12 2 9.19 8.62 2 9.24l5.45 4.73L5.82 21 12 17.27z"></path></svg>');
89
--md-admonition-icon--tag: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="m21.41 11.58-9-9A2 2 0 0 0 11 2H4a2 2 0 0 0-2 2v7a2 2 0 0 0 .59 1.42l9 9A2 2 0 0 0 13 22a2 2 0 0 0 1.41-.59l7-7A2 2 0 0 0 22 13a2 2 0 0 0-.59-1.42M13 20l-9-9V4h7l9 9M6.5 5A1.5 1.5 0 1 1 5 6.5 1.5 1.5 0 0 1 6.5 5z"></path></svg>')
@@ -26,6 +27,17 @@
2627
width: 2.2rem;
2728
}
2829
}
30+
/* clipboard */
31+
.md-clipboard:not(.focus-visible) {
32+
color: greenyellow;
33+
}
34+
:hover>.md-clipboard {
35+
color: yellow;
36+
}
37+
.md-clipboard:focus,
38+
.md-clipboard:hover {
39+
color:var(--md-accent-fg-color)
40+
}
2941
/* sidebar */
3042
.md-header[data-md-state="hidden"] + .md-container .md-sidebar {
3143
top: 0px !important; /* move up when header is hidden */
@@ -70,22 +82,23 @@
7082
}
7183
/* headers */
7284
.md-typeset h1 {
73-
color: black;
85+
color: maroon;
86+
text-align: center;
7487
font-size: 2em;
7588
margin: 0 0 0.5em 0;
7689
}
7790
.md-typeset h2 {
78-
color: navy;
91+
color: maroon;
7992
font-size: 1.6em;
8093
margin: 1.6em 0 0.5em 0;
8194
padding-bottom: 0.125em;
82-
border-bottom: 2px solid navy;
95+
border-bottom: 2px solid maroon;
8396
}
8497
.md-typeset h3 {
85-
color: navy;
98+
color: maroon;
8699
font-size: 1.4em;
87100
margin: 1.6em 0 0.5em 0;
88-
border-bottom: 1px dashed navy;
101+
border-bottom: 1px dashed maroon;
89102
}
90103
.md-typeset h4 {
91104
color: black;
@@ -131,6 +144,7 @@
131144
font-weight: normal;
132145
}
133146
.md-typeset pre code {
147+
color: greenyellow;
134148
white-space: pre-wrap;
135149
word-break: break-word;
136150
font-size: 0.95em;
@@ -489,26 +503,26 @@ html .md-typeset :is(.admonition-title,summary):last-child {
489503
color: orangered;
490504
}
491505
#mkdocs-decrypt-form :is(input, button) {
492-
border: 1px solid navy;
506+
border: 1px solid maroon;
493507
padding: 0.25em 0.5em;
494508
font-size: revert;
495509
}
496510
#mkdocs-decrypt-form button {
497-
background-color: navy;
511+
background-color: maroon;
498512
color: white;
499513
}
500514
/* button */
501515
.md-typeset .md-button {
502516
/* background-color: orangered; */
503-
color: navy;
504-
border: 1px solid navy;
517+
color: maroon;
518+
border: 1px solid maroon;
505519
padding: 0.125em 0.5em;
506520
font-weight: unset;
507521
font-size: revert;
508522
}
509523
.md-typeset .md-button:hover {
510-
background-color: navy;
511-
border: 1px solid navy;
524+
background-color: maroon;
525+
border: 1px solid maroon;
512526
color: white;
513527
}
514528
.md-typeset :is(.emojione,.twemoji,.gemoji) {

0 commit comments

Comments
 (0)