Commit aafecee
committed
style(site): annotation headings in part-page file-blocks match TOC title scale
The h2/h3 inside .annotation-card / .annotation-md (the prose
column alongside each code chunk on part pages) was falling
through to the global h1/h2 rules (22px bold / 26px bold). A
meander annotation that happens to include an h2 like "Known
Limitation: instanceof checks…" rendered as a hero headline
inside what's supposed to be quiet margin prose.
Normalize h1-h4 inside both .annotation-card and .annotation-md
to 18px / 600 — same scale as .doc-body headings and
.wt-contents-title. Hierarchy comes from margin (16 / 24 / 20 /
16) alone; size stays flat so the rhythm matches the rest of
the site.1 parent b02a3c6 commit aafecee
1 file changed
Lines changed: 34 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1623 | 1623 | | |
1624 | 1624 | | |
1625 | 1625 | | |
1626 | | - | |
1627 | | - | |
| 1626 | + | |
| 1627 | + | |
| 1628 | + | |
| 1629 | + | |
| 1630 | + | |
| 1631 | + | |
| 1632 | + | |
| 1633 | + | |
| 1634 | + | |
| 1635 | + | |
| 1636 | + | |
| 1637 | + | |
1628 | 1638 | | |
1629 | | - | |
| 1639 | + | |
1630 | 1640 | | |
| 1641 | + | |
1631 | 1642 | | |
1632 | 1643 | | |
1633 | 1644 | | |
| 1645 | + | |
| 1646 | + | |
| 1647 | + | |
| 1648 | + | |
| 1649 | + | |
| 1650 | + | |
| 1651 | + | |
| 1652 | + | |
| 1653 | + | |
| 1654 | + | |
| 1655 | + | |
| 1656 | + | |
| 1657 | + | |
| 1658 | + | |
| 1659 | + | |
| 1660 | + | |
| 1661 | + | |
| 1662 | + | |
| 1663 | + | |
| 1664 | + | |
1634 | 1665 | | |
1635 | 1666 | | |
1636 | 1667 | | |
| |||
0 commit comments