diff --git a/themes/chosto/layouts/partials/header.html b/themes/chosto/layouts/partials/header.html index 49706e4..ea6023f 100644 --- a/themes/chosto/layouts/partials/header.html +++ b/themes/chosto/layouts/partials/header.html @@ -5,7 +5,8 @@ {{ $page := eq "page" .Kind }} {{ $home := eq "home" .Kind }}
-
+
@@ -29,10 +30,12 @@
-

{{ .Title }}

- {{ with .Params.subtitle }} -

{{ . }}

- {{ end }} +
+

{{ .Title }}

+ {{ with .Params.subtitle }} +

{{ . }}

+ {{ end }} +
{{ if (and .IsPage (eq .FirstSection.Section "posts"))}} diff --git a/themes/chosto/static/css/custom.css b/themes/chosto/static/css/custom.css index d299275..0a6003e 100644 --- a/themes/chosto/static/css/custom.css +++ b/themes/chosto/static/css/custom.css @@ -36,6 +36,11 @@ p:not(.title, .subtitle, figcaption p) { text-align: justify; } +/* Used only in page header, add transparency */ +.box { + background: rgba(0, 0, 0, 0.3); +} + /* New font is "smaller" in feeling */ .navbar-dropdown { font-size: 1rem;