fix: ichbinotto.de cards — 3 columns centered, max-width constrained
Cards were stretching full width with 4 columns (4+2 asymmetric). Now 3 columns (2x3 grid), centered with 640px max-width.
This commit is contained in:
@@ -122,9 +122,12 @@
|
||||
/* Tentacles = capabilities */
|
||||
.tentacles {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, 1fr);
|
||||
gap: 12px;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
gap: 14px;
|
||||
margin-top: 56px;
|
||||
max-width: 640px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.tentacle {
|
||||
@@ -271,7 +274,7 @@
|
||||
footer .otto { color: var(--octopus); }
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.tentacles { grid-template-columns: repeat(2, 1fr); }
|
||||
.tentacles { grid-template-columns: repeat(2, 1fr); max-width: 100%; }
|
||||
.stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
|
||||
section { padding: 64px 0; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user