From 50b5c9c20ebb253080b40b024ad34e3c8b3a41b1 Mon Sep 17 00:00:00 2001 From: Quentin Duchemin Date: Mon, 21 Aug 2023 16:38:05 +0200 Subject: [PATCH] Minor cosmetic changes on titles and figures --- themes/chosto/layouts/partials/header.html | 6 +++--- themes/chosto/static/css/custom.css | 4 ++++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/themes/chosto/layouts/partials/header.html b/themes/chosto/layouts/partials/header.html index ba97bd3..07f456a 100644 --- a/themes/chosto/layouts/partials/header.html +++ b/themes/chosto/layouts/partials/header.html @@ -12,7 +12,7 @@
{{ with .Params.imgLicence }}

- Image d'illustration {{ . }} + Image d'illustration {{ . | markdownify }}

{{ end }}
@@ -31,9 +31,9 @@
-

{{ .Title }}

+

{{ .Title }}

{{ with .Params.subtitle }} -

{{ . }}

+

{{ . | markdownify }}

{{ end }}
diff --git a/themes/chosto/static/css/custom.css b/themes/chosto/static/css/custom.css index 8305c0b..b28608a 100644 --- a/themes/chosto/static/css/custom.css +++ b/themes/chosto/static/css/custom.css @@ -76,4 +76,8 @@ CSS enough to fix it properly. See https://github.com/jgthms/bulma/issues/449 */ body { overflow-x: hidden; +} + +.content figure:not(:last-child) { + margin-bottom: 1em !important; } \ No newline at end of file