Merge branch 'test'

This commit is contained in:
2026-05-08 01:43:02 +02:00
5 changed files with 178 additions and 66 deletions
+71 -1
View File
@@ -13,12 +13,82 @@
background: var(--bg);
}
#navbar-mobile.inactive {
display: none;
}
@media (min-width: 1001px) {
#navbar-mobile {
display: none;
}
}
#navbar-mobile-links {
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: center;
gap: 10px;
}
.button-mobile {
position: relative;
width: 40px;
height: 40px;
background: var(--surface);
border: none;
margin-top: 20px;
cursor: pointer;
border: 1px solid var(--border);
}
.button-mobile::before {
content: "";
position: absolute;
left: 50%;
top: 30%;
background: var(--muted);
height: 2px;
width: 60%;
transform: translateX(-50%);
}
.button-mobile::after {
content: "";
position: absolute;
left: 50%;
top: 65%;
background: var(--muted);
height: 2px;
width: 60%;
transform: translateX(-50%);
}
.button-mobile:hover::after {
background: var(--text);
}
.button-mobile:hover::before {
background: var(--text);
}
.button-mobile:hover {
width: 40px;
height: 40px;
background: var(--bg2);
}
#button-mobile {
position: fixed;
top: 5px;
left: 5px;
margin-top: 0;
}
#button-mobile.inactive {
display: none;
}
.navbar-item-mobile {
width: 100%;
height: 80px;
@@ -26,7 +96,6 @@
display: flex;
align-items: center;
justify-content: center;
padding: 10px;
}
.navbar-item-mobile:hover {
@@ -41,4 +110,5 @@
display: flex;
justify-content: center;
align-items: center;
padding: 10px;
}
+4 -2
View File
@@ -1,17 +1,19 @@
.main-content {
margin-left: var(--nav-w);
--margin-main-content: 100px;
--margin-top: 100px;
}
@media (max-width: 1000px) {
.main-content {
margin-left: var(--nav-mobile-w);
margin-left: 0;
--margin-main-content: 10px;
--margin-top: 30px;
}
}
#introduction {
padding-top: 100px;
padding-top: var(--margin-top);
margin-left: var(--margin-main-content);
margin-bottom: 60px;
margin-right: var(--margin-main-content);
+2 -2
View File
@@ -232,7 +232,7 @@ input:checked+.slider:before {
color: var(--text);
}
#lang-button {
.lang-button {
width: 40px;
height: 30px;
appearance: none;
@@ -249,7 +249,7 @@ input:checked+.slider:before {
font-size: 14px;
}
#lang-button:hover {
.lang-button:hover {
border-color: var(--text);
color: var(--text);
}