File tree 1 file changed +20
-5
lines changed
1 file changed +20
-5
lines changed Original file line number Diff line number Diff line change @@ -1026,15 +1026,30 @@ table.fancy th {
1026
1026
background : # f0f0f0 ;
1027
1027
}
1028
1028
1029
- table .fancy td , table .properties td ,
1030
- table .fancy th , table .properties th {
1031
- padding : 0.15em 0.45em ;
1029
+ @media (prefers-color-scheme : dark) {
1030
+ table .fancy td , table .properties td ,
1031
+ table .fancy th , table .properties th {
1032
+ padding : 0.15em 0.45em ;
1033
+ background : # 333 ;
1034
+ }
1035
+ table .dataTable .compact .fancy tbody th ,
1036
+ table .dataTable .compact .fancy tbody td {
1037
+ padding : 6px 10px ;
1038
+ line-height : normal;
1039
+ background : # 333 ;
1040
+ }
1032
1041
}
1033
1042
1034
- table .dataTable .compact .fancy tbody th ,
1035
- table .dataTable .compact .fancy tbody td {
1043
+ @media (prefers-color-scheme : light) {
1044
+ table .fancy td , table .properties td ,
1045
+ table .fancy th , table .properties th {
1046
+ padding : 0.15em 0.45em ;
1047
+ }
1048
+ table .dataTable .compact .fancy tbody th ,
1049
+ table .dataTable .compact .fancy tbody td {
1036
1050
padding : 6px 10px ;
1037
1051
line-height : normal;
1052
+ }
1038
1053
}
1039
1054
1040
1055
ul .searchresults li {
You can’t perform that action at this time.
0 commit comments