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

90 lines
2.0 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;
}
}
2024-11-27 19:34:18 +01:00
.article_meta + h2 {
margin-top: 0 !important;
}
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 {
margin-bottom: 1rem;
@include sous_titre();
}
.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
}
}