redesign blocks présentation et slider actus sur l'intro
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
.views-row {
|
||||
article {
|
||||
article.actu-teaser {
|
||||
background-color: white;
|
||||
padding: 2rem;
|
||||
box-sizing: border-box;
|
||||
> div:first-of-type {
|
||||
width: 100%;
|
||||
height: 30vh;
|
||||
aspect-ratio: 16 / 9;
|
||||
overflow: hidden;
|
||||
padding-left: $x_margin;
|
||||
padding-right: $x_margin;
|
||||
@@ -13,40 +16,41 @@
|
||||
height: auto;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
@media (min-width: $breakpoint_tablet) {
|
||||
height: 20vh;
|
||||
.legende {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.preview_meta {
|
||||
font-family: "Marianne", sans-serif;
|
||||
font-size: $m_font_size;
|
||||
font-size: $sm_font_size;
|
||||
width: auto;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
color: $teal;
|
||||
border-top: solid 1px $teal;
|
||||
margin: 0 $x_margin;
|
||||
margin-top: 1.3rem;
|
||||
padding-top: 0.7rem;
|
||||
> div:first-of-type {
|
||||
font-weight: 800;
|
||||
@media (min-width: $breakpoint_tablet) {
|
||||
font-size: $m_font_size;
|
||||
}
|
||||
}
|
||||
|
||||
.preview_sous_titre {
|
||||
font-family: "Marianne", sans-serif;
|
||||
font-size: $l_font_size;
|
||||
font-size: $m_font_size;
|
||||
padding: 5px $x_margin;
|
||||
@media (min-width: $breakpoint_tablet) {
|
||||
font-size: $l_font_size;
|
||||
padding-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
h2 {
|
||||
@include main_title();
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user