intro-row: cap subtitle at 720px; push stats to the right edge with space-between
Browse files- static/index.html +6 -3
static/index.html
CHANGED
|
@@ -55,16 +55,19 @@
|
|
| 55 |
color: var(--muted);
|
| 56 |
}
|
| 57 |
|
| 58 |
-
/* Subtitle on the left
|
|
|
|
|
|
|
| 59 |
.intro-row {
|
| 60 |
display: grid;
|
| 61 |
-
grid-template-columns: minmax(0,
|
|
|
|
| 62 |
gap: 28px;
|
| 63 |
align-items: start;
|
| 64 |
margin-top: 10px;
|
| 65 |
}
|
| 66 |
@media (max-width: 980px) {
|
| 67 |
-
.intro-row { grid-template-columns: 1fr; }
|
| 68 |
}
|
| 69 |
.subtitle a {
|
| 70 |
color: var(--accent);
|
|
|
|
| 55 |
color: var(--muted);
|
| 56 |
}
|
| 57 |
|
| 58 |
+
/* Subtitle on the left (capped at a readable width), 2x2 stats anchored
|
| 59 |
+
to the right edge. On wide screens this leaves a gutter of whitespace
|
| 60 |
+
between the two; on narrow screens the row collapses below 980px. */
|
| 61 |
.intro-row {
|
| 62 |
display: grid;
|
| 63 |
+
grid-template-columns: minmax(0, 720px) auto;
|
| 64 |
+
justify-content: space-between;
|
| 65 |
gap: 28px;
|
| 66 |
align-items: start;
|
| 67 |
margin-top: 10px;
|
| 68 |
}
|
| 69 |
@media (max-width: 980px) {
|
| 70 |
+
.intro-row { grid-template-columns: 1fr; justify-content: stretch; }
|
| 71 |
}
|
| 72 |
.subtitle a {
|
| 73 |
color: var(--accent);
|