From 5f2c49b75b18d650c33a720e01ddc18251da1f94 Mon Sep 17 00:00:00 2001 From: teldra Date: Wed, 22 Jun 2022 18:20:39 +0200 Subject: [PATCH] small fixes --- themes/buha/assets/scss/banner.scss | 15 +----- themes/buha/layouts/posts/single.html | 71 +++++++++++++-------------- 2 files changed, 36 insertions(+), 50 deletions(-) diff --git a/themes/buha/assets/scss/banner.scss b/themes/buha/assets/scss/banner.scss index f5b8ab8..f9f3bb6 100644 --- a/themes/buha/assets/scss/banner.scss +++ b/themes/buha/assets/scss/banner.scss @@ -31,18 +31,7 @@ $mq-retina: "(-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi)"; display: flex; flex-direction: column; justify-content: flex-end; - .title_index { - word-break: break-all; - color: var(--text-main); - background: var(--background-body-opaq); - text-align: center; - margin-bottom: 0; - text-shadow: 0px 4px 3px rgba(0,0,0,0.4), - 0px 8px 13px rgba(0,0,0,0.1), - 0px 18px 23px rgba(0,0,0,0.1); - - } - .title, { + .title { background: var(--background-body-opaq); word-break: break-all; color: var(--text-main); @@ -55,7 +44,7 @@ $mq-retina: "(-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi)"; } } .altbg { - max-height: 5em; + max-height: 6em; } @media #{$mq-tiny} { diff --git a/themes/buha/layouts/posts/single.html b/themes/buha/layouts/posts/single.html index a71150f..2fe9343 100644 --- a/themes/buha/layouts/posts/single.html +++ b/themes/buha/layouts/posts/single.html @@ -47,7 +47,6 @@ {{ end }} {{ $content := .Content }} - {{ if or .Content (.Resources.ByType "image")}}
{{- if .Content -}} @@ -109,48 +108,46 @@ {{ end }} {{ define "inner_footer" }} - {{ if and (eq .Kind "page") (or (eq .Section "news") (eq .Section "events") (eq .Section "about")) }} -