Merge branch 'master' into prod

Ajout des légendes des images
This commit is contained in:
Valentin 2024-01-26 16:18:13 +01:00
commit 59a0e39d0f
4 changed files with 28 additions and 1 deletions

View File

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