armentieres: change carrousel colors, make it full width (#70745)

This commit is contained in:
Corentin Sechet 2022-11-21 22:00:41 +01:00
parent e05fa7c6c2
commit da57fd6bc2
2 changed files with 34 additions and 4 deletions

View File

@ -10,11 +10,8 @@
}
&--content {
max-width: $width;
clear: both;
margin: 0 auto;
.cell {
padding: 3rem 0rem;
padding: 0 5rem 2rem 5rem;
}
}
@ -23,6 +20,31 @@
}
}
// Carrousel
.carrousel {
&.cell {
padding: 0
}
&-item {
padding: 0.5rem 4rem !important;
}
&-nav label {
background-color: white;
}
&-item-title {
line-height: 1 !important;
font-size: $fz-1;
}
&-item-description {
max-width: 100% !important; // too complex selector in core
}
}
// Sidebar
div#sidebar {
div.cell h2:first-child {

View File

@ -76,6 +76,14 @@ $title-transform: uppercase;
$title-weight: 700;
$title-background: transparent;
// Carrousel
$carrousel-height: 290px;
$carrousel-item-mask-color: transparent;
$carrousel-text-position: middle middle;
$carrousel-navigation-color: $red;
$carrousel-navigation-bullet-size: 10px;
$carrousel-arrows: none;
// Cells
$cell-border: none;
$cell-entry-color: black;