From c5385e834b82294a80f4c3c6668e218712503b1d Mon Sep 17 00:00:00 2001 From: Alexander J Date: Sat, 14 May 2022 14:50:18 +0200 Subject: [PATCH] Responsive Signed-off-by: Alexander J --- src/assets/global.css | 16 ++++++++++++++++ src/lib/Header.svelte | 25 +++++++++++++++++++------ 2 files changed, 35 insertions(+), 6 deletions(-) diff --git a/src/assets/global.css b/src/assets/global.css index 4ec2b52..b83dd36 100644 --- a/src/assets/global.css +++ b/src/assets/global.css @@ -86,6 +86,10 @@ a.visited { word-wrap: break-word; } +#MenuButton { + display: none; +} + @media screen and (max-width: 800px) { .card { flex-direction: column; @@ -93,4 +97,16 @@ a.visited { .ResponsiveImage { max-inline-size: 100%; } + + .navbarpieceofshitfuckihatethis {display: none;} + + .navbarpieceofshitfuckihatethis.responsive {display: initial;} + /*.navbarpieceofshitfuckihatethis.responsive a { + float: none; + display: block; + text-align: left; + }*/ + #MenuButton { + display: initial; + } } diff --git a/src/lib/Header.svelte b/src/lib/Header.svelte index 80abb24..de09fa8 100644 --- a/src/lib/Header.svelte +++ b/src/lib/Header.svelte @@ -1,11 +1,28 @@ -
+