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

+31 -1
View File
@@ -18,16 +18,22 @@ body #div-content {
padding: 1rem;
border-radius: .40rem;
overflow: hidden;
box-shadow: 0.6rem 0.6rem 0rem #000000;
}
.grid-item:hover {
transform: scale(1.01);
}
.grid-item img {
box-shadow: 0.5rem 0.51rem 0rem #000000;
border-radius: 2rem;
max-width: 50%;
height: auto;
}
.grid-item img:hover {
box-shadow: 0.2rem 1rem 2rem #000000;
box-shadow: 0.5rem 0.51rem 0rem #000000;
transform: scale(1.01);
cursor: default;
}
@@ -68,6 +74,10 @@ body #div-content {
gap: 2rem;
}
.grid-item {
box-shadow: 0.4rem 0.4rem 0rem #000000;
}
.grid-item img,
.grid .one img,
.grid .two img,
@@ -80,6 +90,11 @@ body #div-content {
margin: 0 auto 1rem;
max-width: 100%;
width: 100%;
box-shadow: 0.35rem 0.35rem 0rem #000000;
}
.grid-item img:hover {
box-shadow: 0.35rem 0.35rem 0rem #000000;
}
.grid-item p {
@@ -103,6 +118,21 @@ body #div-content {
.grid-item {
padding: 0.6rem;
box-shadow: 0.25rem 0.25rem 0rem #000000;
}
.grid-item img,
.grid .one img,
.grid .two img,
.grid .three img,
.grid .four img,
.grid .five img,
.grid .six img {
box-shadow: 0.2rem 0.2rem 0rem #000000;
}
.grid-item img:hover {
box-shadow: 0.2rem 0.2rem 0rem #000000;
}
body #div-content {