aboutsummaryrefslogtreecommitdiff
path: root/templates/404.html
diff options
context:
space:
mode:
authorChongyi Zheng <git@zcy.dev>2024-03-12 14:02:02 -0400
committerGitHub <noreply@github.com>2024-03-12 11:02:02 -0700
commitd7c76afa342c98220281bdadb7fcf2598e48624b (patch)
tree677287a9c8aa6254644e2c3ce3f8d28582f20557 /templates/404.html
parent9310ba47f78711a783ad6b640e014abab4e5a4cb (diff)
downloadsally-d7c76afa342c98220281bdadb7fcf2598e48624b.tar.gz
Support dark mode theme (#142)
* Support dark mode theme * Add dark mode to 404 and package pages * Fix tests
Diffstat (limited to 'templates/404.html')
-rw-r--r--templates/404.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/404.html b/templates/404.html
index ab5b34a..1915091 100644
--- a/templates/404.html
+++ b/templates/404.html
@@ -2,6 +2,11 @@
<html>
<head>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/skeleton/2.0.4/skeleton.min.css" />
+ <style>
+ @media (prefers-color-scheme: dark) {
+ body { background-color: #333; color: #ddd; }
+ }
+ </style>
</head>
<body>
<div class="container">