From 95bb7f327b26b2e16cf9534fed417f496ad87d5e Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Fri, 16 Apr 2021 15:23:37 +0300 Subject: Add tibdit shortcode --- site/static/site.css | 11 +++++++++++ site/templates/shortcodes/tidbit.html | 5 +++++ 2 files changed, 16 insertions(+) create mode 100644 site/static/site.css create mode 100644 site/templates/shortcodes/tidbit.html diff --git a/site/static/site.css b/site/static/site.css new file mode 100644 index 0000000..f296cc4 --- /dev/null +++ b/site/static/site.css @@ -0,0 +1,11 @@ + +.content blockquote { + border-left: #689d6a 8px solid; + +} +.content blockquote.tidbit { + border-left: #928f74 8px solid; + font-size: 12px; + color: #282828; +} + diff --git a/site/templates/shortcodes/tidbit.html b/site/templates/shortcodes/tidbit.html new file mode 100644 index 0000000..7023578 --- /dev/null +++ b/site/templates/shortcodes/tidbit.html @@ -0,0 +1,5 @@ +
+

+ {{ body }} +

+
-- cgit v1.2.3-70-g09d2