diff --git a/layouts/partials/front.html b/layouts/partials/front.html index 9103a6d..fa6ea52 100644 --- a/layouts/partials/front.html +++ b/layouts/partials/front.html @@ -1,5 +1,6 @@ -
+
+ {{ if $.Params.background }} + {{ end }}
{{ .Content }}
diff --git a/static/css/base.css b/static/css/base.css index 4f42107..c4df17d 100644 --- a/static/css/base.css +++ b/static/css/base.css @@ -11,7 +11,7 @@ --footer-height-inline: 4em; --footer-height-block: 8em; - + --navbar-height: 8vh; } @@ -234,10 +234,16 @@ body { margin: auto; max-width: var(--max-width-full); } +.front-screen_image { + opacity: 0.5; + width: 100%; +} .front-screen_caption { position: absolute; top: 50%; - transform: translateY(-50%); + left: 50%; + transform: translateY(-50%) translateX(-50%); + text-align: center; } .front-screen_caption h1 { font-weight: normal;