responsiveness update

This commit is contained in:
guamss 2026-09-02 15:21:12 +02:00
parent fd18e2ae41
commit ae906317c2
3 changed files with 75 additions and 0 deletions

View File

@ -81,3 +81,19 @@ body {
flex-direction: column; flex-direction: column;
} }
} }
@media screen and (max-width: 1200px) {
body {
> main {
width: 80vw;
}
}
}
@media screen and (max-width: 610px) {
body {
> main {
width: 90vw;
}
}
}

View File

@ -144,3 +144,56 @@ header {
transform: translateX(-100%); transform: translateX(-100%);
} }
} }
@media screen and (max-width: 1600px) {
header {
> nav {
flex-direction: column;
justify-content: space-between;
align-items: stretch;
gap: 2rem;
}
}
}
@media screen and (max-width: 770px) {
header {
> nav {
> ul {
gap: 0;
}
}
}
}
@media screen and (max-width: 470px) {
header {
> nav {
> ul {
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: stretch;
}
}
}
}
@media screen and (max-width: 610px) {
header {
> nav {
> ul {
border-radius: 16px;
> section {
> input[type="text"] {
border-radius: 8px;
}
display: flex;
flex-direction: column;
align-items: stretch;
padding: 0.5rem;
}
}
}
}
}

View File

@ -26,3 +26,9 @@ article {
font-style: italic; font-style: italic;
} }
} }
@media screen and (max-width: 600px) {
article {
width: 80%;
}
}