4
4
*
5
5
* Sphinx stylesheet -- basic theme.
6
6
*
7
- * :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
7
+ * :copyright: Copyright 2007-2024 by the Sphinx team, see AUTHORS.
8
8
* :license: BSD, see LICENSE for details.
9
9
*
10
10
*/
@@ -222,7 +222,7 @@ table.modindextable td {
222
222
/* -- general body styles --------------------------------------------------- */
223
223
224
224
div .body {
225
- min-width : 450 px ;
225
+ min-width : 360 px ;
226
226
max-width : 800px ;
227
227
}
228
228
@@ -237,14 +237,8 @@ a.headerlink {
237
237
visibility : hidden;
238
238
}
239
239
240
- a .brackets : before ,
241
- span .brackets > a : before {
242
- content : "[" ;
243
- }
244
-
245
- a .brackets : after ,
246
- span .brackets > a : after {
247
- content : "]" ;
240
+ a : visited {
241
+ color : # 551A8B ;
248
242
}
249
243
250
244
h1 : hover > a .headerlink ,
@@ -335,12 +329,16 @@ p.sidebar-title {
335
329
font-weight : bold;
336
330
}
337
331
332
+ nav .contents ,
333
+ aside .topic ,
338
334
div .admonition , div .topic , blockquote {
339
335
clear : left;
340
336
}
341
337
342
338
/* -- topics ---------------------------------------------------------------- */
343
339
340
+ nav .contents ,
341
+ aside .topic ,
344
342
div .topic {
345
343
border : 1px solid # ccc ;
346
344
padding : 7px ;
@@ -379,13 +377,17 @@ div.body p.centered {
379
377
380
378
div .sidebar > : last-child ,
381
379
aside .sidebar > : last-child ,
380
+ nav .contents > : last-child ,
381
+ aside .topic > : last-child ,
382
382
div .topic > : last-child ,
383
383
div .admonition > : last-child {
384
384
margin-bottom : 0 ;
385
385
}
386
386
387
387
div .sidebar ::after ,
388
388
aside .sidebar ::after ,
389
+ nav .contents ::after ,
390
+ aside .topic ::after ,
389
391
div .topic ::after ,
390
392
div .admonition ::after ,
391
393
blockquote ::after {
@@ -428,10 +430,6 @@ table.docutils td, table.docutils th {
428
430
border-bottom : 1px solid # aaa ;
429
431
}
430
432
431
- table .footnote td , table .footnote th {
432
- border : 0 !important ;
433
- }
434
-
435
433
th {
436
434
text-align : left;
437
435
padding-right : 5px ;
@@ -615,19 +613,26 @@ ul.simple p {
615
613
margin-bottom : 0 ;
616
614
}
617
615
618
- dl .footnote > dt ,
619
- dl .citation > dt {
616
+ aside .footnote > span ,
617
+ div .citation > span {
620
618
float : left;
621
- margin-right : 0.5em ;
622
619
}
623
-
624
- dl .footnote > dd ,
625
- dl .citation > dd {
620
+ aside .footnote > span : last-of-type ,
621
+ div .citation > span : last-of-type {
622
+ padding-right : 0.5em ;
623
+ }
624
+ aside .footnote > p {
625
+ margin-left : 2em ;
626
+ }
627
+ div .citation > p {
628
+ margin-left : 4em ;
629
+ }
630
+ aside .footnote > p : last-of-type ,
631
+ div .citation > p : last-of-type {
626
632
margin-bottom : 0em ;
627
633
}
628
-
629
- dl .footnote > dd : after ,
630
- dl .citation > dd : after {
634
+ aside .footnote > p : last-of-type : after ,
635
+ div .citation > p : last-of-type : after {
631
636
content : "" ;
632
637
clear : both;
633
638
}
@@ -644,10 +649,6 @@ dl.field-list > dt {
644
649
padding-right : 5px ;
645
650
}
646
651
647
- dl .field-list > dt : after {
648
- content : ":" ;
649
- }
650
-
651
652
dl .field-list > dd {
652
653
padding-left : 0.5em ;
653
654
margin-top : 0em ;
@@ -673,6 +674,16 @@ dd {
673
674
margin-left : 30px ;
674
675
}
675
676
677
+ .sig dd {
678
+ margin-top : 0px ;
679
+ margin-bottom : 0px ;
680
+ }
681
+
682
+ .sig dl {
683
+ margin-top : 0px ;
684
+ margin-bottom : 0px ;
685
+ }
686
+
676
687
dl > dd : last-child ,
677
688
dl > dd : last-child > : last-child {
678
689
margin-bottom : 0 ;
@@ -741,6 +752,14 @@ abbr, acronym {
741
752
cursor : help;
742
753
}
743
754
755
+ .translated {
756
+ background-color : rgba (207 , 255 , 207 , 0.2 )
757
+ }
758
+
759
+ .untranslated {
760
+ background-color : rgba (255 , 207 , 207 , 0.2 )
761
+ }
762
+
744
763
/* -- code displays --------------------------------------------------------- */
745
764
746
765
pre {
0 commit comments