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

82 lines
1.8 KiB
SCSS

.actu_full {
div {
@include main_text_content();
}
.retour_actus {
padding-top: 3vh;
padding-left: $x_margin;
a {
font-size: $sm_font_size;
font-weight: 800;
color: $teal;
}
}
.article_meta {
padding-left: $x_margin;
margin: 20px 0;
div {
font-size: $sm_font_size;
margin-bottom: 5px;
}
}
h2 {
padding-top: 0 !important;
margin-bottom: 0 !important;
}
h2 + div { // tout le contenu qui n'est pas le titre
position: relative;
padding: 0 $x_margin;
.visually-hidden {
width: 0% !important;
}
.sous_titre > div > div {
font-size: $l_font_size;
margin-bottom: 30px;
}
> div {
> div {
width: 100%;
margin-bottom: 40px;
img {
width: 100%;
height: auto;
}
}
}
}
p {
margin-bottom: 1rem;
}
h3, h4, h5, h6 {
@include sous_titre();
margin-bottom: 1rem;
}
.liens_fixed > div > div:nth-of-type(2), .file_fixed > div > div > div {
padding: 0 $x_margin;
text-align: right;
margin: 2rem 0;
@include fluo_button();
a {
display: inline-block;
}
@media (min-width: $breakpoint_desktop) {
margin-bottom: 0 !important;
margin: 0;
position: fixed;
right: 0;
bottom: 10vh;
> div {
height: 3vh;
}
a {
max-width: calc(25vw - $x_margin * 2);
}
}
}
.file_fixed span:last-of-type {
display: none;
}
}