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

86 lines
1.9 KiB
SCSS
Raw Normal View History

.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;
2024-01-06 08:57:17 +01:00
margin-bottom: 2rem !important;
}
2024-01-06 07:56:23 +01:00
h2 + div { // tout le contenu qui n'est pas le titre
position: relative;
padding: 0 $x_margin;
.visually-hidden {
width: 0% !important;
}
2024-01-06 08:57:17 +01:00
.sous_titre {
margin-top: -1.5rem;
> div > div {
font-size: $l_font_size;
margin-bottom: 30px;
}
}
2024-01-06 07:56:23 +01:00
> div {
> div {
width: 100%;
margin-bottom: 40px;
img {
width: 100%;
height: auto;
}
}
}
}
2023-12-13 15:08:55 +01:00
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 {
2024-01-06 09:39:13 +01:00
padding: 0 calc($x_margin / 2);
2023-12-13 15:08:55 +01:00
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;
2024-01-06 09:39:13 +01:00
left: 75vw;
bottom: 10vh;
> div {
height: 3vh;
}
2023-12-17 16:49:23 +01:00
a {
max-width: calc(25vw - $x_margin * 2);
}
}
}
.file_fixed span:last-of-type {
display: none;
2023-12-13 15:08:55 +01:00
}
}