From f3c6e8aa4ca181d74e709f55185cca06ec0f1d30 Mon Sep 17 00:00:00 2001 From: Marty Sluijtman Date: Sun, 18 Sep 2022 15:29:42 +0200 Subject: [PATCH] Dark theme dark images --- static/style.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/static/style.css b/static/style.css index 0705a57..aef1099 100644 --- a/static/style.css +++ b/static/style.css @@ -54,6 +54,9 @@ pre{ overflow-x: auto; background: var(--ansi00-soft); padding: 1em; border-rad } .about ul{list-style:none;} .about img{height:10em; float:left;} +@media (prefers-color-scheme:dark){ + .about img{filter:invert(.92)} +} header{text-transform: capitalize; text-align:center;border-bottom:2pt solid; font-weight:bold;} .page-head{text-transform: capitalize; text-align:center;border-bottom:2pt solid; font-weight:bold;} @media (min-width: 1200px){