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

This commit is contained in:
MultiMote 2023-01-07 20:13:13 +03:00
parent 8fc4c8bcf7
commit f306a4b9e8
2 changed files with 33 additions and 6 deletions

View File

@ -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;

View File

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