+ {% if not content %}
+ {% set content %}Le nouveau Space Sustainability Rating accueilli par eSpace, le centre spatial de l’EPFL, encourage le secteur de l’espace à concevoir et à mettre en œuvre des missions spatiales durables et responsables — montrant ainsi la voie pour assurer à long terme une approche durable de l’environnement spatial.{% endset %}
+ {% endif %}
+ {{content}}
+
+
+
+
+
+
diff --git a/assets/components/organisms/fullwidth-teaser/fullwidth-teaser.scss b/assets/components/organisms/fullwidth-teaser/fullwidth-teaser.scss
index f07fb702..2906a461 100644
--- a/assets/components/organisms/fullwidth-teaser/fullwidth-teaser.scss
+++ b/assets/components/organisms/fullwidth-teaser/fullwidth-teaser.scss
@@ -27,10 +27,17 @@
width: 100%;
height: auto;
}
- figure{
+ figure,
+ figure picture,
+ figure img {
margin-bottom: 0;
}
+ figure picture,
+ figure img {
+ height: 100%;
+ }
+
picture,
figure,
.fullwidth-teaser-text {
@@ -184,11 +191,11 @@
border-top-color: color.adjust($red, $lightness: -15%);
}
}
-
+
&:active:after {
border-top-color: color.adjust($red-dark, $lightness: -10%);
}
-
+
&:focus {
outline: 0 !important;
}
diff --git a/assets/components/organisms/fullwidth-teaser/fullwidth-teaser.yml b/assets/components/organisms/fullwidth-teaser/fullwidth-teaser.yml
index 655131d0..a155f769 100644
--- a/assets/components/organisms/fullwidth-teaser/fullwidth-teaser.yml
+++ b/assets/components/organisms/fullwidth-teaser/fullwidth-teaser.yml
@@ -1,6 +1,12 @@
title: Fullwidth teaser
name: fullwidth-teaser
variants:
+ - name: legend
+ title: Fullwidth teaser with image legend
+ notes: |
+ The [popover](#/atoms/popover) component can be used on any Fullwidth teaser variant in order to add a legend to the image.
+
+ The markup structure is similar to the [cover](#/molecules/cover) component.
- name: horizontal
title: Horizontal
- name: left
diff --git a/assets/components/organisms/headlines/headlines-legend.twig b/assets/components/organisms/headlines/headlines-legend.twig
new file mode 100644
index 00000000..80ad89ae
--- /dev/null
+++ b/assets/components/organisms/headlines/headlines-legend.twig
@@ -0,0 +1,44 @@
+{% macro card_link(card) %}
+
+