mirror of
https://github.com/trwnh/hugo-theme-paradox.git
synced 2024-12-25 23:58:47 +00:00
fix padding and alignment
This commit is contained in:
parent
5c8e27e7a3
commit
cae0809e27
1 changed files with 6 additions and 14 deletions
|
@ -96,6 +96,7 @@
|
|||
{
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) minmax(auto, 80ch) minmax(0, 1fr);
|
||||
padding: 0;
|
||||
> * {
|
||||
grid-column: 2;
|
||||
}
|
||||
|
@ -105,27 +106,18 @@
|
|||
}
|
||||
}
|
||||
|
||||
.section-nav,
|
||||
.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 */
|
||||
/* also make the middle stuff line up */
|
||||
|
||||
.page-header,
|
||||
.list
|
||||
.list,
|
||||
.section-nav,
|
||||
.page-footer
|
||||
{
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) minmax(auto, 80ch) minmax(0, 1fr);
|
||||
> .container {
|
||||
grid-column: 2;
|
||||
padding: 0;
|
||||
grid-column: 2;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue