diff options
| author | Fuwn <[email protected]> | 2023-12-07 10:28:41 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2023-12-07 10:29:15 -0800 |
| commit | 13e30336298685edc072773d83ffca2845d65a33 (patch) | |
| tree | ac6a0828db927ca6cd9c11a4ae8bff76aed94f93 /src | |
| parent | fix(birthdays): tile width (diff) | |
| download | due.moe-13e30336298685edc072773d83ffca2845d65a33.tar.xz due.moe-13e30336298685edc072773d83ffca2845d65a33.zip | |
feat(layout): header fit mobile
Diffstat (limited to 'src')
| -rw-r--r-- | src/routes/+layout.svelte | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index ae91ba64..364a4833 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -119,11 +119,20 @@ #hover-header { position: fixed; - top: 0.5%; - left: 0.25%; + top: 0; + left: 0; + padding: 0.5% 0.25% 0.25% 0; z-index: 1000; transition: 0.25s; opacity: 0; + background-color: var(--base00); + width: 100%; + } + + @media (max-width: 640px) { + #hover-header { + font-size: 5vw; + } } #hover-header:hover { |