diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2022-05-27 17:22:41 +0200 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2022-05-27 17:23:35 +0200 |
| commit | 1200ba4e9610f30a3263210a087343a4c10be46f (patch) | |
| tree | 1d0033835263fe701a956385b3f45a33ea00c1f8 /template | |
| parent | 43d6d9e852533209c0d580c7f08668be11ade1e5 (diff) | |
| download | mitjafelicijan.com-1200ba4e9610f30a3263210a087343a4c10be46f.tar.gz | |
Added dark mode
Diffstat (limited to 'template')
| -rwxr-xr-x | template/_meta.html | 2 | ||||
| -rwxr-xr-x | template/style.css | 18 |
2 files changed, 16 insertions, 4 deletions
diff --git a/template/_meta.html b/template/_meta.html index e9a931f..6310d49 100755 --- a/template/_meta.html +++ b/template/_meta.html | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | 5 | ||
| 6 | <meta name="theme-color" content="#ffffff"> | 6 | <meta name="theme-color" content="#ffffff"> |
| 7 | 7 | ||
| 8 | <link rel="stylesheet" href="/style.css?v=2022-05-16-00"> | 8 | <link rel="stylesheet" href="/style.css?v=2022-05-27-00"> |
| 9 | 9 | ||
| 10 | <link rel="alternate" type="application/rss+xml" href="/feed.rss"> | 10 | <link rel="alternate" type="application/rss+xml" href="/feed.rss"> |
| 11 | <link rel="alternate" type="application/feed+json" href="/feed.json"> | 11 | <link rel="alternate" type="application/feed+json" href="/feed.json"> |
diff --git a/template/style.css b/template/style.css index 0bb2718..126c7b3 100755 --- a/template/style.css +++ b/template/style.css | |||
| @@ -398,9 +398,21 @@ audio { | |||
| 398 | 398 | ||
| 399 | @media (prefers-color-scheme: light) { } | 399 | @media (prefers-color-scheme: light) { } |
| 400 | 400 | ||
| 401 | @media (prefers-color-scheme: dark) { } | 401 | @media (prefers-color-scheme: dark) { |
| 402 | body { | ||
| 403 | background: #222; | ||
| 404 | color: #fff; | ||
| 405 | } | ||
| 402 | 406 | ||
| 407 | time { | ||
| 408 | color: #fff; | ||
| 409 | } | ||
| 403 | 410 | ||
| 404 | @media (prefers-color-scheme: light) { } | 411 | a { |
| 412 | color: #fff !important; | ||
| 413 | } | ||
| 405 | 414 | ||
| 406 | @media (prefers-color-scheme: dark) { } | 415 | code { |
| 416 | color: #222 !important; | ||
| 417 | } | ||
| 418 | } | ||
