fix padding and alignment

This commit is contained in:
a 2022-10-17 18:59:53 -05:00
parent 5c8e27e7a3
commit cae0809e27

View file

@ -96,6 +96,7 @@
{ {
display: grid; display: grid;
grid-template-columns: minmax(0, 1fr) minmax(auto, 80ch) minmax(0, 1fr); grid-template-columns: minmax(0, 1fr) minmax(auto, 80ch) minmax(0, 1fr);
padding: 0;
> * { > * {
grid-column: 2; grid-column: 2;
} }
@ -105,27 +106,18 @@
} }
} }
.section-nav, /* also make the middle stuff line up */
.page-footer .container
{
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(auto, 80ch) minmax(0, 1fr);
> .container {
padding: 0;
grid-column: 2;
}
}
/* also make the page header line up */
.page-header, .page-header,
.list .list,
.section-nav,
.page-footer
{ {
display: grid; display: grid;
grid-template-columns: minmax(0, 1fr) minmax(auto, 80ch) minmax(0, 1fr); grid-template-columns: minmax(0, 1fr) minmax(auto, 80ch) minmax(0, 1fr);
> .container { > .container {
grid-column: 2;
padding: 0; padding: 0;
grid-column: 2;
} }
} }