diff --git a/quartz/styles/base.scss b/quartz/styles/base.scss index 59f9a9c04..604ff8f56 100644 --- a/quartz/styles/base.scss +++ b/quartz/styles/base.scss @@ -309,6 +309,48 @@ a { } } +// ============================================================================ +// Page Frame Overrides +// ============================================================================ + +// Full-width frame: no sidebars, center content spans full width +.page[data-frame="full-width"] > #quartz-body { + grid-template-columns: auto; + grid-template-rows: auto auto auto; + grid-template-areas: + "grid-header" + "grid-center" + "grid-footer"; + + @media all and ($tablet) { + grid-template-columns: auto; + } + + & .center.full-width { + max-width: 100%; + min-width: 100%; + } +} + +// Minimal frame: no sidebars, no header/footer chrome, body content only + footer +.page[data-frame="minimal"] > #quartz-body { + grid-template-columns: auto; + grid-template-rows: auto auto; + grid-template-areas: + "grid-center" + "grid-footer"; + + @media all and ($tablet) { + grid-template-columns: auto; + } + + & .center.minimal { + max-width: 100%; + min-width: 100%; + margin: 0; + } +} + .footnotes { margin-top: 2rem; border-top: 1px solid var(--lightgray);