@@ -15,12 +15,6 @@ div.clearer {
1515 clear : both;
1616}
1717
18- div .section ::after {
19- display : block;
20- content : '' ;
21- clear : left;
22- }
23-
2418/* -- relbar ---------------------------------------------------------------- */
2519
2620div .related {
@@ -322,27 +316,21 @@ img.align-default, .figure.align-default {
322316div .sidebar {
323317 margin : 0 0 0.5em 1em ;
324318 border : 1px solid # ddb ;
325- padding : 7px ;
319+ padding : 7px 7 px 0 7 px ;
326320 background-color : # ffe ;
327321 width : 40% ;
328322 float : right;
329- clear : right;
330- overflow-x : auto;
331323}
332324
333325p .sidebar-title {
334326 font-weight : bold;
335327}
336328
337- div .admonition , div .topic , blockquote {
338- clear : left;
339- }
340-
341329/* -- topics ---------------------------------------------------------------- */
342330
343331div .topic {
344332 border : 1px solid # ccc ;
345- padding : 7px ;
333+ padding : 7px 7 px 0 7 px ;
346334 margin : 10px 0 10px 0 ;
347335}
348336
@@ -364,6 +352,10 @@ div.admonition dt {
364352 font-weight : bold;
365353}
366354
355+ div .admonition dl {
356+ margin-bottom : 0 ;
357+ }
358+
367359p .admonition-title {
368360 margin : 0px 10px 5px 0px ;
369361 font-weight : bold;
@@ -374,28 +366,9 @@ div.body p.centered {
374366 margin-top : 25px ;
375367}
376368
377- /* -- content of sidebars/topics/admonitions -------------------------------- */
378-
379- div .sidebar > : last-child ,
380- div .topic > : last-child ,
381- div .admonition > : last-child {
382- margin-bottom : 0 ;
383- }
384-
385- div .sidebar ::after ,
386- div .topic ::after ,
387- div .admonition ::after ,
388- blockquote ::after {
389- display : block;
390- content : '' ;
391- clear : both;
392- }
393-
394369/* -- tables ---------------------------------------------------------------- */
395370
396371table .docutils {
397- margin-top : 10px ;
398- margin-bottom : 10px ;
399372 border : 0 ;
400373 border-collapse : collapse;
401374}
@@ -443,13 +416,13 @@ table.citation td {
443416 border-bottom : none;
444417}
445418
446- th > : first-child ,
447- td > : first-child {
419+ th > p : first-child ,
420+ td > p : first-child {
448421 margin-top : 0px ;
449422}
450423
451- th > : last-child ,
452- td > : last-child {
424+ th > p : last-child ,
425+ td > p : last-child {
453426 margin-bottom : 0px ;
454427}
455428
@@ -495,10 +468,6 @@ table.field-list td, table.field-list th {
495468
496469/* -- hlist styles ---------------------------------------------------------- */
497470
498- table .hlist {
499- margin : 1em 0 ;
500- }
501-
502471table .hlist td {
503472 vertical-align : top;
504473}
@@ -526,37 +495,17 @@ ol.upperroman {
526495 list-style : upper-roman;
527496}
528497
529- : not (li ) > ol > li : first-child > : first-child ,
530- : not (li ) > ul > li : first-child > : first-child {
498+ li > p : first-child {
531499 margin-top : 0px ;
532500}
533501
534- : not (li ) > ol > li : last-child > : last-child ,
535- : not (li ) > ul > li : last-child > : last-child {
502+ li > p : last-child {
536503 margin-bottom : 0px ;
537504}
538505
539- ol .simple ol p ,
540- ol .simple ul p ,
541- ul .simple ol p ,
542- ul .simple ul p {
543- margin-top : 0 ;
544- }
545-
546- ol .simple > li : not (: first-child ) > p ,
547- ul .simple > li : not (: first-child ) > p {
548- margin-top : 0 ;
549- }
550-
551- ol .simple p ,
552- ul .simple p {
553- margin-bottom : 0 ;
554- }
555-
556506dl .footnote > dt ,
557507dl .citation > dt {
558508 float : left;
559- margin-right : 0.5em ;
560509}
561510
562511dl .footnote > dd ,
597546 margin-bottom : 15px ;
598547}
599548
600- dd > : first-child {
549+ dd > p : first-child {
601550 margin-top : 0px ;
602551}
603552
@@ -611,11 +560,6 @@ dd {
611560 margin-left : 30px ;
612561}
613562
614- dl > dd : last-child ,
615- dl > dd : last-child > : last-child {
616- margin-bottom : 0 ;
617- }
618-
619563dt : target , span .highlighted {
620564 background-color : # fbe54e ;
621565}
@@ -693,68 +637,29 @@ pre {
693637 overflow-y : hidden; /* fixes display issues on Chrome browsers */
694638}
695639
696- pre , div [class *= "highlight-" ] {
697- clear : both;
698- }
699-
700640span .pre {
701641 -moz-hyphens : none;
702642 -ms-hyphens : none;
703643 -webkit-hyphens : none;
704644 hyphens : none;
705645}
706646
707- div [class *= "highlight-" ] {
708- margin : 1em 0 ;
709- }
710-
711647td .linenos pre {
648+ padding : 5px 0px ;
712649 border : 0 ;
713650 background-color : transparent;
714651 color : # aaa ;
715652}
716653
717654table .highlighttable {
718- display : block;
719- }
720-
721- table .highlighttable tbody {
722- display : block;
723- }
724-
725- table .highlighttable tr {
726- display : flex;
655+ margin-left : 0.5em ;
727656}
728657
729658table .highlighttable td {
730- margin : 0 ;
731- padding : 0 ;
732- }
733-
734- table .highlighttable td .linenos {
735- padding-right : 0.5em ;
736- }
737-
738- table .highlighttable td .code {
739- flex : 1 ;
740- overflow : hidden;
741- }
742-
743- .highlight .hll {
744- display : block;
745- }
746-
747- div .highlight pre ,
748- table .highlighttable pre {
749- margin : 0 ;
750- }
751-
752- div .code-block-caption + div {
753- margin-top : 0 ;
659+ padding : 0 0.5em 0 0.5em ;
754660}
755661
756662div .code-block-caption {
757- margin-top : 1em ;
758663 padding : 2px 5px ;
759664 font-size : small;
760665}
@@ -763,7 +668,10 @@ div.code-block-caption code {
763668 background-color : transparent;
764669}
765670
766- table .highlighttable td .linenos ,
671+ div .code-block-caption + div > div .highlight > pre {
672+ margin-top : 0 ;
673+ }
674+
767675div .doctest > div .highlight span .gp { /* gp: Generic.Prompt */
768676 user-select : none;
769677}
@@ -777,7 +685,11 @@ div.code-block-caption span.caption-text {
777685}
778686
779687div .literal-block-wrapper {
780- margin : 1em 0 ;
688+ padding : 1em 1em 0 ;
689+ }
690+
691+ div .literal-block-wrapper div .highlight {
692+ margin : 0 ;
781693}
782694
783695code .descname {
@@ -828,7 +740,8 @@ span.eqno {
828740}
829741
830742span .eqno a .headerlink {
831- position : absolute;
743+ position : relative;
744+ left : 0px ;
832745 z-index : 1 ;
833746}
834747
0 commit comments