1
- @import url ("basic.css" );
2
-
3
1
/* -- page layout ----------------------------------------------------------- */
4
2
5
3
body {
@@ -160,8 +158,8 @@ div.sphinxsidebar input {
160
158
font-size : 1em ;
161
159
}
162
160
163
- div .sphinxsidebar # searchbox input [ type = "text" ] {
164
- width : 160 px ;
161
+ div .sphinxsidebar # searchbox {
162
+ margin : 1 em 0 ;
165
163
}
166
164
167
165
div .sphinxsidebar .search > div {
@@ -263,10 +261,6 @@ div.admonition p.last {
263
261
margin-bottom : 0 ;
264
262
}
265
263
266
- div .highlight {
267
- background-color : # fff ;
268
- }
269
-
270
264
dt : target , .highlight {
271
265
background : # FAF3E8 ;
272
266
}
@@ -454,7 +448,7 @@ ul, ol {
454
448
}
455
449
456
450
pre {
457
- background : # EEE ;
451
+ background : unset ;
458
452
padding : 7px 30px ;
459
453
margin : 15px 0px ;
460
454
line-height : 1.3em ;
@@ -485,15 +479,15 @@ a.reference {
485
479
border-bottom : 1px dotted # 004B6B ;
486
480
}
487
481
482
+ a .reference : hover {
483
+ border-bottom : 1px solid # 6D4100 ;
484
+ }
485
+
488
486
/* Don't put an underline on images */
489
487
a .image-reference , a .image-reference : hover {
490
488
border-bottom : none;
491
489
}
492
490
493
- a .reference : hover {
494
- border-bottom : 1px solid # 6D4100 ;
495
- }
496
-
497
491
a .footnote-reference {
498
492
text-decoration : none;
499
493
font-size : 0.7em ;
@@ -509,68 +503,7 @@ a:hover tt, a:hover code {
509
503
background : # EEE ;
510
504
}
511
505
512
-
513
- @media screen and (max-width : 870px ) {
514
-
515
- div .sphinxsidebar {
516
- display : none;
517
- }
518
-
519
- div .document {
520
- width : 100% ;
521
-
522
- }
523
-
524
- div .documentwrapper {
525
- margin-left : 0 ;
526
- margin-top : 0 ;
527
- margin-right : 0 ;
528
- margin-bottom : 0 ;
529
- }
530
-
531
- div .bodywrapper {
532
- margin-top : 0 ;
533
- margin-right : 0 ;
534
- margin-bottom : 0 ;
535
- margin-left : 0 ;
536
- }
537
-
538
- ul {
539
- margin-left : 0 ;
540
- }
541
-
542
- li > ul {
543
- /* Matches the 30px from the "ul, ol" selector above */
544
- margin-left : 30px ;
545
- }
546
-
547
- .document {
548
- width : auto;
549
- }
550
-
551
- .footer {
552
- width : auto;
553
- }
554
-
555
- .bodywrapper {
556
- margin : 0 ;
557
- }
558
-
559
- .footer {
560
- width : auto;
561
- }
562
-
563
- .github {
564
- display : none;
565
- }
566
-
567
-
568
-
569
- }
570
-
571
-
572
-
573
- @media screen and (max-width : 875px ) {
506
+ @media screen and (max-width : 940px ) {
574
507
575
508
body {
576
509
margin : 0 ;
@@ -580,12 +513,16 @@ a:hover tt, a:hover code {
580
513
div .documentwrapper {
581
514
float : none;
582
515
background : # fff ;
516
+ margin-left : 0 ;
517
+ margin-top : 0 ;
518
+ margin-right : 0 ;
519
+ margin-bottom : 0 ;
583
520
}
584
521
585
522
div .sphinxsidebar {
586
523
display : block;
587
524
float : none;
588
- width : 102.5 % ;
525
+ width : unset ;
589
526
margin : 50px -30px -20px -30px ;
590
527
padding : 10px 20px ;
591
528
background : # 333 ;
@@ -620,8 +557,14 @@ a:hover tt, a:hover code {
620
557
621
558
div .body {
622
559
min-height : 0 ;
560
+ min-width : auto; /* fixes width on small screens, breaks .hll */
623
561
padding : 0 ;
624
562
}
563
+
564
+ .hll {
565
+ /* "fixes" the breakage */
566
+ width : max-content;
567
+ }
625
568
626
569
.rtd_doc_footer {
627
570
display : none;
@@ -635,13 +578,18 @@ a:hover tt, a:hover code {
635
578
width : auto;
636
579
}
637
580
638
- .footer {
639
- width : auto;
640
- }
641
-
642
581
.github {
643
582
display : none;
644
583
}
584
+
585
+ ul {
586
+ margin-left : 0 ;
587
+ }
588
+
589
+ li > ul {
590
+ /* Matches the 30px from the "ul, ol" selector above */
591
+ margin-left : 30px ;
592
+ }
645
593
}
646
594
647
595
@@ -705,4 +653,11 @@ nav#breadcrumbs li+li:before {
705
653
div .related {
706
654
display : none;
707
655
}
656
+ }
657
+
658
+ img .github {
659
+ position : absolute;
660
+ top : 0 ;
661
+ border : 0 ;
662
+ right : 0 ;
708
663
}
0 commit comments