ajout des légendes

This commit is contained in:
Valentin 2024-01-26 16:17:45 +01:00
parent 84515f933c
commit a65fe81184
4 changed files with 28 additions and 1 deletions

View File

@ -1459,6 +1459,11 @@ body.toolbar-fixed header {
background-color: unset; background-color: unset;
} }
} }
.fullpage .legende {
display: block !important;
font-size: 0.8rem;
color: #314e41;
}
.fullpage .fullpage_content > h2 { .fullpage .fullpage_content > h2 {
font-family: "Barlow", sans-serif; font-family: "Barlow", sans-serif;
font-size: 2.3rem; font-size: 2.3rem;

File diff suppressed because one or more lines are too long

View File

@ -18,6 +18,12 @@
} }
} }
.legende {
display: block !important;
font-size: 0.8rem;
color: $dark_green;
}
.fullpage_content { .fullpage_content {
> h2 { > h2 {
@include main_title(); @include main_title();

View File

@ -0,0 +1,16 @@
{#
/**
* @file
* Default theme implementation of an image.
*
* Available variables:
* - attributes: HTML attributes for the img tag.
* - style_name: (optional) The name of the image style applied.
*
* @see template_preprocess_image()
*
* @ingroup themeable
*/
#}
<img{{ attributes }} />
<div class="legende" style="display: none;">{{ attributes.title }}</div>