diff options
author | mms <michal@sapka.me> | 2023-11-28 22:29:10 +0100 |
---|---|---|
committer | mms <michal@sapka.me> | 2023-11-28 22:29:10 +0100 |
commit | 8b48b74d1a52e259ce45ad2d02ada5d0cf7934d4 (patch) | |
tree | 30acbef97d305e3f9775d6a7683a626e6c657e21 /static | |
parent | db5e4cd2a0f2399006b4a6c19a25a754f0ba5292 (diff) |
feat: bsd as section
Diffstat (limited to 'static')
-rw-r--r-- | static/style.css | 26 |
1 files changed, 24 insertions, 2 deletions
diff --git a/static/style.css b/static/style.css index f339c51..f50b4bc 100644 --- a/static/style.css +++ b/static/style.css @@ -31,6 +31,8 @@ --star-trek-logo-bg-color: #3e7dc0; --site-info-logo-bg-color: #9ba89a; + + --bsd-logo-bg-color: #ab2b28; } @media (prefers-color-scheme: dark) { @@ -109,6 +111,8 @@ header > .logo { width: 50px; height: 80px; background-color: var(--logo-bg-color); + position: relative; + overflow: hidden; } header > .name { @@ -134,13 +138,31 @@ h1 { margin: 0; } -body.star-trek > header > .logo { +body.star-trek > header > .logo { background-color: var(--star-trek-logo-bg-color); } -body.site-info > header > .logo { +body.site-info > header > .logo { background-color: var(--site-info-logo-bg-color); } + +body.bsd > header > .logo { + background-color: var(--bsd-logo-bg-color); +} + +body.bsd > header > .logo > img.beastie { + position: absolute; + bottom: 0px; + right: -11px; + transform: scale(1.1); +} + +body.star-trek > header > .logo > img.stbadge { + position: absolute; + bottom: -12px; + right: -6px; + transform: scale(0.8); +} /* ---------- Main */ main { margin-top: 30px; |