Minor cosmetic changes on titles and figures

master
Quentin Duchemin 2023-08-21 16:38:05 +02:00
parent 2c37e1e0e9
commit 50b5c9c20e
Signed by: Chosto
GPG Key ID: 96AB8AE7DFEA3D74
2 changed files with 7 additions and 3 deletions

View File

@ -12,7 +12,7 @@
<div class="level-left">
{{ with .Params.imgLicence }}
<p class="level-item subtitle is-size-5-desktop is-size-7-mobile">
Image d'illustration {{ . }}
Image d'illustration {{ . | markdownify }}
</p>
{{ end }}
</div>
@ -31,9 +31,9 @@
</div>
<div class="hero-body {{ if not $background }}pb-0{{ end }} container has-text-centered">
<div {{ if $page }}class="box"{{ end }}>
<p class="title is-size-1-desktop is-size-3-mobile {{ if $page }}is-uppercase{{ end }}">{{ .Title }}</p>
<p class="title is-size-1-desktop is-size-3-mobile">{{ .Title }}</p>
{{ with .Params.subtitle }}
<p class="mt-5 subtitle is-size-2-desktop is-size-5-mobile">{{ . }}</p>
<p class="mt-5 subtitle is-size-2-desktop is-size-5-mobile has-text-weight-semibold">{{ . | markdownify }}</p>
{{ end }}
</div>
</div>

View File

@ -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;
}