responsive
All checks were successful
/ build-and-deploy (push) Successful in 27s

This commit is contained in:
Steb 2026-05-08 17:04:19 +02:00
parent c32dcb3bb6
commit 82a1bb3a97
11 changed files with 128 additions and 8 deletions

View file

@ -40,6 +40,13 @@
margin-right: 15px;
}
@media (max-width: 1000px) {
#menu li {
margin-left: 5px;
margin-right: 5px;
}
}
#spirit-fish {
top: -154px;
left: -174px;
@ -136,6 +143,8 @@
rotate: 90deg;
}
@media (min-width: 1000px) {
#menu {
background-position-y: -38px;
}
}

View file

@ -35,3 +35,9 @@ footer {
#footer-credits {
min-height: 50px;
}
@media (max-width: 1000px) {
#footer-credits {
font-size: 16px;
}
}

View file

@ -15,6 +15,12 @@
cursor: pointer;
}
@media (max-width: 1000px) {
.gallery-container>.page-container>img {
width: 40%;
}
}
.gallery-container>.page-container>.empty {
width: 20%;
min-width: 200px;

View file

@ -7,15 +7,33 @@
margin-bottom: 80px;
}
@media (max-width: 1000px) {
.ping-pong {
flex-direction: column;
}
}
.ping-pong:nth-child(2n) {
flex-flow: row-reverse;
text-align: right;
}
@media (max-width: 1000px) {
.ping-pong:nth-child(2n) {
flex-direction: column;
}
}
.ping-pong-image-container {
position: relative;
}
@media (max-width: 1000px) {
.ping-pong-image-container {
margin-bottom: 20px;
}
}
.ping-pong-image-container::after {
box-shadow: inset 0px 0px 0px 16px rgba(0, 0, 0, 0.3);
content: '';
@ -37,3 +55,12 @@
margin-right: 50px;
max-width: 50%;
}
@media (max-width: 1000px) {
.ping-pong>div {
margin-left: 0px;
margin-right: 0px;
max-width: 80%;
text-align: center;
}
}

View file

@ -60,24 +60,42 @@ h1 {
min-width: 200px;
}
:root {
--fs-xs: 10px;
--fs-s: 14px;
--fs-m: 20px;
--fs-l: 28px;
--fs-xl: 40px;
}
@media (max-width: 1000px) {
:root {
--fs-xs: 16px;
--fs-s: 24px;
--fs-m: 30px;
--fs-l: 40px;
--fs-xl: 50px;
}
}
.fs-xs {
font-size: 10px;
font-size: var(--fs-xs);
}
.fs-s {
font-size: 14px;
font-size: var(--fs-s);
}
.fs-m {
font-size: 20px;
font-size: var(--fs-m);
}
.fs-l {
font-size: 28px;
font-size: var(--fs-l);
}
.fs-xl {
font-size: 40px;
font-size: var(--fs-xl);
}
.lh-m {

View file

@ -33,3 +33,9 @@
{{- end }}
{{- end }}
{{- end }}
@media (max-width: 1000px) {
.large-button {
font-size: 50px;
}
}

View file

@ -30,6 +30,20 @@
pointer-events: auto;
}
@media (max-width: 1000px) {
#menu {
min-width: 100%;
justify-content: center;
background-size: 125%;
background-position: center bottom;
font-size: 28px;
}
#logo {
display: none;
}
}
#menu a {
color: {{ $fontColor | safeCSS }};
}

View file

@ -39,3 +39,9 @@
margin-top: {{ $containerMarginTop }}{{ $containerMarginUnit }};
margin-bottom: {{ $containerMarginBottom }}{{ $containerMarginUnit }};
}
@media (max-width: 1000px) {
#{{ $id }}-centered-container {
width: {{ add $centeredContainerWidth 20 }}%;
}
}

View file

@ -5,3 +5,9 @@
width: 60%;
min-width: 400px;
}
@media (max-width: 1000px) {
#{{ $id }}-centered-container > img {
width: 100%;
}
}

View file

@ -8,7 +8,23 @@
min-width: 400px;
}
@media (max-width: 1000px) {
#{{ $id }}-centered-container > img {
width: 100%;
}
}
#{{ $id }}-buttons {
display: flex;
flex-direction: row;
}
@media (max-width: 1000px) {
#{{ $id }}-buttons {
flex-direction: column;
}
#{{ $id }}-buttons > .large-button {
margin-top: 20px;
}
}

View file

@ -7,6 +7,12 @@
margin: 5%;
}
@media (max-width: 1000px) {
#{{ $id }}-centered-container {
width: 80% !important;
}
}
#{{ $id }} {
justify-content: end !important;
align-items: start !important;