-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathdark.css
162 lines (127 loc) · 3.23 KB
/
dark.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
/* Asciidoctor default stylesheet | MIT License | https://asciidoctor.org */
@import url(//fonts.googleapis.com/css?family=Noto+Sans);
@import url(https://cdn.jsdelivr.net/gh/asciidoctor/[email protected]/data/stylesheets/asciidoctor-default.css); /* Default asciidoc style framework - important */
/* CUSTOMISATIONS */
/* Change the values in root for quick customisation. If you want even more fine grain... venture further. */
:root {
--maincolor: #282c34;
--primarycolor: #f39c12;
--secondarycolor: #03a9f4;
--tertiarycolor: #4db6ac;
--sidebarbackground: #21252b;
--linkcolor: #f44336;
--linkcoloralternate: #526ae8;
--white: #FFFFFF;
--grey: #eedddd;
}
/* Text styles */
body {
font-family: "Noto Sans", sans-serif;
background-color: var(--maincolor);
color: var(--white);
}
h1 {
color: var(--primarycolor) !important;
font-family: "Noto Sans", sans-serif;
}
h2, h3, h4, h5, h6 {
color: var(--secondarycolor) !important;
font-family: "Noto Sans", sans-serif;
}
.title {
color: var(--white) !important;
font-family: "Noto Sans", sans-serif;
font-style: normal;
font-weight: normal;
}
p {
font-family: "Noto Sans", sans-serif ! important
}
#toc.toc2 a:link {
color: var(--linkcolor);
}
blockquote {
color: var(--tertiarycolor) !important
}
.quoteblock {
color: var(--white)
}
code {
color: var(--linkcoloralternate);
background-color: var(--grey) !important
}
/* Table styles */
th {
background-color: var(--maincolor);
color: var(--white) !important;
}
td {
background-color: var(--maincolor);
color: var(--primarycolor) !important
}
#toc.toc2 {
background-color: var(--sidebarbackground);
}
#toctitle {
color: var(--white);
}
/* Responsiveness fixes */
video {
max-width: 100%;
}
@media all and (max-width: 600px) {
table {
width: 55vw !important;
font-size: 3vw;
}
}
.exampleblock > .content {
background-color: var(--maincolor);
}
a {
color: var(--secondarycolor);
}
.admonitionblock td.icon .icon-tip::before {
text-shadow: none;
color: var(--white);
}
.admonitionblock td.icon .icon-note::before {
color: var(--tertiarycolor);
}
.admonitionblock td.icon .icon-important::before {
color: var(--linkcolor);
}
/*.admonitionblock td.icon .icon-caution::before {
color: var(--linkcoloralternate);
}*/
.admonitionblock td.icon .icon-warning::before {
color: var(--primarycolor);
}
#preamble > .sectionbody > .paragraph:first-of-type p {
color: var(--white);
}
.quoteblock blockquote::before {
color: var(--primarycolor);
}
.quoteblock .attribution cite, .verseblock .attribution cite {
color: var(--white);
}
.verseblock pre {
color: var(--white);
}
.quoteblock blockquote, .quoteblock blockquote p {
color: var(--white);
}
.sidebarblock {
background: var(--sidebarbackground);
}
.literalblock pre, .listingblock pre:not(.highlight), .listingblock pre[class="highlight"], .listingblock pre[class^="highlight "], .listingblock pre.CodeRay, .listingblock pre.prettyprint {
background: var(--sidebarbackground);
color: var(--white);
}
#header .details {
color: var(--white);
}
#header .details span.email a {
color: var(--linkcoloralternate);
}