From 3991a0a6d5e9afcd2d8a2c5f96e7e326993bf845 Mon Sep 17 00:00:00 2001 From: fkDeath Date: Tue, 5 May 2026 08:12:02 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20=E2=94=80=20Some=20mobile=20responsive=20?= =?UTF-8?q?problems?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/css/cubes.css | 2 +- public/css/shared.css | 42 ++++++++++++------------------------------ 2 files changed, 13 insertions(+), 31 deletions(-) diff --git a/public/css/cubes.css b/public/css/cubes.css index f4ff316..69769a4 100644 --- a/public/css/cubes.css +++ b/public/css/cubes.css @@ -41,7 +41,7 @@ body #div-content { grid-template-columns: minmax(0, 90%); grid-template-rows: auto; gap: 1.5rem; - margin-top: 2rem; + margin-top: 0rem; padding: 0 1rem; } diff --git a/public/css/shared.css b/public/css/shared.css index fe95795..d42f0ec 100644 --- a/public/css/shared.css +++ b/public/css/shared.css @@ -1,11 +1,11 @@ .nav-toggler { position: fixed; z-index: 1002; - top: 0.25%; - left: 2.5%; - height: 5%; - width: 3%; - border-radius: 20%; + top: 12px; + left: 16px; + height: 28px; + width: 32px; + border-radius: 6px; border: none; outline: none; cursor: pointer; @@ -19,17 +19,17 @@ position: absolute; display: block; width: 100%; - height: 5%; + height: 3px; background-color: #235573; transition: transform 0.3s ease-out, opacity 0.1s ease-out; } .l1 { - transform: translateY(-450%); + transform: translateY(-9px); } .l3 { - transform: translateY(450%); + transform: translateY(9px); } .nav-toggler.active .l1 { @@ -104,6 +104,7 @@ nav a:hover { background-image: linear-gradient( #1b1b1b00, #1B4056 ); display: flex; justify-content: center; + align-items: center; } #nav-menu { @@ -123,7 +124,7 @@ body #arrow-down { flex-direction: row; justify-self: center; align-items: end; - position: absolute; + position: fixed; } #arrow-down { @@ -143,14 +144,13 @@ body #arrow-down { } h1 { - position: fixed; font-size: 60px; + margin: 0; } h2 { - position: fixed; - margin-top: 10rem; font-size: 30px; + margin: 0.5rem 0 0 0; } body #footer-box { @@ -252,11 +252,6 @@ nav legend { width: 30%; } - .nav-toggler { - width: 6%; - height: 4%; - } - #logo { margin-left: 85%; } @@ -271,11 +266,6 @@ nav legend { width: 50%; } - .nav-toggler { - width: 10%; - height: 4%; - } - nav a { font-size: 90%; } @@ -299,7 +289,6 @@ nav legend { h2 { font-size: 22px; - margin-top: 7rem; } #arrow-down { @@ -337,12 +326,6 @@ nav legend { width: 75%; } - .nav-toggler { - width: 12%; - height: 4%; - left: 3%; - } - #logo { margin-left: 75%; } @@ -361,7 +344,6 @@ nav legend { h2 { font-size: 18px; - margin-top: 5rem; } #arrow-down {