add top border to embedded pages

This commit is contained in:
Helmut Merz 2023-10-27 09:42:32 +02:00
parent d8db1dbddf
commit c32201ab65
2 changed files with 6 additions and 2 deletions

View file

@ -32,6 +32,10 @@ p:last-child, ul:last-child {
font-weight: bold; font-weight: bold;
} }
.embed {
border-top: 1px solid $gray-300;
}
// shortcode quote // shortcode quote
.quote { .quote {
@ -43,4 +47,4 @@ p:last-child, ul:last-child {
.quote-author { .quote-author {
padding-top: 0.3rem; padding-top: 0.3rem;
padding-bottom: 0.3rem; padding-bottom: 0.3rem;
} }

View file

@ -1,4 +1,4 @@
<div class="card-body"> <div class="embed card-body">
<h3 class="post-title" itemprop="name headline">{{ .Title }}</h3> <h3 class="post-title" itemprop="name headline">{{ .Title }}</h3>
{{ with .Content -}} {{ with .Content -}}
<div itemprop="articleBody">{{ . }}</div> <div itemprop="articleBody">{{ . }}</div>