From 01ea8e8a8c263957deacaad420cf17c99f3cd272 Mon Sep 17 00:00:00 2001 From: Reorx Date: Thu, 12 May 2022 16:43:02 +0800 Subject: [PATCH] add standout shortcode --- assets/css/common/main.css | 8 ++++++++ layouts/shortcodes/standout.html | 3 +++ 2 files changed, 11 insertions(+) create mode 100644 layouts/shortcodes/standout.html diff --git a/assets/css/common/main.css b/assets/css/common/main.css index 7bccfca..d36ae65 100644 --- a/assets/css/common/main.css +++ b/assets/css/common/main.css @@ -195,3 +195,11 @@ figure > img { margin-inline-start: .5em; margin-inline-end: .5em; } + +/* shortcodes */ + +.standout { + font-size: 24px; + padding: .5em; + text-align: center; +} diff --git a/layouts/shortcodes/standout.html b/layouts/shortcodes/standout.html new file mode 100644 index 0000000..0c982ba --- /dev/null +++ b/layouts/shortcodes/standout.html @@ -0,0 +1,3 @@ +

+ {{ .Inner | markdownify }} +