Skip to content
Snippets Groups Projects
Unverified Commit 4362336a authored by Alexis BENOIT's avatar Alexis BENOIT Committed by GitHub
Browse files

Correction de la sémantique html des chiffres clés (#517)

parent 4ea264ae
No related branches found
No related tags found
No related merge requests found
......@@ -13,10 +13,12 @@
.top:not(.hidden) + ul
margin-top: $spacing-4
align-items: baseline
dl
li > p
margin-bottom: 0
margin-top: 0
dt
span
display: block
span:first-child
white-space: nowrap
font-family: $block-key_figures-number-font-family
font-size: $block-key_figures-font-size
......@@ -52,10 +54,8 @@
font-size: $block-key_figures-font-size-xxl
strong
font-size: $block-key_figures-number-font-size-xxl
dd
margin-bottom: 0
margin-left: 0
span + span
margin-top: $spacing-2
@include media-breakpoint-down(desktop)
li + li
margin-top: $spacing-3
......
......@@ -21,8 +21,8 @@
<ul class="{{ $list_class }}">
{{- range .figures }}
<li>
<dl>
<dt>
<p>
<span>
{{ with .image }}
{{ partial "commons/image.html"
(dict
......@@ -31,9 +31,9 @@
)}}
{{ end }}
<strong>{{ .number }}</strong>{{ partial "PrepareHTML" .unit }}
</dt>
<dd>{{ partial "PrepareHTML" .description }}</dd>
</dl>
</span>
<span>{{ partial "PrepareHTML" .description }}</span>
</p>
</li>
{{ end -}}
</ul>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment