Обновлены стили

This commit is contained in:
MultiMote 2023-01-07 20:13:13 +03:00
parent 722cea5036
commit 0c78c130ce
2 changed files with 33 additions and 6 deletions

View File

@ -41,17 +41,44 @@ nav.navbar {
} }
.post.single { .post.single {
& { & {
background-color: $post-bg-color; background-color: $post-bg-color;
padding: 24px; padding: 24px;
margin-bottom: 16px; 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 { .image-wrapper {
& { & {
display: inline-block; display: inline-block;
text-align: center; text-align: center;
margin: 0; margin: 0;
margin-bottom: 1em;
padding: 16px; padding: 16px;
background-color: $image-wrapper-bg-color; background-color: $image-wrapper-bg-color;
border: 1px solid $image-wrapper-border-color; border: 1px solid $image-wrapper-border-color;

View File

@ -14,7 +14,7 @@
<div class="page-wrapper"> <div class="page-wrapper">
<div class="content-column"> <div class="content-column">
<section class="single post"> <section class="single post">
<h1>{{ .Title }}</h1> <h1 class="page-title">{{ .Title }}</h1>
{{- .Content -}} {{- .Content -}}
</section> </section>