From 194b55fff49dc66391e3e326dcb885c2eae7b3a5 Mon Sep 17 00:00:00 2001 From: marvinkrausser Date: Sat, 9 May 2026 07:52:30 +0200 Subject: [PATCH 1/4] changed responsivnes --- index.html | 20 ++++++++++-------- styles/mobile_bar_style.css | 14 ++++++++++++- styles/projects_style.css | 41 +++++++++++++++++++++++++++---------- 3 files changed, 54 insertions(+), 21 deletions(-) diff --git a/index.html b/index.html index 2195668..f673755 100644 --- a/index.html +++ b/index.html @@ -17,18 +17,20 @@ - +
+ -
- +
+ -
diff --git a/styles/mobile_bar_style.css b/styles/mobile_bar_style.css index 137b30a..2a75724 100644 --- a/styles/mobile_bar_style.css +++ b/styles/mobile_bar_style.css @@ -15,6 +15,7 @@ -webkit-user-select: none; -ms-user-select: none; user-select: none; + z-index: 10; } #navbar-mobile.inactive { @@ -95,7 +96,7 @@ .navbar-item-mobile { width: 100%; - height: 80px; + height: 60px; list-style: none; display: flex; align-items: center; @@ -115,4 +116,15 @@ justify-content: center; align-items: center; padding: 10px; +} + +.mobile-config { + display: flex; + flex-direction: column; + align-items: center; + margin-top: auto; + margin-bottom: 20px; + gap: 20px; + height: fit-content; + width: fit-content; } \ No newline at end of file diff --git a/styles/projects_style.css b/styles/projects_style.css index 71fabfe..afcebd5 100644 --- a/styles/projects_style.css +++ b/styles/projects_style.css @@ -1,9 +1,15 @@ .main-content { margin-left: var(--nav-w); - --margin-main-content: 100px; + --margin-main-content: 7vw; --margin-top: 100px; } +@media (max-width: 1500px) { + .main-content { + --margin-main-content: 4vw; + } +} + @media (max-width: 1000px) { .main-content { margin-left: 0; @@ -13,7 +19,7 @@ } #introduction { - padding-top: var(--margin-top); + margin-top: var(--margin-top); margin-left: var(--margin-main-content); margin-bottom: 60px; margin-right: var(--margin-main-content); @@ -116,11 +122,6 @@ display: inline; } -.text-content a { - font-size: var(--font-size); - font-weight: normal; -} - .text-link:hover { border-color: var(--text); } @@ -128,13 +129,31 @@ .text-link { display: inline-block; width: fit-content; - font-size: 0.90rem; - font-weight: 500; + font-size: var(--text-size); + font-weight: bolder; text-decoration: none; - border-bottom: 1px solid var(--border); - padding-bottom: 2px; transition: border-color 0.15s; white-space: nowrap; + position: relative; +} + +.text-link:hover { + color: var(--text); +} + +.text-link::before{ + content: ""; + width: 100%; + height: 1.2px; + background: var(--muted); + left: 0; + bottom: 2px; + position: absolute; + border-radius: 16px; +} + +.text-link:hover::before { + background: var(--text); } .link-row { From dcdb48db84fb656fa0a620013fbbceb8346dfb4f Mon Sep 17 00:00:00 2001 From: marvinkrausser Date: Sat, 9 May 2026 21:46:40 +0200 Subject: [PATCH 2/4] changed mobile navbar responsivenes --- index.html | 2 +- scripts/main_page.js | 2 +- styles/main_style.css | 2 +- styles/mobile_bar_style.css | 43 +++++++++++++++++++++++++++++-------- styles/projects_style.css | 2 +- styles/sidebar_style.css | 28 +++++++++++++++--------- 6 files changed, 56 insertions(+), 23 deletions(-) diff --git a/index.html b/index.html index f673755..a58eec9 100644 --- a/index.html +++ b/index.html @@ -12,7 +12,7 @@ - +