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:
Gabriel Fontes
2026-08-12 01:52:03 -03:00
parent ba0206d450
commit 7059ac0c09
+5 -2
View File
@@ -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;