Skip to content

Commit

Permalink
Rename grid variables
Browse files Browse the repository at this point in the history
  • Loading branch information
saberzero1 committed Aug 18, 2024
1 parent f4fc81b commit 037fe87
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
4 changes: 2 additions & 2 deletions quartz/styles/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -240,11 +240,11 @@ a {
}

& .center > article {
grid-area: body;
grid-area: page-center;
}

& .page-footer {
grid-area: footer;
grid-area: page-footer;
}

& .center,
Expand Down
15 changes: 7 additions & 8 deletions quartz/styles/variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ $mobileGrid: (
templateAreas:
'"sidebar-left"\
"page-header"\
"body"\
"page-center"\
"sidebar-right"\
"footer"',
"page-footer"',
);
$tabletGrid: (
templateRows: "auto auto auto auto",
Expand All @@ -40,18 +40,17 @@ $tabletGrid: (
columnGap: "5px",
templateAreas:
'"sidebar-left page-header"\
"sidebar-left body"\
"sidebar-left page-center"\
"sidebar-left sidebar-right"\
"sidebar-left footer"',
"sidebar-left page-footer"',
);
$desktopGrid: (
templateRows: "auto auto auto auto",
templateRows: "auto auto auto",
templateColumns: "#{$sidePanelWidth} auto #{$sidePanelWidth}",
rowGap: "5px",
columnGap: "5px",
templateAreas:
'"sidebar-left page-header sidebar-right"\
"sidebar-left body sidebar-right"\
"sidebar-left body sidebar-right"\
"sidebar-left footer sidebar-right"',
"sidebar-left page-center sidebar-right"\
"sidebar-left page-footer sidebar-right"',
);

0 comments on commit 037fe87

Please sign in to comment.