drupal-erable/web/themes/erabletheme/scss/partials/_articles_teaser.scss

45 lines
1.1 KiB
SCSS

.views-row {
article {
> div:first-of-type {
width: 100%;
max-height: 30vh;
height: auto;
overflow: hidden;
padding-left: $x_margin;
padding-right: $x_margin;
a {
img {
height: auto;
width: 100%;
}
}
}
.preview_meta {
font-family: "Marianne", sans-serif;
font-size: $m_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;
}
}
.preview_sous_titre {
font-family: "Marianne", sans-serif;
font-size: $m_font_size;
padding: 2px $x_margin;
}
h2 {
@include main_title();
}
}
}