diff options
Diffstat (limited to 'themes/xmin')
-rw-r--r-- | themes/xmin/static/css/style.css | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/themes/xmin/static/css/style.css b/themes/xmin/static/css/style.css index efa871e..e605297 100644 --- a/themes/xmin/static/css/style.css +++ b/themes/xmin/static/css/style.css | |||
@@ -52,3 +52,24 @@ table thead th { border-bottom: 1px solid #ddd; } | |||
52 | th, td { padding: 5px; } | 52 | th, td { padding: 5px; } |
53 | thead, tfoot, tr:nth-child(even) { background: #eee; } | 53 | thead, tfoot, tr:nth-child(even) { background: #eee; } |
54 | .hl { background-color: #ffc; } | 54 | .hl { background-color: #ffc; } |
55 | |||
56 | @media (prefers-color-scheme: dark) { | ||
57 | body { | ||
58 | background-color: #111; | ||
59 | color: white; | ||
60 | } | ||
61 | article > header, nav > ul a { | ||
62 | background: #222; | ||
63 | } | ||
64 | a { | ||
65 | color: #C4D4EE; | ||
66 | } | ||
67 | a:visited { | ||
68 | color: #CEDEE0; | ||
69 | } | ||
70 | code { background-color: #444; } | ||
71 | thead, tfoot, tr:nth-child(even) { background: #222; } | ||
72 | .hl { | ||
73 | background-color: #555; | ||
74 | } | ||
75 | } | ||