petites corrections css

This commit is contained in:
Valentin
2024-01-06 09:39:13 +01:00
parent 22b49b379d
commit 3b1627508e
8 changed files with 61 additions and 20 deletions

View File

@@ -50,7 +50,7 @@
.liens_fixed > div > div, .file_fixed > div > div {
padding: 0 $x_margin;
padding: 0 calc($x_margin / 2);
text-align: right;
margin: 2rem 0;
@include fluo_button();
@@ -61,7 +61,7 @@
margin-bottom: 0 !important;
margin: 0;
position: fixed;
right: 0;
left: 75vw;
bottom: 10vh;
> div {
height: 3vh;
@@ -74,6 +74,12 @@
.file_fixed span:last-of-type {
display: none;
}
h3, h4, h5, h6 {
@include sous_titre();
margin-bottom: 1rem;
}
}
.views-row {
@@ -86,7 +92,7 @@
margin-left: 12.5vw;
}
@media (min-width: $breakpoint_desktop) {
width: 50vw;
margin-left: 25vw;
width: 50%;
margin-left: 25%;
}
}

View File

@@ -28,7 +28,8 @@
border-radius: 10vw;
img {
width: 100%;
height: auto;
height: 100%;
object-fit: cover;
}
}
}
@@ -46,7 +47,7 @@
> div:last-of-type {
@include main_text_content();
grid-column: 2 / 4;;
grid-column: 2 / 4;
}
@media (min-width: $breakpoint_tablet) {
grid-template-columns: 10vw auto 1fr;

View File

@@ -74,8 +74,10 @@
h2 + div {
h2, h3, h4 {
@include sous_titre_alt();
margin-left: 12.5vw;
max-width: 50vw;
@media (min-width: $breakpoint_desktop) {
max-width: 50vw;
margin-left: 12.5vw;
}
}
}
article > div {

View File

@@ -1,3 +1,11 @@
#block-erabletheme-contenudelapageprincipale {
margin-top: 10vh;
}
strong {
font-weight: bold;
}
em {
font-style: italic;
}

View File

@@ -59,7 +59,7 @@
}
.liens_fixed > div > div:nth-of-type(2), .file_fixed > div > div > div {
padding: 0 $x_margin;
padding: 0 calc($x_margin / 2);
text-align: right;
margin: 2rem 0;
@include fluo_button();
@@ -70,7 +70,7 @@
margin-bottom: 0 !important;
margin: 0;
position: fixed;
right: 0;
left: 75vw;
bottom: 10vh;
> div {
height: 3vh;