From 23f48215c3f239aa82555d8e613ab44b75026182 Mon Sep 17 00:00:00 2001 From: Agahnim Date: Fri, 20 Mar 2026 15:56:22 +0100 Subject: [PATCH] header: wip --- static/style.css | 70 ++++++++++++++++++++++------------ templates/partials/header.html | 3 +- templates/partials/home.html | 2 +- templates/partials/music.html | 2 +- 4 files changed, 50 insertions(+), 27 deletions(-) diff --git a/static/style.css b/static/style.css index b7f1f52..bfb19a4 100644 --- a/static/style.css +++ b/static/style.css @@ -10,18 +10,24 @@ --grey-500: oklch(55.1% 0.027 264.364); } +::selection { + + text-shadow: 0px 0px 3px var(--darkerer-pink) +} + body { + background-image: url(assets/images/tiledbgpink.webp); background-size: cover; background-position: center; height: 100lvh; width: 100lvw; overflow: auto; - font-family: "DotGothic16", sans-serif; - + font-family: "DotGothic16", + sans-serif; main { - padding-top: 5rem; + padding-top: 8rem; } } @@ -66,27 +72,38 @@ crt { } } -/* Navbar */ -navbar { - font-family: "VT323", monospace; +/* persistent-ui */ +persistent-ui { position: fixed; - display: flex; - flex-direction: column; - top: 0; left: 0; width: 100svw; - height: auto; + z-index: 1000; + display: flex; + flex-direction: column; + align-items: flex-start; +} + +miniplayer-container { + display: block; + align-self: flex-start; +} + +/* Navbar */ +navbar { + font-family: "VT323", monospace; + font-size: 1.5rem; + display: flex; + flex-direction: column; + width: 100%; navbar-content { - display: flex; gap: 0.3rem; padding: 0.5rem 0; padding-left: 0.5rem; background-color: var(--win-bg-grey); - input { opacity: 0; position: absolute; @@ -124,8 +141,21 @@ navbar { height: 1.5rem; flex-shrink: 0; background-color: var(--darker-pink); - border-bottom: 2px solid #000; + color: white; + display: flex; + align-items: center; + padding-left: 0.5rem; + gap: 0.5rem; + + status-dot { + display: block; + width: 8px; + height: 8px; + background-color: #00ff00; + border: 1px solid #008000; + } + } } @@ -158,24 +188,17 @@ katcenkat { } } - - /* Mini player */ - mini-player { - position: fixed; - top: 3.5rem; - left: 0; + display: block; + position: relative; z-index: 100; width: min(240px, 100svw); background-color: var(--win-bg-grey); border: 2px solid; border-color: #ffffff #808080 #808080 #ffffff; box-shadow: 2px 2px 0 #000; - - - transition: opacity 0.3s, - translate 0.3s; + transition: opacity 0.3s, translate 0.3s; ominous-message { display: block; @@ -239,7 +262,6 @@ mini-player { outline: none; cursor: pointer; - &::-webkit-slider-thumb { appearance: none; width: 10px; diff --git a/templates/partials/header.html b/templates/partials/header.html index 84d2d46..433d6d0 100644 --- a/templates/partials/header.html +++ b/templates/partials/header.html @@ -6,6 +6,7 @@ Music -

Salut

+ + Online
\ No newline at end of file diff --git a/templates/partials/home.html b/templates/partials/home.html index 1abbe5a..f3a328a 100644 --- a/templates/partials/home.html +++ b/templates/partials/home.html @@ -1,6 +1,6 @@ - A welcome text in pink + A welcome text in pink

test

\ No newline at end of file diff --git a/templates/partials/music.html b/templates/partials/music.html index e2b4616..e4f9a8e 100644 --- a/templates/partials/music.html +++ b/templates/partials/music.html @@ -1 +1 @@ -

y'a pas de miniplayer ici

\ No newline at end of file +hello \ No newline at end of file