Merge branch 'master' into prod
Ajout des légendes des images
This commit is contained in:
commit
59a0e39d0f
|
@ -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
|
@ -18,6 +18,12 @@
|
|||
}
|
||||
}
|
||||
|
||||
.legende {
|
||||
display: block !important;
|
||||
font-size: 0.8rem;
|
||||
color: $dark_green;
|
||||
}
|
||||
|
||||
.fullpage_content {
|
||||
> h2 {
|
||||
@include main_title();
|
||||
|
|
|
@ -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>
|
Loading…
Reference in New Issue