Fix ─ Responsive UI

This commit is contained in:
nocode committed 2026-05-04 14:13:28 +02:00
1 parent 443a430195
commit c5a9f000dc
8 files changed
+762 -497

No files matched your search

+43 -3
View File
@@ -7,7 +7,6 @@
justify-self: center;
justify-content: center;
margin-top: 5rem;
}
.grid-item {
@@ -16,12 +15,53 @@
border-radius: .4rem;
}
body #div-content {
height: 42rem;
position: relative;
background-color: #1B4056;
z-index: 2;
padding-bottom: 10rem;
}
}
@media screen and (max-width: 1024px) {
.grid {
grid-template-columns: repeat(2, 20rem);
grid-template-rows: repeat(3, 18rem);
gap: 2.5rem;
}
body #div-content {
height: 64rem;
}
}
@media screen and (max-width: 768px) {
.grid {
position: relative;
grid-template-columns: minmax(0, 90%);
grid-template-rows: auto;
gap: 1.5rem;
margin-top: 2rem;
padding: 0 1rem;
}
.grid-item {
min-height: 8rem;
}
body #div-content {
height: auto;
min-height: 30rem;
padding-bottom: 5rem;
}
}
@media screen and (max-width: 480px) {
.grid {
gap: 1rem;
}
body #div-content {
padding-bottom: 4rem;
}
}