From abfc79fa0fb1f07d4a5fa803ec228efff44ce192 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Wed, 16 Feb 2022 23:32:40 +0100 Subject: [PATCH] docs: fix pirrrates notice box #175 --- exampleSite/layouts/shortcodes/piratify.html | 8 +++++--- static/css/theme.css | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/exampleSite/layouts/shortcodes/piratify.html b/exampleSite/layouts/shortcodes/piratify.html index 341c86f785..2b812e2fdd 100644 --- a/exampleSite/layouts/shortcodes/piratify.html +++ b/exampleSite/layouts/shortcodes/piratify.html @@ -101,9 +101,11 @@ {{- end }} {{- $style := "warning" }} {{- $title := "Arrr" }} -
-
{{ $title }}
-

Fello' pirrates, be awarrre some featurrres may not work fer us in this trrranslat'n. Like table of rrramblings and stuff.

+
+
{{ $title }}
+
+

Fello' pirrates, be awarrre some featurrres may not work fer us in this trrranslat'n. Like table of rrramblings and stuff.

+
{{ $c | safeHTML }} \ No newline at end of file diff --git a/static/css/theme.css b/static/css/theme.css index 5368b936cb..9393dbe605 100644 --- a/static/css/theme.css +++ b/static/css/theme.css @@ -446,7 +446,7 @@ th { max-width: 80%; } -#chapter #body-inner h3:first-child { +#chapter #body-inner h3:first-of-type { font-weight: 200; text-align: center; }