Add ─ Box-shadow effects with responsive sizes on grid-items in cubes, cubes-seven, squares and squares-solar | Add ─ Hover scale transform on grid-items | Edit ─ Refactor squares-lore.css with simplified grid layout and floated images | Edit ─ Replace cubes.css link with cubes-seven.css in v-one.html | Edit ─ Remove unnecessary margins and paddings on responsive breakpoints | Add ─ background-author.jpg image

This commit is contained in:
nocode committed 2026-05-07 16:19:33 +02:00
1 parent 7ebde16426
commit 8126745004
8 files changed
+133 -49

No files matched your search

+16 -2
View File
@@ -13,8 +13,12 @@
background-color: #235573;
padding: 1rem;
border-radius: .4rem;
box-shadow: 1rem 1rem 0rem #000000;
}
.grid-item:hover {
transform: scale(1.01);
}
#div-content {
height: 40rem;
@@ -42,6 +46,10 @@
grid-template-rows: repeat(4, 18rem);
}
.grid-item {
box-shadow: 0.6rem 0.6rem 0rem #000000;
}
#div-content {
height: 84rem;
}
@@ -53,12 +61,13 @@
grid-template-columns: minmax(0, 90%);
grid-template-rows: auto;
gap: 1.5rem;
margin-top: 2rem;
margin-top: 0rem;
padding: 0 1rem;
}
.grid-item {
min-height: 8rem;
box-shadow: 0.45rem 0.45rem 0rem #000000;
}
#div-content {
@@ -70,10 +79,15 @@
@media screen and (max-width: 480px) {
.grid {
margin-top: 0rem;
gap: 1rem;
}
.grid-item {
box-shadow: 0.3rem 0.3rem 0rem #000000;
}
#div-content {
padding-bottom: 4rem;
padding-bottom: 0rem;
}
}