From 565cfbe03dc53de0c6dc1cace4f4e1f86d646e2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Sat, 17 Jul 2021 11:57:55 +0200 Subject: [PATCH] notice: align styles with attachments #28 --- layouts/shortcodes/notice.html | 8 +++++--- static/css/theme.css | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/layouts/shortcodes/notice.html b/layouts/shortcodes/notice.html index b705613cf6..10e3ee0e4a 100644 --- a/layouts/shortcodes/notice.html +++ b/layouts/shortcodes/notice.html @@ -1,5 +1,7 @@ {{ $_hugo_config := `{ "version": 1 }` }} -
-
{{ .Get 0 | T }}
- {{ .Inner }} +{{ $style := .Get 0 }} +{{ $title := $style | T }} +
+
{{ $title }}
+ {{ .Inner }}
diff --git a/static/css/theme.css b/static/css/theme.css index c759e2d76e..309afb24ff 100644 --- a/static/css/theme.css +++ b/static/css/theme.css @@ -489,7 +489,7 @@ div.notices > * { } div.notices > div.label { color: #fff; - font-weight: bold; + font-weight: normal; margin-bottom: 1rem; margin-top: -1.75rem; }