mirror of
https://github.com/Misterio77/Foundry.git
synced 2026-08-24 10:04:09 -05:00
fix(projects/website): stabilize page title alignment
Keep every page article at the shared content width while constraining only non-listing prose sections to the narrower reading measure. Assisted-by: pi (gpt-5.6-sol)
This commit is contained in:
@@ -239,7 +239,7 @@ p {
|
||||
}
|
||||
|
||||
main > article {
|
||||
max-width: var(--document-width);
|
||||
max-width: var(--content-width);
|
||||
margin: 0 auto;
|
||||
|
||||
> header {
|
||||
@@ -308,6 +308,10 @@ main > article {
|
||||
}
|
||||
}
|
||||
|
||||
main > article:not(:has(> section > article)) > section {
|
||||
max-width: var(--document-width);
|
||||
}
|
||||
|
||||
// Site header
|
||||
body > header {
|
||||
display: flex;
|
||||
@@ -386,7 +390,6 @@ body > header nav {
|
||||
// Article listings
|
||||
main > article:has(> section > article) {
|
||||
position: relative;
|
||||
max-width: var(--content-width);
|
||||
|
||||
> header {
|
||||
padding-bottom: 2rem;
|
||||
|
||||
Reference in New Issue
Block a user