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

+23 -1
View File
@@ -19,6 +19,12 @@ body #div-content {
.grid-item {
align-self: center;
box-shadow: 0.6rem 0.6rem 0rem #000000;
border-radius: 0.5rem;
}
.grid-item:hover {
transform: scale(1.01);
}
.grid-item img {
@@ -28,7 +34,7 @@ body #div-content {
}
.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;
}
@@ -83,6 +89,10 @@ body #div-content {
margin-top: 2rem;
}
.grid-item {
box-shadow: 0.4rem 0.4rem 0rem #000000;
}
.grid-item img {
float: none;
display: block;
@@ -90,6 +100,10 @@ body #div-content {
width: 100%;
}
.grid-item img:hover {
box-shadow: 0.35rem 0.35rem 0rem #000000;
}
.grid .one img,
.grid .two img,
.grid .three img {
@@ -116,6 +130,14 @@ body #div-content {
gap: 1.5rem;
}
.grid-item {
box-shadow: 0.25rem 0.25rem 0rem #000000;
}
.grid-item img:hover {
box-shadow: 0.2rem 0.2rem 0rem #000000;
}
.grid-item p {
font-size: 16px;
}