@@ -217,4 +217,76 @@ label, legend, fieldset {
217217}
218218footer {
219219 text-align : center;
220+ }
221+
222+ @media (prefers-color-scheme : dark) {
223+ body {
224+ color : # f0f0f0 ;
225+ background-color : # 1a1a1a ;
226+ }
227+
228+ h2 , h3 {
229+ color : # c0d4f0 ; /* lighter version of #304461 */
230+ }
231+
232+ h4 {
233+ color : # b0b3c0 ; /* lighter version of #545761 */
234+ }
235+
236+ upper {
237+ color : # b0b3c0 ; /* lighter version of #545761 */
238+ }
239+
240+ hr {
241+ border-color : # f0f0f0 ;
242+ }
243+
244+ a {
245+ color : # c0d4f0 ; /* lighter version of #304461 */
246+ }
247+
248+ a : hover {
249+ color : # aec1e9 ; /* keep as is */
250+ border-bottom : 2px solid # f0f0f0 ;
251+ }
252+
253+ blockquote {
254+ border-left : 5px solid # 304461 ;
255+ background-color : # 2a2a2a ;
256+ }
257+
258+ pre , code {
259+ background-color : # 2a2a2a ;
260+ color : # e0e0e0 ;
261+ }
262+
263+ td , th {
264+ border-bottom : 1px solid # 2a2a2a ;
265+ }
266+
267+ input , textarea {
268+ background-color : # 2a2a2a ;
269+ border : 1px solid # 2a2a2a ;
270+ color : # f0f0f0 ;
271+ }
272+
273+ .button , button , input [type = "submit" ], input [type = "reset" ], input [type = "button" ] {
274+ background-color : # 545761 ;
275+ color : # f0f0f0 ;
276+ }
277+
278+ .button : focus : enabled ,
279+ .button : hover : enabled ,
280+ button : focus : enabled ,
281+ button : hover : enabled ,
282+ input [type = "submit" ]: focus : enabled ,
283+ input [type = "submit" ]: hover : enabled ,
284+ input [type = "reset" ]: focus : enabled ,
285+ input [type = "reset" ]: hover : enabled ,
286+ input [type = "button" ]: focus : enabled ,
287+ input [type = "button" ]: hover : enabled {
288+ background-color : # 304461 ;
289+ border-color : # 304461 ;
290+ color : # f0f0f0 ;
291+ }
220292}
0 commit comments