diff options
author | Alan Pearce | 2024-05-28 16:42:08 +0200 |
---|---|---|
committer | Alan Pearce | 2024-05-28 16:42:08 +0200 |
commit | a2e6dd0ec7990b24f11e971462f9cdf1f5dc9fef (patch) | |
tree | 293c983c5b0642b475e6c184816f5cd344ae2a87 /templates | |
parent | 287cfec3d2479415bf3b7069702dbdb8c87b1826 (diff) | |
download | website-a2e6dd0ec7990b24f11e971462f9cdf1f5dc9fef.tar.lz website-a2e6dd0ec7990b24f11e971462f9cdf1f5dc9fef.tar.zst website-a2e6dd0ec7990b24f11e971462f9cdf1f5dc9fef.zip |
Add support for pandoc-style fences
:::{#foo .bar} text ::: becomes <div id="foo" class="bar"> text </text>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/style.css | 10 |
1 files changed, 8 insertions, 2 deletions
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; } |