diff options
-rw-r--r-- | layouts/_default/baseof.html | 2 | ||||
-rw-r--r-- | static/style.css | 12 |
2 files changed, 14 insertions, 0 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index c34bf8f..1807091 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -44,6 +44,8 @@ {{ $section_class := "mms"}} {{ if in .Page.Params.category "star-trek" }} {{ $section_class = "star-trek" }} + {{ else if in .Page.Params.category "site-info" }} + {{ $section_class = "site-info" }} {{ end }} <body class="{{ $section_class }}"> <header> diff --git a/static/style.css b/static/style.css index 37d5978..f339c51 100644 --- a/static/style.css +++ b/static/style.css @@ -26,6 +26,11 @@ --site-font: monospace; --header-font: arial; + + + --star-trek-logo-bg-color: #3e7dc0; + + --site-info-logo-bg-color: #9ba89a; } @media (prefers-color-scheme: dark) { @@ -129,6 +134,13 @@ h1 { margin: 0; } +body.star-trek > header > .logo { + background-color: var(--star-trek-logo-bg-color); +} + +body.site-info > header > .logo { + background-color: var(--site-info-logo-bg-color); +} /* ---------- Main */ main { margin-top: 30px; |