From f08dd406cc63f912032bdf914e893acc751324ed Mon Sep 17 00:00:00 2001 From: Daniel Tomlinson Date: Mon, 15 Jun 2020 01:34:38 +0100 Subject: [PATCH] Adding series admonition --- i18n/en.yaml | 2 ++ layouts/shortcodes/notice.html | 11 +++++++++++ 2 files changed, 13 insertions(+) diff --git a/i18n/en.yaml b/i18n/en.yaml index cdfd8ac..0fb19b5 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -6,3 +6,5 @@ translation: "Info" - id: tip translation: "Tip" +- id: series + translation: "Series" diff --git a/layouts/shortcodes/notice.html b/layouts/shortcodes/notice.html index fc6869d..75092f2 100644 --- a/layouts/shortcodes/notice.html +++ b/layouts/shortcodes/notice.html @@ -60,6 +60,14 @@ background: #e6f9e6 } + .notice.series .notice-title { + background: rgb(96.1%, 89.4%, 45.1%) + } + + .notice.series { + background: #FFFFE7 + } + .icon-notice { display: inline-flex; align-self: center; @@ -92,6 +100,9 @@ + + + {{- end -}} {{- $.Page.Scratch.Add "noticecount" 1 -}}