File tree 1 file changed +25
-13
lines changed
1 file changed +25
-13
lines changed Original file line number Diff line number Diff line change 15
15
color : # fefefe ;
16
16
}
17
17
pre {
18
- background-color : black;
18
+ background-color : # 474747 ; /* 20% brighter than background */
19
19
}
20
20
}
21
21
@media (prefers-color-scheme : light) {
78
78
a { text-decoration : none; }
79
79
80
80
@media (prefers-color-scheme : dark) {
81
- a [href ]: link {
82
- color : # 9E358F ;
83
- filter : brightness (2.0 );
84
- }
85
- a [href ]: visited {
86
- color : # 6F5F9C ;
87
- filter : brightness (2.0 );
88
- }
81
+ a [href ]: link { color : # EB82DC ; } /* 30% brighter */
82
+ a [href ]: visited { color : # D5C5FF ; } /* 40% brighter */
89
83
}
90
84
@media (prefers-color-scheme : light) {
91
85
a [href ]: link { color : # 9E358F ; }
@@ -442,7 +436,6 @@ table.properties td, table.properties th {
442
436
}
443
437
444
438
div # properties {
445
- background : # fefefe ;
446
439
width : 40% ;
447
440
margin-bottom : 2em ;
448
441
}
@@ -623,11 +616,21 @@ div#style-menu-holder {
623
616
display : block;
624
617
}
625
618
619
+ @media (prefers-color-scheme : dark) {
620
+ # footer {
621
+ background : # 222 ;
622
+ color : # ededed ;
623
+ }
624
+ }
625
+ @media (prefers-color-scheme : light) {
626
+ # footer {
627
+ background : # ededed ;
628
+ color : # 222 ;
629
+ }
630
+ }
626
631
# footer {
627
- background : # ededed ;
628
632
border-top : 1px solid # aaa ;
629
633
padding : 0.5em 0 ;
630
- color : # 222 ;
631
634
text-align : center;
632
635
width : 100% ;
633
636
height : 3em ;
@@ -665,8 +668,17 @@ ul.links li form button {
665
668
666
669
/* @group Front Matter */
667
670
671
+ @media (prefers-color-scheme : dark) {
672
+ # table-of-contents {
673
+ background : # 222 ;
674
+ }
675
+ }
676
+ @media (prefers-color-scheme : light) {
677
+ # table-of-contents {
678
+ background : # f7f7f7 ;
679
+ }
680
+ }
668
681
# table-of-contents {
669
- background : # f7f7f7 ;
670
682
padding : 1em ;
671
683
margin : 0 ;
672
684
margin-top : 1em ;
You can’t perform that action at this time.
0 commit comments