Refinements fixes#47
Merged
Merged
Conversation
- 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.