From f705ecfd3cfa6add53e37fc16918f65aa702da00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerg=C5=91=20Radeczki?= <g.radeczki@gmail.com> Date: Fri, 11 Jun 2021 22:43:57 +0200 Subject: [PATCH] logo in header now stays white in light theme and reddish in dark theme --- docs/stylesheets/extra.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/stylesheets/extra.css b/docs/stylesheets/extra.css index aaa0e73b1..2a1a4ee68 100644 --- a/docs/stylesheets/extra.css +++ b/docs/stylesheets/extra.css @@ -59,4 +59,9 @@ .md-content a[href]:hover { color: var(--md-accent-fg-color-invert); text-decoration: underline dotted var(--md-accent-fg-color-invert); +} + +/* Use reddish logo when in dark mode */ +[data-md-color-scheme="slate"] img[alt="logo"] { + content: url("../../img/schdesign_s_logo_red.svg"); } \ No newline at end of file -- GitLab