1- @import url ("default.css" );
1+ @import url ('classic.css' );
2+
3+ /* unset some styles from the classic stylesheet */
4+ div .document ,
5+ div .body ,
6+ div .related ,
7+ div .body h1 ,
8+ div .body h2 ,
9+ div .body h3 ,
10+ div .body h4 ,
11+ div .body h5 ,
12+ div .body h6 ,
13+ div .sphinxsidebar a ,
14+ div .sphinxsidebar p ,
15+ div .sphinxsidebar ul ,
16+ div .sphinxsidebar h3 ,
17+ div .sphinxsidebar h3 a ,
18+ div .sphinxsidebar h4 ,
19+ table .docutils td ,
20+ table .indextable tr .cap ,
21+ pre {
22+ background-color : inherit;
23+ color : inherit;
24+ }
225
326body {
4- background-color : white;
527 margin-left : 1em ;
628 margin-right : 1em ;
729}
@@ -14,19 +36,24 @@ body {
1436div .related {
1537 margin-bottom : 1.2em ;
1638 padding : 0.5em 0 ;
17- border-bottom : 1px solid # ccc ;
39+ border-top : 1px solid # ccc ;
1840 margin-top : 0.5em ;
1941}
2042
2143div .related a : hover {
22- color : # 0095C4 ;
44+ color : # 0095c4 ;
2345}
2446
2547div .related ~ div .related {
2648 border-top : 1px solid # ccc ;
2749 border-bottom : none;
2850}
2951
52+ div .related : first-child {
53+ border-top : 0 ;
54+ border-bottom : 1px solid # ccc ;
55+ }
56+
3057.related .switchers {
3158 display : inline-flex;
3259}
@@ -41,13 +68,19 @@ div.related ~ div.related {
4168 background-color : white;
4269}
4370
44- .inline-search {
45- display : inline;
71+
72+ div .related ul ::after {
73+ content : '' ;
74+ clear : both;
75+ display : block;
4676}
77+
78+ .inline-search ,
4779form .inline-search input {
4880 display : inline;
4981}
50- form .inline-search input [type = "submit" ] {
82+
83+ form .inline-search input [type = 'submit' ] {
5184 width : 40px ;
5285}
5386
@@ -60,13 +93,15 @@ div.sphinxsidebar {
6093 position : sticky;
6194 top : 0 ;
6295 max-height : 100vh ;
63- background-color : # eeeeee ;
96+ color : # 444 ;
97+ background-color : # eee ;
6498 border-radius : 5px ;
6599 line-height : 130% ;
66100 font-size : smaller;
67101}
68102
69- div .sphinxsidebar h3 , div .sphinxsidebar h4 {
103+ div .sphinxsidebar h3 ,
104+ div .sphinxsidebar h4 {
70105 margin-top : 1.5em ;
71106}
72107
@@ -86,18 +121,19 @@ div.sphinxsidebarwrapper > ul > li > ul > li {
86121}
87122
88123div .sphinxsidebar a : hover {
89- color : # 0095C4 ;
124+ color : # 0095c4 ;
90125}
91126
92127form .inline-search input ,
93- div .sphinxsidebar input {
94- font-family : 'Lucida Grande' , Arial, sans-serif;
128+ div .sphinxsidebar input ,
129+ div .related input {
130+ font-family : 'Lucida Grande' , Arial, sans-serif;
95131 border : 1px solid # 999999 ;
96132 font-size : smaller;
97133 border-radius : 3px ;
98134}
99135
100- div .sphinxsidebar input [type = text ] {
136+ div .sphinxsidebar input [type = ' text' ] {
101137 max-width : 150px ;
102138}
103139
@@ -126,7 +162,8 @@ div.body pre {
126162 border : 1px solid # ac9 ;
127163}
128164
129- div .body div .admonition , div .body div .impl-detail {
165+ div .body div .admonition ,
166+ div .body div .impl-detail {
130167 border-radius : 3px ;
131168}
132169
@@ -147,23 +184,28 @@ div.body a:visited {
147184}
148185
149186div .body a : hover {
150- color : # 00B0E4 ;
187+ color : # 00b0e4 ;
151188}
152189
153190tt , code , pre {
154191 font-family : "monospace" , monospace;
155192 font-size : 96.5% ;
156193}
157194
158- div .body tt , div .body code {
195+ div .body tt ,
196+ div .body code {
159197 border-radius : 3px ;
160198}
161199
162- div .body tt .descname , div .body code .descname {
200+ div .body tt .descname ,
201+ div .body code .descname {
163202 font-size : 120% ;
164203}
165204
166- div .body tt .xref , div .body a tt , div .body code .xref , div .body a code {
205+ div .body tt .xref ,
206+ div .body a tt ,
207+ div .body code .xref ,
208+ div .body a code {
167209 font-weight : normal;
168210}
169211
@@ -175,12 +217,14 @@ table.docutils {
175217 margin-bottom : 10px ;
176218}
177219
178- table .docutils td , table .docutils th {
220+ table .docutils td ,
221+ table .docutils th {
179222 border : 1px solid # ddd !important ;
180223 border-radius : 3px ;
181224}
182225
183- table p , table li {
226+ table p ,
227+ table li {
184228 text-align : left !important ;
185229}
186230
@@ -194,7 +238,8 @@ table.docutils td {
194238 padding : 0.3em 0.5em ;
195239}
196240
197- table .footnote , table .footnote td {
241+ table .footnote ,
242+ table .footnote td {
198243 border : 0 !important ;
199244}
200245
@@ -207,7 +252,7 @@ div.footer {
207252}
208253
209254div .footer a : hover {
210- color : # 0095C4 ;
255+ color : # 0095c4 ;
211256}
212257
213258.refcount {
@@ -218,10 +263,6 @@ div.footer a:hover {
218263 color : # 229 ;
219264}
220265
221- .highlight {
222- background : none !important ;
223- }
224-
225266dl > dt span ~ em {
226267 font-family : "monospace" , monospace;
227268}
0 commit comments