File tree 1 file changed +28
-4
lines changed
sphinx/themes/basic/static
1 file changed +28
-4
lines changed Original file line number Diff line number Diff line change @@ -428,10 +428,6 @@ table.docutils td, table.docutils th {
428
428
border-bottom: 1px solid #aaa;
429
429
}
430
430
431
- table.footnote td, table.footnote th {
432
- border: 0 !important;
433
- }
434
-
435
431
th {
436
432
text-align: left;
437
433
padding-right: 5px;
@@ -615,6 +611,7 @@ ul.simple p {
615
611
margin-bottom: 0;
616
612
}
617
613
614
+ /* Docutils 0.17 and older (footnotes & citations) */
618
615
dl.footnote > dt,
619
616
dl.citation > dt {
620
617
float: left;
@@ -632,6 +629,33 @@ dl.citation > dd:after {
632
629
clear: both;
633
630
}
634
631
632
+ /* Docutils 0.18+ (footnotes & citations) */
633
+ aside.footnote > span,
634
+ div.citation > span {
635
+ float: left;
636
+ }
637
+ aside.footnote > span:last-of-type,
638
+ div.citation > span:last-of-type {
639
+ padding-right: 0.5em;
640
+ }
641
+ aside.footnote > p {
642
+ margin-left: 2em;
643
+ }
644
+ div.citation > p {
645
+ margin-left: 4em;
646
+ }
647
+ aside.footnote > p:last-of-type,
648
+ div.citation > p:last-of-type {
649
+ margin-bottom: 0em;
650
+ }
651
+ aside.footnote > p:last-of-type:after,
652
+ div.citation > p:last-of-type:after {
653
+ content: "";
654
+ clear: both;
655
+ }
656
+
657
+ /* Footnotes & citations ends */
658
+
635
659
dl.field-list {
636
660
display: grid;
637
661
grid-template-columns: fit-content(30%) auto;
You can’t perform that action at this time.
0 commit comments