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 -}}