dim images in dark mode
Ted Unangst tedu@tedunangst.com
Tue, 26 Dec 2023 17:45:10 -0500
2 files changed,
11 insertions(+),
0 deletions(-)
M
docs/changelog.txt
→
docs/changelog.txt
@@ -2,6 +2,8 @@ changelog
### next ++ Dim images in darkmode. + - Remove the hoot: feature. The bird is dead. ### 1.2.0 Forgotten Followup
M
views/style.css
→
views/style.css
@@ -6,6 +6,15 @@ --hl: #dcf;
--fg-subtle: #a9c; --fg-limited: #a79; } +@media (prefers-color-scheme: dark) { +img { + opacity: .5; + transition: opacity .5s ease-in-out; +} +img:hover { + opacity: 1; +} +} body { background: var(--bg-page);