From a2e6dd0ec7990b24f11e971462f9cdf1f5dc9fef Mon Sep 17 00:00:00 2001
From: Alan Pearce
Date: Tue, 28 May 2024 16:42:08 +0200
Subject: Add support for pandoc-style fences
:::{#foo .bar}
text
:::
becomes
text
---
templates/style.css | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
(limited to 'templates')
diff --git a/templates/style.css b/templates/style.css
index 8d21237..2db3a94 100644
--- a/templates/style.css
+++ b/templates/style.css
@@ -114,13 +114,18 @@ div.highlight code {
color: unset;
}
-blockquote {
+blockquote,
+.aside {
border-left: 1px solid #999;
color: #222;
padding-left: 20px;
font-style: italic;
}
+.aside {
+ font-style: unset;
+}
+
footer {
padding: 25px;
text-align: center;
@@ -179,7 +184,8 @@ ul.h-feed li a:visited {
color: #ddd;
}
- blockquote {
+ blockquote,
+ .aside {
color: #ccc;
}
--
cgit 1.4.1