From d3b1922a7f2f13855c108c3dcd55956af9cb2153 Mon Sep 17 00:00:00 2001 From: "Luis S. Ruisinger" Date: Sun, 19 Jun 2022 14:04:06 +0200 Subject: [PATCH] [WIP]: Adding style to frontend - better responsive behavior for 2560 x 1440 resolution --- frontend/src/components/ItemModel.vue | 160 +++++++++++++++++++++++--- frontend/src/styling/navbar.scss | 10 +- 2 files changed, 152 insertions(+), 18 deletions(-) diff --git a/frontend/src/components/ItemModel.vue b/frontend/src/components/ItemModel.vue index cb4e4ff..34ac7fa 100644 --- a/frontend/src/components/ItemModel.vue +++ b/frontend/src/components/ItemModel.vue @@ -72,7 +72,12 @@ + + + + + + + + + \ No newline at end of file diff --git a/frontend/src/styling/navbar.scss b/frontend/src/styling/navbar.scss index 8325a48..15b39f9 100644 --- a/frontend/src/styling/navbar.scss +++ b/frontend/src/styling/navbar.scss @@ -8,7 +8,7 @@ width: 100vw; padding: 0 5vw; color: black; - z-index: 3; + z-index: 4; a { text-decoration: none; @@ -122,7 +122,7 @@ align-items: center; padding: 5vh 0; width: 100vw; - height: 100vh; + height: 120vh; font-weight: bolder; letter-spacing: 0.25vh; color: white; @@ -145,6 +145,12 @@ } } + .menu-btn:checked{ + body{ + overflow: hidden; + } + } + .menu-btn:checked ~ .nav-links { opacity: 1; clip-path: circle(100% at center);