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

+58 -4
View File
@@ -4,7 +4,6 @@ body #div-content {
background-color: #1B4056;
z-index: 2;
padding-bottom: 7rem;
}
.grid {
@@ -16,6 +15,7 @@ body #div-content {
justify-content: center;
margin-top: 5rem;
}
.grid-item {
height: 96rem;
align-self: center;
@@ -23,13 +23,14 @@ body #div-content {
.grid-item img {
border-radius: 2rem;
max-width: 100%;
height: auto;
}
.grid-item img:hover {
box-shadow: 0.2rem 1rem 2rem #000000;
transform: scale(1.01);
cursor: default;
}
.grid .one ,.three,.five {
@@ -42,7 +43,6 @@ body #div-content {
background-color: #235573;
padding: 1rem;
border-radius: .40rem;
}
.grid, .one img {
@@ -55,4 +55,58 @@ body #div-content {
.grid-item p {
font-size: 20px;
}
}
@media screen and (max-width: 1280px) {
.grid {
grid-template-columns: 90%;
}
}
@media screen and (max-width: 1024px) {
.grid {
position: relative;
grid-template-columns: 90%;
gap: 2rem;
margin-top: 2rem;
}
.grid-item {
height: auto;
}
.grid-item img {
float: none;
display: block;
margin: 0 auto 1rem;
width: 100%;
}
.grid .one img {
float: none;
}
.right-text {
margin-left: 0;
}
.grid-item p {
font-size: 18px;
}
body #div-content {
height: auto;
min-height: 30rem;
padding-bottom: 5rem;
}
}
@media screen and (max-width: 480px) {
.grid {
gap: 1.5rem;
}
.grid-item p {
font-size: 16px;
}
}