Skip to content

Refinements fixes#47

Merged
alanderex merged 6 commits into
mainfrom
refinements_fixes
May 26, 2026
Merged

Refinements fixes#47
alanderex merged 6 commits into
mainfrom
refinements_fixes

Conversation

@alanderex
Copy link
Copy Markdown
Collaborator

No description provided.

alanderex and others added 6 commits May 26, 2026 05:23
- Add global margin-bottom and contextual margin-top to h2-h6 so
  headings breathe and content lands on the same vertical rhythm
  (no type-size changes).
- Collapse the gap when a heading directly follows another heading
  (e.g. blog post title + date) so paired headings still read as a
  pair.
- Drop redundant per-section h2/h3 margin overrides — the global
  heading rules cover them; .conf-block h3 keeps only its size.
- Wrap markdown bodies in .post-body / .event-body and give them a
  top margin so they sit on the same beat as the meta block above.
- Stop wrapping {{ post.body }} / {{ event.body }} in <p>: the
  markdown filter already returns block HTML (h3, p, ul, ...), so
  the wrapping <p> was producing invalid nested markup that browsers
  auto-closed into stray empty paragraphs above every heading.
Blog post / event / page bodies still rendered headings flush against
their following content. Adds a small consistent margin-bottom under
h2-h6 *inside .content only*, so nav/hero/cards are untouched and
existing per-section overrides (.conf-block h3, .ecosystem-section > h2,
…) keep winning by specificity.

Also collapses the gap when two headings sit directly together (e.g.
blog post <h2>title</h2><h3>date</h3>) so paired metadata still reads
as a pair.
@alanderex alanderex merged commit fa435b1 into main May 26, 2026
1 check passed
@alanderex alanderex deleted the refinements_fixes branch May 26, 2026 08:08
alanderex added a commit that referenced this pull request May 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant