Skip to content

Commit 1765f04

Browse files
committed
fix(docs-site): match hero width to the content column [roadmap:v0.10.7]
Implements rac/roadmaps/v0.10.x-guide/v0.10.7-docs-site.md. Sets the splash to the same 46rem column as the below-the-fold sections and drops its horizontal padding, so the hero and content share identical left/right edges. Also corrects the below-fold section-divider, blockquote, and table rules, which targeted a nested .md-typeset that does not exist and were silently no-ops.
1 parent 835454b commit 1765f04

1 file changed

Lines changed: 10 additions & 8 deletions

File tree

docs/stylesheets/extra.css

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,9 @@ body,
9898
display: flex;
9999
flex-direction: column;
100100
gap: 1.75rem;
101-
max-width: 58rem;
101+
max-width: 46rem;
102102
margin: 0 auto;
103-
padding: 3rem 1rem 2rem;
103+
padding: 2.5rem 0 2rem;
104104
text-align: left;
105105
}
106106

@@ -255,20 +255,22 @@ body,
255255
max-width: 46rem;
256256
margin: 1.5rem auto 0;
257257
}
258-
.lore-below > .md-typeset > h2:first-child {
259-
margin-top: 1rem;
260-
}
261258
/* Each H2 section reads as a panel divider in the lore chrome. */
262-
.lore-below .md-typeset h2 {
259+
.lore-below h2 {
263260
border-top: 1px dashed var(--lore-border-subtle);
264261
padding-top: 1.5rem;
265262
margin-top: 2rem;
266263
}
267-
.lore-below .md-typeset blockquote {
264+
.lore-below > h2:first-child {
265+
border-top: 0;
266+
padding-top: 0;
267+
margin-top: 0;
268+
}
269+
.lore-below blockquote {
268270
border-left: 2px solid var(--lore-accent);
269271
color: var(--lore-text-muted);
270272
}
271-
.lore-below .md-typeset table {
273+
.lore-below table {
272274
font-size: 0.8rem;
273275
}
274276

0 commit comments

Comments
 (0)