style: tighten the chapter title stack to about 180 px at 1440
This commit is contained in:
@@ -35,9 +35,11 @@
|
|||||||
.reading-stage :is(.portfolio-section, .project-stage__lead) > h2 {
|
.reading-stage :is(.portfolio-section, .project-stage__lead) > h2 {
|
||||||
inline-size: fit-content;
|
inline-size: fit-content;
|
||||||
max-inline-size: 100%;
|
max-inline-size: 100%;
|
||||||
margin-block: 0 clamp(26px, 4vh, 44px);
|
/* Round 5: a tighter title stack (tag, title, rule) of about 180 px at
|
||||||
|
1440, so the chapter body starts higher under the beam. */
|
||||||
|
margin-block: 0 clamp(18px, 2.6vh, 30px);
|
||||||
color: var(--text);
|
color: var(--text);
|
||||||
font-size: clamp(54px, 7.2vw, 124px);
|
font-size: clamp(50px, 5.6vw, 100px);
|
||||||
font-weight: 620;
|
font-weight: 620;
|
||||||
line-height: 0.94;
|
line-height: 0.94;
|
||||||
letter-spacing: -0.058em;
|
letter-spacing: -0.058em;
|
||||||
|
|||||||
Reference in New Issue
Block a user