aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/routes/+layout.svelte13
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 {