From 35cafba62ce7ce550aab08a2e1081af218f35b05 Mon Sep 17 00:00:00 2001 From: vrifox Date: Sat, 29 Jul 2023 20:59:27 +0200 Subject: [PATCH] add more flex and margin --- themes/cozy-hugo/assets/css/main.scss | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/themes/cozy-hugo/assets/css/main.scss b/themes/cozy-hugo/assets/css/main.scss index da58f5b..73ba2a9 100644 --- a/themes/cozy-hugo/assets/css/main.scss +++ b/themes/cozy-hugo/assets/css/main.scss @@ -29,10 +29,13 @@ html { body { background-color: var(--background); color: var(--text); + display: flex; font-family: 'Lucida Console', 'Courier New', monospace; + flex-direction: column; hyphens: auto; line-height: 1.8; margin: 0; + align-items: center; } a { color: var(--text); @@ -58,6 +61,7 @@ header { overflow: hidden; position: relative; text-align: center; + width: 100%; h1 { font-size: 3.6em; line-height: .9em; @@ -121,8 +125,8 @@ header { } .width-1200 { - margin: 0 auto; max-width: 1200px; + width: calc(100% - 4rem); } main {