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

@ -49,6 +49,14 @@ a {
margin-top: 10vh;
}
strong {
font-weight: bold;
}
em {
font-style: italic;
}
/* PARTIALS */
body.toolbar-tray-open header {
left: 15rem !important;
@ -676,7 +684,7 @@ body.toolbar-fixed header {
margin-bottom: 1rem;
}
.actu_full .liens_fixed > div > div:nth-of-type(2), .actu_full .file_fixed > div > div > div {
padding: 0 3vw;
padding: 0 1.5vw;
text-align: right;
margin: 2rem 0;
}
@ -705,7 +713,7 @@ body.toolbar-fixed header {
margin-bottom: 0 !important;
margin: 0;
position: fixed;
right: 0;
left: 75vw;
bottom: 10vh;
}
.actu_full .liens_fixed > div > div:nth-of-type(2) > div, .actu_full .file_fixed > div > div > div > div {
@ -1404,8 +1412,12 @@ body.toolbar-fixed header {
font-family: "Barlow", sans-serif;
color: black;
font-size: 1.6rem;
margin-left: 12.5vw;
max-width: 50vw;
}
@media (min-width: 1080px) {
.home_consultation h2 + div h2, .home_consultation h2 + div h3, .home_consultation h2 + div h4 {
max-width: 50vw;
margin-left: 12.5vw;
}
}
.home_consultation article > div {
height: unset !important;
@ -1530,7 +1542,7 @@ body.toolbar-fixed header {
margin-top: 7vh;
}
.fullpage .fullpage_content .liens_fixed > div > div, .fullpage .fullpage_content .file_fixed > div > div {
padding: 0 3vw;
padding: 0 1.5vw;
text-align: right;
margin: 2rem 0;
}
@ -1559,7 +1571,7 @@ body.toolbar-fixed header {
margin-bottom: 0 !important;
margin: 0;
position: fixed;
right: 0;
left: 75vw;
bottom: 10vh;
}
.fullpage .fullpage_content .liens_fixed > div > div > div, .fullpage .fullpage_content .file_fixed > div > div > div {
@ -1572,6 +1584,13 @@ body.toolbar-fixed header {
.fullpage .fullpage_content .file_fixed span:last-of-type {
display: none;
}
.fullpage .fullpage_content h3, .fullpage .fullpage_content h4, .fullpage .fullpage_content h5, .fullpage .fullpage_content h6 {
font-family: "Marianne", sans-serif;
font-size: 1.3rem;
color: #038788;
font-weight: 800;
margin-bottom: 1rem;
}
.fullpage .views-row {
margin-bottom: 8vh;
}
@ -1585,8 +1604,8 @@ body.toolbar-fixed header {
}
@media (min-width: 1080px) {
.fullpage {
width: 50vw;
margin-left: 25vw;
width: 50%;
margin-left: 25%;
}
}
@ -1624,7 +1643,8 @@ body.toolbar-fixed header {
}
.content_gouvernance .views-row article .paragraph--type--membre-equipe > div:first-of-type > div img {
width: 100%;
height: auto;
height: 100%;
object-fit: cover;
}
.content_gouvernance .views-row article .paragraph--type--membre-equipe > div:nth-of-type(2),
.content_gouvernance .views-row article .paragraph--type--membre-equipe > div:nth-of-type(3) {

File diff suppressed because one or more lines are too long

View File

@ -109,6 +109,10 @@
}
}
if (document.querySelector('.fullpage')) {
let liens = document.querySelectorAll('.liens_fixed a, .file_fixed a');
for (let lien of liens) {
lien.setAttribute('target', '_blank');
}
positionFluoLinks();
document.addEventListener('scroll', () => {
positionFluoLinks();

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;