add dark mode

This commit is contained in:
mischa 2023-06-06 20:43:25 +00:00
parent b836143566
commit c43f504035
1 changed files with 7 additions and 0 deletions

View File

@ -240,5 +240,12 @@ h2 { font-size: 1.25rem; }
.tr-l { text-align: right; }
.mt5-l { margin-top: 3rem; }
}
@media (prefers-color-scheme: dark) {
a, a:link, a:visited { color: #ffe489; }
body, html { background-color: #111111; color: #888888; }
.oams { color: #ffef89; }
pre { background-color: #111111; color: #aaaaaa; }
.clean { background-color: #111111; color: #aaaaaa; }
}
.cut *, .cut *::before { color: #ccc; background-color: #f4f4f4; }