From c32201ab650b006610b36538c204194a6430ef46 Mon Sep 17 00:00:00 2001 From: Helmut Merz Date: Fri, 27 Oct 2023 09:42:32 +0200 Subject: [PATCH] add top border to embedded pages --- assets/sass/_cybercards.scss | 6 +++++- layouts/partials/embed.html | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/assets/sass/_cybercards.scss b/assets/sass/_cybercards.scss index d74c3ef..d5ed9dc 100644 --- a/assets/sass/_cybercards.scss +++ b/assets/sass/_cybercards.scss @@ -32,6 +32,10 @@ p:last-child, ul:last-child { font-weight: bold; } +.embed { + border-top: 1px solid $gray-300; +} + // shortcode quote .quote { @@ -43,4 +47,4 @@ p:last-child, ul:last-child { .quote-author { padding-top: 0.3rem; padding-bottom: 0.3rem; -} \ No newline at end of file +} diff --git a/layouts/partials/embed.html b/layouts/partials/embed.html index 0f21df3..99edfec 100644 --- a/layouts/partials/embed.html +++ b/layouts/partials/embed.html @@ -1,4 +1,4 @@ -
+

{{ .Title }}

{{ with .Content -}}
{{ . }}