From d89d92d3936683f4212186cef517c7930dd5b33a Mon Sep 17 00:00:00 2001 From: Ashelyn Rose Date: Mon, 8 May 2023 19:25:46 -0600 Subject: add markdown rendering, copy in old posts --- styles/layout.css | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'styles/layout.css') diff --git a/styles/layout.css b/styles/layout.css index 4a64adb..6c8578d 100644 --- a/styles/layout.css +++ b/styles/layout.css @@ -33,7 +33,7 @@ header { padding: var(--text-padding); padding-bottom: 0; box-sizing: border-box; - align-items: start; + align-items: flex-start; justify-items: flex-start; } @@ -125,12 +125,15 @@ header:not(.homepage) ~ h1.pageTitle { } main.mainColumn { + min-height: calc(var(--header-overlap) + var(--min-main-overhang)); +} + +.mainColumn { width: var(--main-width); box-sizing: border-box; padding: var(--text-padding); margin: 0 auto; background: var(--main-background); - min-height: calc(var(--header-overlap) + var(--min-main-overhang)); box-shadow: 0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12); } @@ -138,13 +141,17 @@ header.homepage ~ .mainColumn { min-height: calc(var(--header-overlap) + var(--min-main-overhang) - var(--header-bar-height)); } +.mainColumn ~ .mainColumn { + margin-top: calc(2 * var(--text-padding)); +} + main.mainColumn > p:first-child { margin-top: 0; } footer { flex: 1; - align-items: end; + align-items: flex-end; box-sizing: border-box; width: var(--main-width); margin: 0 auto; -- cgit 1.4.1