From f306a4b9e82dbd53ebd501456af2fda7cf7f096e Mon Sep 17 00:00:00 2001 From: MultiMote Date: Sat, 7 Jan 2023 20:13:13 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D1=8B=20=D1=81=D1=82=D0=B8=D0=BB=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/mmotium/assets/css/style.scss | 37 ++++++++++++++++++--- themes/mmotium/layouts/_default/single.html | 2 +- 2 files changed, 33 insertions(+), 6 deletions(-) diff --git a/themes/mmotium/assets/css/style.scss b/themes/mmotium/assets/css/style.scss index ca549b0..91b8a59 100644 --- a/themes/mmotium/assets/css/style.scss +++ b/themes/mmotium/assets/css/style.scss @@ -41,17 +41,44 @@ nav.navbar { } .post.single { - & { - background-color: $post-bg-color; - padding: 24px; - margin-bottom: 16px; - } + & { + background-color: $post-bg-color; + padding: 24px; + margin-bottom: 16px; + } + + p { + margin-top: 0; + margin-bottom: 1em; + } + + h1, + h2, + h3, + h4, + h5, + h6 { + margin-top: 0.5em; + margin-bottom: 0.8em; + } + + h1, + h2 + { + padding-bottom: 0.3em; + border-bottom: 1px solid $table-border-color; + } + + h1.page-title { + margin-top: 0; + } .image-wrapper { & { display: inline-block; text-align: center; margin: 0; + margin-bottom: 1em; padding: 16px; background-color: $image-wrapper-bg-color; border: 1px solid $image-wrapper-border-color; diff --git a/themes/mmotium/layouts/_default/single.html b/themes/mmotium/layouts/_default/single.html index f848cbc..c284b5d 100644 --- a/themes/mmotium/layouts/_default/single.html +++ b/themes/mmotium/layouts/_default/single.html @@ -14,7 +14,7 @@
-

{{ .Title }}

+

{{ .Title }}

{{- .Content -}}