1
1
body {
2
- background-color : # 282c34 ;
3
2
min-height : 100vh ;
4
3
display : flex;
5
4
flex-direction : column;
10
9
"Droid Sans" , "Helvetica Neue" , sans-serif;
11
10
}
12
11
13
- @media (prefers-color-scheme : dark) {
14
- body {
15
- font-weight : 350 ;
16
- color : white;
17
- }
18
-
19
- button {
20
- color : white;
21
- }
22
- }
23
-
24
12
a {
25
13
color : # 00c8bd ;
26
14
}
@@ -40,10 +28,10 @@ code {
40
28
align-items : center;
41
29
justify-content : space-between;
42
30
position : fixed;
43
- width : 100 vw ;
31
+ width : 100 % ;
44
32
box-sizing : border-box;
45
- background-color : rgba (40 , 44 , 52 , 95% );
46
33
backdrop-filter : blur (16px ) saturate (2 );
34
+ background-color : rgba (255 , 255 , 255 );
47
35
border-bottom : 0 solid # e5e7eb ;
48
36
flex-grow : 1 ;
49
37
z-index : 100 ;
@@ -125,19 +113,37 @@ code {
125
113
}
126
114
127
115
body : has (.page-docs ) .active-on-docs {
128
- outline : 1px solid # 00c8bd ;
116
+ outline : 1px solid # 00857f ;
129
117
}
130
118
131
119
body : has (.page-specs ) .active-on-specs {
132
- outline : 1px solid # 00c8bd ;
120
+ outline : 1px solid # 00857f ;
133
121
}
134
122
135
123
body : has (.page-community ) .active-on-community {
136
- outline : 1px solid # 00c8bd ;
124
+ outline : 1px solid # 00857f ;
137
125
}
138
126
139
127
body : has (.page-blog ) .active-on-blog {
140
- outline : 1px solid # 00c8bd ;
128
+ outline : 1px solid # 00857f ;
129
+ }
130
+
131
+ @media (prefers-color-scheme : dark) {
132
+ body : has (.page-docs ) .active-on-docs {
133
+ outline : 1px solid # 00c8bd ;
134
+ }
135
+
136
+ body : has (.page-specs ) .active-on-specs {
137
+ outline : 1px solid # 00c8bd ;
138
+ }
139
+
140
+ body : has (.page-community ) .active-on-community {
141
+ outline : 1px solid # 00c8bd ;
142
+ }
143
+
144
+ body : has (.page-blog ) .active-on-blog {
145
+ outline : 1px solid # 00c8bd ;
146
+ }
141
147
}
142
148
143
149
body : has (.page-docs ) .active-on-docs : hover {
206
212
left : 0 ;
207
213
top : 64px ;
208
214
width : 100% ;
209
- background-color : rgba (40 , 44 , 52 );
210
215
height : calc (100vh - 64px );
211
216
align-items : flex-start;
212
217
justify-content : flex-start;
@@ -217,3 +222,23 @@ h6 {
217
222
display : flex;
218
223
}
219
224
}
225
+
226
+ @media (prefers-color-scheme : dark) {
227
+ button {
228
+ color : white;
229
+ }
230
+
231
+ body {
232
+ background-color : # 282c34 ;
233
+ font-weight : 350 ;
234
+ color : white;
235
+ }
236
+
237
+ .links {
238
+ background-color : rgba (40 , 44 , 52 );
239
+ }
240
+
241
+ .top-bar {
242
+ background-color : rgba (40 , 44 , 52 , 95% );
243
+ }
244
+ }
0 commit comments