4
4
* https://github.com/readthedocs/sphinx_rtd_theme/issues/971
5
5
*/
6
6
/* background: #fcfcfc, note boxes #E7F2FA */
7
- a { color : # 2573A7 ; } /* original #2980B9, #1F5C84; */
8
- a { color : # 8F4BAA ; } /* original ##9b59b6; */
9
- body { color : # 242424 ; } /* original #404040, #383838 */
10
- .wy-side-nav-search > a , .wy-side-nav-search .wy-dropdown > a {
7
+ a {
8
+ color : # 2573A7 ;
9
+ text-decoration : underline;
10
+ }
11
+
12
+ /* original #2980B9, #1F5C84; */
13
+ a {
14
+ color : # 8F4BAA ;
15
+ text-decoration : underline;
16
+ }
17
+
18
+ /* original ##9b59b6; */
19
+ h1 a ,
20
+ h2 a ,
21
+ h3 a ,
22
+ h4 a ,
23
+ h5 a ,
24
+ h6 a {
25
+ text-decoration : none;
26
+ }
27
+
28
+ body {
29
+ color : # 242424 ;
30
+ }
31
+
32
+ /* original #404040, #383838 */
33
+ .wy-side-nav-search > a ,
34
+ .wy-side-nav-search .wy-dropdown > a {
11
35
color : # ffffff ;
12
- } /* original #fcfcfc */
13
- footer { color : # 737373 ; } /* original gray=#808080*/
14
- footer span .commit code , footer span .commit .rst-content tt , .rst-content footer span .commit tt {
36
+ }
37
+
38
+ /* original #fcfcfc */
39
+ footer {
15
40
color : # 737373 ;
16
- } /* original gray=#808080*/
17
- .rst-content tt .literal , .rst-content tt .literal , .rst-content code .literal {
41
+ }
42
+
43
+ /* original gray=#808080*/
44
+ footer span .commit code ,
45
+ footer span .commit .rst-content tt ,
46
+ .rst-content footer span .commit tt {
47
+ color : # 737373 ;
48
+ }
49
+
50
+ /* original gray=#808080*/
51
+ .rst-content tt .literal ,
52
+ .rst-content tt .literal ,
53
+ .rst-content code .literal {
18
54
color : # AB2314 ;
19
55
}
56
+
20
57
/* Sidebar background */
21
- .wy-side-nav-search { background-color : # 277CB4 ;}
58
+ .wy-side-nav-search {
59
+ background-color : # 277CB4 ;
60
+ }
22
61
23
62
/* Same, but for pygments */
24
- .highlight .ch { color : # 3E7A89 ; } /* #! line */
25
- .highlight .c1 { color : # 3E7A89 ; } /* also comments */
26
- .highlight .nv { color : # AD3ECC ; } /* variable */
27
- .highlight .gp { color : # B45608 ; } /* prompt character, $*/
28
- .highlight .si { color : # 3975B1 ; } /* ${} variable text */
29
- .highlight .nc { color : # 0C78A7 ; }
63
+ .highlight .ch {
64
+ color : # 3E7A89 ;
65
+ }
66
+
67
+ /* #! line */
68
+ .highlight .c1 {
69
+ color : # 3E7A89 ;
70
+ }
71
+
72
+ /* also comments */
73
+ .highlight .nv {
74
+ color : # AD3ECC ;
75
+ }
76
+
77
+ /* variable */
78
+ .highlight .gp {
79
+ color : # B45608 ;
80
+ }
81
+
82
+ /* prompt character, $*/
83
+ .highlight .si {
84
+ color : # 3975B1 ;
85
+ }
86
+
87
+ /* ${} variable text */
88
+ .highlight .nc {
89
+ color : # 0C78A7 ;
90
+ }
30
91
31
92
/* Sphinx admonitions */
32
93
/* warning */
33
- .wy-alert .wy-alert-warning .wy-alert-title , .rst-content .wy-alert-warning .note .wy-alert-title , .rst-content .attention .wy-alert-title , .rst-content .caution .wy-alert-title , .rst-content .wy-alert-warning .danger .wy-alert-title , .rst-content .wy-alert-warning .error .wy-alert-title , .rst-content .wy-alert-warning .hint .wy-alert-title , .rst-content .wy-alert-warning .important .wy-alert-title , .rst-content .wy-alert-warning .tip .wy-alert-title , .rst-content .warning .wy-alert-title , .rst-content .wy-alert-warning .seealso .wy-alert-title , .rst-content .admonition-todo .wy-alert-title , .rst-content .wy-alert-warning .admonition .wy-alert-title , .wy-alert .wy-alert-warning .rst-content .admonition-title , .rst-content .wy-alert .wy-alert-warning .admonition-title , .rst-content .wy-alert-warning .note .admonition-title , .rst-content .attention .admonition-title , .rst-content .caution .admonition-title , .rst-content .wy-alert-warning .danger .admonition-title , .rst-content .wy-alert-warning .error .admonition-title , .rst-content .wy-alert-warning .hint .admonition-title , .rst-content .wy-alert-warning .important .admonition-title , .rst-content .wy-alert-warning .tip .admonition-title , .rst-content .warning .admonition-title , .rst-content .wy-alert-warning .seealso .admonition-title , .rst-content .admonition-todo .admonition-title , .rst-content .wy-alert-warning .admonition .admonition-title {
34
- background : # B15E16 ; }
94
+ .wy-alert .wy-alert-warning .wy-alert-title ,
95
+ .rst-content .wy-alert-warning .note .wy-alert-title ,
96
+ .rst-content .attention .wy-alert-title ,
97
+ .rst-content .caution .wy-alert-title ,
98
+ .rst-content .wy-alert-warning .danger .wy-alert-title ,
99
+ .rst-content .wy-alert-warning .error .wy-alert-title ,
100
+ .rst-content .wy-alert-warning .hint .wy-alert-title ,
101
+ .rst-content .wy-alert-warning .important .wy-alert-title ,
102
+ .rst-content .wy-alert-warning .tip .wy-alert-title ,
103
+ .rst-content .warning .wy-alert-title ,
104
+ .rst-content .wy-alert-warning .seealso .wy-alert-title ,
105
+ .rst-content .admonition-todo .wy-alert-title ,
106
+ .rst-content .wy-alert-warning .admonition .wy-alert-title ,
107
+ .wy-alert .wy-alert-warning .rst-content .admonition-title ,
108
+ .rst-content .wy-alert .wy-alert-warning .admonition-title ,
109
+ .rst-content .wy-alert-warning .note .admonition-title ,
110
+ .rst-content .attention .admonition-title ,
111
+ .rst-content .caution .admonition-title ,
112
+ .rst-content .wy-alert-warning .danger .admonition-title ,
113
+ .rst-content .wy-alert-warning .error .admonition-title ,
114
+ .rst-content .wy-alert-warning .hint .admonition-title ,
115
+ .rst-content .wy-alert-warning .important .admonition-title ,
116
+ .rst-content .wy-alert-warning .tip .admonition-title ,
117
+ .rst-content .warning .admonition-title ,
118
+ .rst-content .wy-alert-warning .seealso .admonition-title ,
119
+ .rst-content .admonition-todo .admonition-title ,
120
+ .rst-content .wy-alert-warning .admonition .admonition-title {
121
+ background : # B15E16 ;
122
+ }
123
+
35
124
/* important */
36
- .wy-alert .wy-alert-success .wy-alert-title , .rst-content .wy-alert-success .note .wy-alert-title , .rst-content .wy-alert-success .attention .wy-alert-title , .rst-content .wy-alert-success .caution .wy-alert-title , .rst-content .wy-alert-success .danger .wy-alert-title , .rst-content .wy-alert-success .error .wy-alert-title , .rst-content .hint .wy-alert-title , .rst-content .important .wy-alert-title , .rst-content .tip .wy-alert-title , .rst-content .wy-alert-success .warning .wy-alert-title , .rst-content .wy-alert-success .seealso .wy-alert-title , .rst-content .wy-alert-success .admonition-todo .wy-alert-title , .rst-content .wy-alert-success .admonition .wy-alert-title , .wy-alert .wy-alert-success .rst-content .admonition-title , .rst-content .wy-alert .wy-alert-success .admonition-title , .rst-content .wy-alert-success .note .admonition-title , .rst-content .wy-alert-success .attention .admonition-title , .rst-content .wy-alert-success .caution .admonition-title , .rst-content .wy-alert-success .danger .admonition-title , .rst-content .wy-alert-success .error .admonition-title , .rst-content .hint .admonition-title , .rst-content .important .admonition-title , .rst-content .tip .admonition-title , .rst-content .wy-alert-success .warning .admonition-title , .rst-content .wy-alert-success .seealso .admonition-title , .rst-content .wy-alert-success .admonition-todo .admonition-title , .rst-content .wy-alert-success .admonition .admonition-title {
37
- background : # 12826C ; }
125
+ .wy-alert .wy-alert-success .wy-alert-title ,
126
+ .rst-content .wy-alert-success .note .wy-alert-title ,
127
+ .rst-content .wy-alert-success .attention .wy-alert-title ,
128
+ .rst-content .wy-alert-success .caution .wy-alert-title ,
129
+ .rst-content .wy-alert-success .danger .wy-alert-title ,
130
+ .rst-content .wy-alert-success .error .wy-alert-title ,
131
+ .rst-content .hint .wy-alert-title ,
132
+ .rst-content .important .wy-alert-title ,
133
+ .rst-content .tip .wy-alert-title ,
134
+ .rst-content .wy-alert-success .warning .wy-alert-title ,
135
+ .rst-content .wy-alert-success .seealso .wy-alert-title ,
136
+ .rst-content .wy-alert-success .admonition-todo .wy-alert-title ,
137
+ .rst-content .wy-alert-success .admonition .wy-alert-title ,
138
+ .wy-alert .wy-alert-success .rst-content .admonition-title ,
139
+ .rst-content .wy-alert .wy-alert-success .admonition-title ,
140
+ .rst-content .wy-alert-success .note .admonition-title ,
141
+ .rst-content .wy-alert-success .attention .admonition-title ,
142
+ .rst-content .wy-alert-success .caution .admonition-title ,
143
+ .rst-content .wy-alert-success .danger .admonition-title ,
144
+ .rst-content .wy-alert-success .error .admonition-title ,
145
+ .rst-content .hint .admonition-title ,
146
+ .rst-content .important .admonition-title ,
147
+ .rst-content .tip .admonition-title ,
148
+ .rst-content .wy-alert-success .warning .admonition-title ,
149
+ .rst-content .wy-alert-success .seealso .admonition-title ,
150
+ .rst-content .wy-alert-success .admonition-todo .admonition-title ,
151
+ .rst-content .wy-alert-success .admonition .admonition-title {
152
+ background : # 12826C ;
153
+ }
154
+
38
155
/* seealso, note, etc */
39
- .wy-alert .wy-alert-info .wy-alert-title , .rst-content .note .wy-alert-title , .rst-content .wy-alert-info .attention .wy-alert-title , .rst-content .wy-alert-info .caution .wy-alert-title , .rst-content .wy-alert-info .danger .wy-alert-title , .rst-content .wy-alert-info .error .wy-alert-title , .rst-content .wy-alert-info .hint .wy-alert-title , .rst-content .wy-alert-info .important .wy-alert-title , .rst-content .wy-alert-info .tip .wy-alert-title , .rst-content .wy-alert-info .warning .wy-alert-title , .rst-content .seealso .wy-alert-title , .rst-content .wy-alert-info .admonition-todo .wy-alert-title , .rst-content .wy-alert-info .admonition .wy-alert-title , .wy-alert .wy-alert-info .rst-content .admonition-title , .rst-content .wy-alert .wy-alert-info .admonition-title , .rst-content .note .admonition-title , .rst-content .wy-alert-info .attention .admonition-title , .rst-content .wy-alert-info .caution .admonition-title , .rst-content .wy-alert-info .danger .admonition-title , .rst-content .wy-alert-info .error .admonition-title , .rst-content .wy-alert-info .hint .admonition-title , .rst-content .wy-alert-info .important .admonition-title , .rst-content .wy-alert-info .tip .admonition-title , .rst-content .wy-alert-info .warning .admonition-title , .rst-content .seealso .admonition-title , .rst-content .wy-alert-info .admonition-todo .admonition-title , .rst-content .wy-alert-info .admonition .admonition-title {
40
- background : # 277CB4 ; }
156
+ .wy-alert .wy-alert-info .wy-alert-title ,
157
+ .rst-content .note .wy-alert-title ,
158
+ .rst-content .wy-alert-info .attention .wy-alert-title ,
159
+ .rst-content .wy-alert-info .caution .wy-alert-title ,
160
+ .rst-content .wy-alert-info .danger .wy-alert-title ,
161
+ .rst-content .wy-alert-info .error .wy-alert-title ,
162
+ .rst-content .wy-alert-info .hint .wy-alert-title ,
163
+ .rst-content .wy-alert-info .important .wy-alert-title ,
164
+ .rst-content .wy-alert-info .tip .wy-alert-title ,
165
+ .rst-content .wy-alert-info .warning .wy-alert-title ,
166
+ .rst-content .seealso .wy-alert-title ,
167
+ .rst-content .wy-alert-info .admonition-todo .wy-alert-title ,
168
+ .rst-content .wy-alert-info .admonition .wy-alert-title ,
169
+ .wy-alert .wy-alert-info .rst-content .admonition-title ,
170
+ .rst-content .wy-alert .wy-alert-info .admonition-title ,
171
+ .rst-content .note .admonition-title ,
172
+ .rst-content .wy-alert-info .attention .admonition-title ,
173
+ .rst-content .wy-alert-info .caution .admonition-title ,
174
+ .rst-content .wy-alert-info .danger .admonition-title ,
175
+ .rst-content .wy-alert-info .error .admonition-title ,
176
+ .rst-content .wy-alert-info .hint .admonition-title ,
177
+ .rst-content .wy-alert-info .important .admonition-title ,
178
+ .rst-content .wy-alert-info .tip .admonition-title ,
179
+ .rst-content .wy-alert-info .warning .admonition-title ,
180
+ .rst-content .seealso .admonition-title ,
181
+ .rst-content .wy-alert-info .admonition-todo .admonition-title ,
182
+ .rst-content .wy-alert-info .admonition .admonition-title {
183
+ background : # 277CB4 ;
184
+ }
185
+
41
186
/* error, danger */
42
- .rst-content .danger .admonition-title , .rst-content .danger .wy-alert-title , .rst-content .error .admonition-title , .rst-content .error .wy-alert-title , .rst-content .wy-alert-danger .admonition-todo .admonition-title , .rst-content .wy-alert-danger .admonition-todo .wy-alert-title , .rst-content .wy-alert-danger .admonition .admonition-title , .rst-content .wy-alert-danger .admonition .wy-alert-title , .rst-content .wy-alert-danger .attention .admonition-title , .rst-content .wy-alert-danger .attention .wy-alert-title , .rst-content .wy-alert-danger .caution .admonition-title , .rst-content .wy-alert-danger .caution .wy-alert-title , .rst-content .wy-alert-danger .hint .admonition-title , .rst-content .wy-alert-danger .hint .wy-alert-title , .rst-content .wy-alert-danger .important .admonition-title , .rst-content .wy-alert-danger .important .wy-alert-title , .rst-content .wy-alert-danger .note .admonition-title , .rst-content .wy-alert-danger .note .wy-alert-title , .rst-content .wy-alert-danger .seealso .admonition-title , .rst-content .wy-alert-danger .seealso .wy-alert-title , .rst-content .wy-alert-danger .tip .admonition-title , .rst-content .wy-alert-danger .tip .wy-alert-title , .rst-content .wy-alert-danger .warning .admonition-title , .rst-content .wy-alert-danger .warning .wy-alert-title , .rst-content .wy-alert .wy-alert-danger .admonition-title , .wy-alert .wy-alert-danger .rst-content .admonition-title , .wy-alert .wy-alert-danger .wy-alert-title {
187
+ .rst-content .danger .admonition-title ,
188
+ .rst-content .danger .wy-alert-title ,
189
+ .rst-content .error .admonition-title ,
190
+ .rst-content .error .wy-alert-title ,
191
+ .rst-content .wy-alert-danger .admonition-todo .admonition-title ,
192
+ .rst-content .wy-alert-danger .admonition-todo .wy-alert-title ,
193
+ .rst-content .wy-alert-danger .admonition .admonition-title ,
194
+ .rst-content .wy-alert-danger .admonition .wy-alert-title ,
195
+ .rst-content .wy-alert-danger .attention .admonition-title ,
196
+ .rst-content .wy-alert-danger .attention .wy-alert-title ,
197
+ .rst-content .wy-alert-danger .caution .admonition-title ,
198
+ .rst-content .wy-alert-danger .caution .wy-alert-title ,
199
+ .rst-content .wy-alert-danger .hint .admonition-title ,
200
+ .rst-content .wy-alert-danger .hint .wy-alert-title ,
201
+ .rst-content .wy-alert-danger .important .admonition-title ,
202
+ .rst-content .wy-alert-danger .important .wy-alert-title ,
203
+ .rst-content .wy-alert-danger .note .admonition-title ,
204
+ .rst-content .wy-alert-danger .note .wy-alert-title ,
205
+ .rst-content .wy-alert-danger .seealso .admonition-title ,
206
+ .rst-content .wy-alert-danger .seealso .wy-alert-title ,
207
+ .rst-content .wy-alert-danger .tip .admonition-title ,
208
+ .rst-content .wy-alert-danger .tip .wy-alert-title ,
209
+ .rst-content .wy-alert-danger .warning .admonition-title ,
210
+ .rst-content .wy-alert-danger .warning .wy-alert-title ,
211
+ .rst-content .wy-alert .wy-alert-danger .admonition-title ,
212
+ .wy-alert .wy-alert-danger .rst-content .admonition-title ,
213
+ .wy-alert .wy-alert-danger .wy-alert-title {
43
214
background : # e31704 ;
44
215
}
45
216
46
217
/* Generic admonition titles */
47
- .wy-alert-title , .rst-content .admonition-title {
48
- background : # 277CB4 ;
218
+ .wy-alert-title ,
219
+ .rst-content .admonition-title {
220
+ background : # 277CB4 ;
49
221
}
50
222
51
223
/* Side Nav > Version Link */
52
224
.wy-side-nav-search > div .version {
53
225
color : # ffffff ;
54
226
}
55
227
228
+ /* Side Nav > Menu */
229
+ .wy-menu a {
230
+ text-decoration : none;
231
+ }
232
+
233
+ /* Table of Contents */
234
+ .contents a {
235
+ text-decoration : none;
236
+ }
237
+
238
+ /* Links in Code Snippets */
239
+ a : has (> code ) {
240
+ text-decoration : none;
241
+ color : # 8F4BAA ;
242
+ }
243
+
244
+ .rst-content a code .literal ,
245
+ a code .literal {
246
+ color : # 8F4BAA ;
247
+ }
0 commit comments