summaryrefslogtreecommitdiff
path: root/modules/unicode
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2024-04-21 21:02:12 +0200
committerTom Smeding <tom@tomsmeding.com>2024-04-21 21:03:13 +0200
commit2d4eb2561fa65d5e7bd83caa9b975791f0f6664e (patch)
treeac04e2eeabcac4b208fc7703692b12d8a0429294 /modules/unicode
parentf9bc65b0b13014502ed69dc36688f65742cc3fda (diff)
unicode: Dark mode
Diffstat (limited to 'modules/unicode')
-rw-r--r--modules/unicode/index.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/modules/unicode/index.html b/modules/unicode/index.html
index 781090c..407d6b5 100644
--- a/modules/unicode/index.html
+++ b/modules/unicode/index.html
@@ -39,6 +39,26 @@ code {
padding: 3px;
border-radius: 5px;
}
+
+@media (prefers-color-scheme: dark) {
+ body {
+ color: #eee;
+ background-color: #181818;
+ }
+ .table > div:nth-child(even) {
+ background-color: #1b1b1b;
+ }
+ .table > div:nth-child(odd) {
+ background-color: #262626;
+ }
+ input[type="text"] {
+ background-color: #444;
+ color: #fff;
+ }
+ code {
+ background-color: #252525;
+ }
+}
</style>
<script>
function do_lookup(override) {