44 *
55 * Sphinx stylesheet -- basic theme.
66 *
7- * :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
7+ * :copyright: Copyright 2007-2023 by the Sphinx team, see AUTHORS.
88 * :license: BSD, see LICENSE for details.
99 *
1010 */
@@ -236,16 +236,6 @@ div.body p, div.body dd, div.body li, div.body blockquote {
236236a .headerlink {
237237 visibility : hidden;
238238}
239- a .brackets : before ,
240- span .brackets > a : before {
241- content : "[" ;
242- }
243-
244- a .brackets : after ,
245- span .brackets > a : after {
246- content : "]" ;
247- }
248-
249239
250240h1 : hover > a .headerlink ,
251241h2 : hover > a .headerlink ,
@@ -334,11 +324,17 @@ aside.sidebar {
334324p .sidebar-title {
335325 font-weight : bold;
336326}
327+
328+ nav .contents ,
329+ aside .topic ,
337330div .admonition , div .topic , blockquote {
338331 clear : left;
339332}
340333
341334/* -- topics ---------------------------------------------------------------- */
335+
336+ nav .contents ,
337+ aside .topic ,
342338div .topic {
343339 border : 1px solid # ccc ;
344340 padding : 7px ;
@@ -377,13 +373,17 @@ div.body p.centered {
377373
378374div .sidebar > : last-child ,
379375aside .sidebar > : last-child ,
376+ nav .contents > : last-child ,
377+ aside .topic > : last-child ,
380378div .topic > : last-child ,
381379div .admonition > : last-child {
382380 margin-bottom : 0 ;
383381}
384382
385383div .sidebar ::after ,
386384aside .sidebar ::after ,
385+ nav .contents ::after ,
386+ aside .topic ::after ,
387387div .topic ::after ,
388388div .admonition ::after ,
389389blockquote ::after {
@@ -608,19 +608,27 @@ ol.simple p,
608608ul .simple p {
609609 margin-bottom : 0 ;
610610}
611- dl .footnote > dt ,
612- dl .citation > dt {
611+
612+ aside .footnote > span ,
613+ div .citation > span {
613614 float : left;
614- margin-right : 0.5em ;
615615}
616-
617- dl .footnote > dd ,
618- dl .citation > dd {
616+ aside .footnote > span : last-of-type ,
617+ div .citation > span : last-of-type {
618+ padding-right : 0.5em ;
619+ }
620+ aside .footnote > p {
621+ margin-left : 2em ;
622+ }
623+ div .citation > p {
624+ margin-left : 4em ;
625+ }
626+ aside .footnote > p : last-of-type ,
627+ div .citation > p : last-of-type {
619628 margin-bottom : 0em ;
620629}
621-
622- dl .footnote > dd : after ,
623- dl .citation > dd : after {
630+ aside .footnote > p : last-of-type : after ,
631+ div .citation > p : last-of-type : after {
624632 content : "" ;
625633 clear : both;
626634}
@@ -636,10 +644,6 @@ dl.field-list > dt {
636644 padding-left : 0.5em ;
637645 padding-right : 5px ;
638646}
639- dl .field-list > dt : after {
640- content : ":" ;
641- }
642-
643647
644648dl .field-list > dd {
645649 padding-left : 0.5em ;
0 commit comments