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

+53 -2
View File
@@ -12,8 +12,6 @@ body #div-content {
background-color: #1B4056;
z-index: 2;
padding-bottom: 7rem;
}
.grid {
@@ -33,6 +31,8 @@ body #div-content {
.grid-item img {
border: 0.25rem solid #1B4056;
border-radius: 2rem;
max-width: 100%;
height: auto;
}
.grid .one {
@@ -48,3 +48,54 @@ body #div-content {
.one img {
float: left;
}
@media screen and (max-width: 1280px) {
.grid {
grid-template-columns: 90%;
}
.right-text {
margin-left: 40%;
}
}
@media screen and (max-width: 1024px) {
.grid {
position: relative;
grid-template-columns: 90%;
grid-template-rows: auto;
gap: 2rem;
margin-top: 2rem;
}
.grid-item img {
float: none;
display: block;
margin: 0 auto 1rem;
width: 100%;
}
.one img {
float: none;
}
.right-text {
margin-left: 0;
}
body #div-content {
height: auto;
min-height: 30rem;
padding-bottom: 5rem;
}
}
@media screen and (max-width: 480px) {
.grid {
gap: 1.5rem;
}
.grid .one {
padding: 0.6rem;
}
}