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 { diff --git a/themes/cozy-hugo/layouts/_default/baseof.html b/themes/cozy-hugo/layouts/_default/baseof.html index 762be0a..305f27d 100644 --- a/themes/cozy-hugo/layouts/_default/baseof.html +++ b/themes/cozy-hugo/layouts/_default/baseof.html @@ -1,5 +1,5 @@ - + {{ partial "head.html" . }}