diff --git a/src/assets/css/endp_utils.css b/src/assets/css/endp_utils.css index d378d2f..3c14d20 100644 --- a/src/assets/css/endp_utils.css +++ b/src/assets/css/endp_utils.css @@ -45,10 +45,6 @@ body { #banner-image::before { content: ""; - background-color : #320205; - background-size: var(--desktop-content-width) auto; - background-position: center; - background-repeat: no-repeat; position: absolute; top: 0; right: 0; @@ -56,11 +52,22 @@ body { left: 0; } -#banner-image h1 { - position: absolute; - left: 0; - bottom: 0; +.page-title, +#banner-image::before { + background-color : #320205; + background-size: var(--desktop-content-width) auto; + background-position: bottom center; + background-repeat: no-repeat; +} + +.page-title { + position: sticky; z-index: 2; + top: 0; + margin-top:-52px; +} + +.page-title h1 { display: block; width: var(--desktop-content-width); @@ -127,7 +134,7 @@ body { padding: 0; } - #banner-image h1 { + .page-title h1 { width: calc(100% - 2* var(--tablet-side-padding)); margin: 0 var(--tablet-side-padding); } @@ -145,7 +152,11 @@ body { padding: 0; } - #banner-image h1 { + .page-title { + top: 50px; + } + + .page-title h1 { width: 100%; position: relative; margin: 0; diff --git a/src/components/PersonDataCarousel.vue b/src/components/PersonDataCarousel.vue index be3e3dd..05545cc 100644 --- a/src/components/PersonDataCarousel.vue +++ b/src/components/PersonDataCarousel.vue @@ -21,6 +21,7 @@ +
Légende
@@ -101,7 +102,7 @@ export default { .box-iconography-collecta.is-opened .box-content { background-color: var(--panel-bg-color); - padding-bottom: var(--right-column-bottom-padding-desktop); + margin-bottom: var(--right-column-bottom-padding-desktop); } .box-header { @@ -144,6 +145,21 @@ export default { .is-opened .box-content { display: block; + position: relative; +} + +.box-content .active-slide-caption { + position: absolute; + bottom: 0; + width: 100%; + z-index: 2; + + font-family: var(--font-secondary); + font-size: 18px; + font-weight: 400; + color: #FFFFFF; + padding-bottom: 20px; + text-align: center; } /* Carrousel */ @@ -212,11 +228,11 @@ li.carousel__slide a::after { } :deep .carousel__prev { - transform: translate(-75%, 46px) scaleX(-1); + transform: translate(-175%, 46px) scaleX(-1); } :deep .carousel__next { - transform: translate(+75%, 46px); + transform: translate(-5%, 46px); } :deep .carousel__prev, @@ -251,6 +267,20 @@ li.carousel__slide a::after { } +@media (max-width: 1380px) { + .box-iconography-collecta .box-header { + padding: 0 var(--tablet-side-padding); + } +} + +@media screen and (max-width: 1024px) { + .box-iconography-collecta .box-header { + padding: 0 var(--mobile-side-padding) var(--right-column-bottom-padding-mobile) !important; + } + +} + + /* diff --git a/src/components/RegisterBaseLegend.vue b/src/components/RegisterBaseLegend.vue index 673c1a2..44d8ad1 100644 --- a/src/components/RegisterBaseLegend.vue +++ b/src/components/RegisterBaseLegend.vue @@ -20,7 +20,6 @@ export default {