Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions buzz/public/themes/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,28 @@ body {
list-style: decimal;
}

/* Kept under the 20px section title so a description never outranks its own heading. */
.prose :is(h1, h2, h3, h4, h5, h6) {
margin: 0;
color: var(--ink);
font-size: var(--text-lg);
font-weight: var(--font-weight-semibold);
line-height: 1.3;
}

.prose :is(h1, h2) {
font-size: var(--text-2xl);
}

.prose > * + :is(h1, h2, h3, h4, h5, h6) {
margin-top: 24px;
}

/* Editors wrap heading text in <strong>; `bolder` would push it past semibold. */
.prose :is(h1, h2, h3, h4, h5, h6) strong {
font-weight: inherit;
}

/* Tabs */

.tabs {
Expand Down
Loading