diff options
| author | Arne Rief <riearn@proton.me> | 2025-12-20 14:09:20 +0100 |
|---|---|---|
| committer | Arne Rief <riearn@proton.me> | 2025-12-20 14:09:20 +0100 |
| commit | 237f8ae6c29bbf485c312b2fed4d5ab4f99a4eff (patch) | |
| tree | 238e82a6dc22372c2f9bb8504ab9160be49bd4f3 /frontend/src/styles/header.css | |
| parent | 655ec610fcce8dd7748f10772d520bdff4f7c78e (diff) | |
Map and loading robots
Diffstat (limited to 'frontend/src/styles/header.css')
| -rw-r--r-- | frontend/src/styles/header.css | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/frontend/src/styles/header.css b/frontend/src/styles/header.css new file mode 100644 index 0000000..42c429f --- /dev/null +++ b/frontend/src/styles/header.css @@ -0,0 +1,57 @@ +.header { + background: var(--card-bg); + backdrop-filter: blur(8px); + border-radius: var(--border-radius); + box-shadow: var(--box-shadow-dark); + + display: flex; + align-items: center; + justify-content: space-between; + + height: 60px; + padding: 8px 16px; + + position: absolute; + top: 16px; + left: 16px; + right: 16px; + + max-width: 960px; + margin: 0 auto; + z-index: 10; +} + +.header-user { + display: flex; + align-items: center; + justify-content: center; + gap: 20px; +} + +.header-user-info { + display: flex; + align-items: center; + justify-content: center; + gap: 18px; + + & > p { + font-weight: bold; + } +} + +/* Mobile View */ +@media screen and (max-width: 768px) { + .header { + flex-direction: column; + height: fit-content; + max-width: 360px; + } + + .header-user { + gap: var(--gap-normal); + } + + .header-user-info { + gap: var(--gap-small); + } +} |
