From 42dfa4b4479433b39bad7ca27722e4ea68fd63c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marvin=20Krau=C3=9Fer?= Date: Thu, 7 May 2026 22:30:27 +0200 Subject: [PATCH 1/4] changed user-select of buttons --- styles/sidebar_style.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/styles/sidebar_style.css b/styles/sidebar_style.css index 5340803..d799309 100644 --- a/styles/sidebar_style.css +++ b/styles/sidebar_style.css @@ -63,6 +63,9 @@ } .navbar-item { + -webkit-user-select: none; + -ms-user-select: none; + user-select: none; position: relative; font-weight: normal; margin: 5px 0px 5px 0px; @@ -119,6 +122,9 @@ border-bottom: 1px solid var(--border); padding-bottom: 20px; gap: 20px; + -webkit-user-select: none; + -ms-user-select: none; + user-select: none; } /* Color Switch */ From 2b337a848a6c02a057a573941a32428e68ef8c62 Mon Sep 17 00:00:00 2001 From: marvinkrausser Date: Fri, 8 May 2026 10:00:52 +0200 Subject: [PATCH 2/4] fixed mobile bar close event --- scripts/main_page.js | 5 +++-- styles/mobile_bar_style.css | 3 +++ styles/sidebar_style.css | 6 ++++++ 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/scripts/main_page.js b/scripts/main_page.js index 77397c7..39b0c85 100644 --- a/scripts/main_page.js +++ b/scripts/main_page.js @@ -66,11 +66,12 @@ async function loadData() { const sidebar_top = document.getElementById("sidebar-top-content"); const navbar_mobile = document.getElementById("navbar-mobile"); - const button_mobile2 = document.getElementById("button_mobile"); + const button_mobile2 = document.getElementById("button-mobile"); document.addEventListener("click", (e) => { - if (!e.target.closest("navbar-mobile") && button_mobile2.classList.contains("inactive")) { + if (!e.target.closest("#navbar-mobile") && !e.target.closest("#button-mobile") && !navbar_mobile.classList.contains("inactive")) { navbar_mobile.classList.add("inactive"); + button_mobile2.classList.remove("inactive"); } }); diff --git a/styles/mobile_bar_style.css b/styles/mobile_bar_style.css index e890b04..137b30a 100644 --- a/styles/mobile_bar_style.css +++ b/styles/mobile_bar_style.css @@ -12,6 +12,9 @@ gap: 10px; background: var(--bg); transition: left 0.3s; + -webkit-user-select: none; + -ms-user-select: none; + user-select: none; } #navbar-mobile.inactive { diff --git a/styles/sidebar_style.css b/styles/sidebar_style.css index 7533646..f3ad919 100644 --- a/styles/sidebar_style.css +++ b/styles/sidebar_style.css @@ -72,6 +72,9 @@ position: relative; font-weight: normal; margin: 5px 0px 5px 0px; + -webkit-user-select: none; + -ms-user-select: none; + user-select: none; } .nav-link { @@ -194,6 +197,9 @@ input:checked+.slider:before { align-items: center; border: none; background: none; + -webkit-user-select: none; + -ms-user-select: none; + user-select: none; } .lang-dropdown.show-border { From 7c3a4b94629056af5b20166db020776467fc1474 Mon Sep 17 00:00:00 2001 From: marvinkrausser Date: Fri, 8 May 2026 10:02:00 +0200 Subject: [PATCH 3/4] remove double css --- styles/sidebar_style.css | 3 --- 1 file changed, 3 deletions(-) diff --git a/styles/sidebar_style.css b/styles/sidebar_style.css index f9cfc0e..cec6aec 100644 --- a/styles/sidebar_style.css +++ b/styles/sidebar_style.css @@ -75,9 +75,6 @@ position: relative; font-weight: normal; margin: 5px 0px 5px 0px; - -webkit-user-select: none; - -ms-user-select: none; - user-select: none; } .nav-link { From 42b4b12c3c410c9f7ae1bb9721b305f786481533 Mon Sep 17 00:00:00 2001 From: marvinkrausser Date: Fri, 8 May 2026 12:02:21 +0200 Subject: [PATCH 4/4] added compose network --- compose.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/compose.yaml b/compose.yaml index 0c72d06..5602b13 100644 --- a/compose.yaml +++ b/compose.yaml @@ -5,4 +5,8 @@ services: image: portfolio_website expose: - "8081" - restart: unless-stopped \ No newline at end of file + restart: unless-stopped + +networks: + backend: + name: portfolio \ No newline at end of file