intégration du design il manque que les images de fond

This commit is contained in:
Valentin
2023-12-15 20:04:59 +01:00
parent cb35336870
commit a0137d95ac
19 changed files with 832 additions and 121 deletions

View File

@@ -32,6 +32,12 @@
font-style: normal;
}
/* BREAKPOINTS */
.layout-container {
display: flex;
flex-direction: column;
min-height: 100vh;
}
/* SIZES */
/* MIXINS */
a {
@@ -75,12 +81,12 @@ a {
height: auto;
width: 100%;
}
@media (min-width: 1280px) {
@media (min-width: 1080px) {
.layout-container header div #block-erabletheme-logorepublique a img {
padding-right: 1.5vw;
}
}
@media (min-width: 1280px) {
@media (min-width: 1080px) {
.layout-container header div #block-erabletheme-logorepublique {
width: 10vw;
}
@@ -104,7 +110,7 @@ a {
padding-top: 3px;
padding-bottom: 3px;
}
@media (min-width: 1280px) {
@media (min-width: 1080px) {
.layout-container header div #block-erabletheme-logoerable {
width: 10vw;
}
@@ -138,7 +144,7 @@ a {
font-weight: 400;
background-color: #00ff80;
}
@media (min-width: 1280px) {
@media (min-width: 1080px) {
.layout-container header div #block-erabletheme-navigationprincipale {
display: block;
}
@@ -167,7 +173,7 @@ a {
.layout-container header div #block-erabletheme-socialmedialinks ul li a svg.ext {
display: none;
}
@media (min-width: 1280px) {
@media (min-width: 1080px) {
.layout-container header div #block-erabletheme-socialmedialinks {
display: block;
}
@@ -213,7 +219,7 @@ a {
.layout-container header div #block-erabletheme-header #hamburger .burger-icon.open div:last-of-type {
transform: translate(0rem, -0.5rem) rotate(45deg);
}
.layout-container header div #block-erabletheme-header ul {
.layout-container header div #block-erabletheme-header ul:not(.social-media-links--platforms) {
display: none;
height: auto;
max-height: 0vh;
@@ -225,16 +231,21 @@ a {
width: 100vw;
z-index: 0;
padding: 0;
align-items: center;
flex-direction: column;
}
.layout-container header div #block-erabletheme-header ul li {
.layout-container header div #block-erabletheme-header ul:not(.social-media-links--platforms) > li {
width: 100%;
display: flex;
justify-content: center;
padding: 6px 0;
opacity: 0;
transition: opacity 0.3s ease;
max-width: 60vw;
}
.layout-container header div #block-erabletheme-header ul li a {
.layout-container header div #block-erabletheme-header ul:not(.social-media-links--platforms) > li > a {
text-align: center;
line-height: 1.2;
color: white;
font-family: "Marianne", sans-serif;
font-weight: 800;
@@ -242,23 +253,56 @@ a {
background-color: rgba(255, 255, 255, 0);
transition: background-color 0.3s ease, color 0.3s ease;
}
.layout-container header div #block-erabletheme-header ul li a:hover {
.layout-container header div #block-erabletheme-header ul:not(.social-media-links--platforms) > li > a:hover {
background-color: white;
color: #314e41;
}
.layout-container header div #block-erabletheme-header ul li a.is-active {
.layout-container header div #block-erabletheme-header ul:not(.social-media-links--platforms) > li > a.is-active {
background-color: white;
color: #314e41;
}
.layout-container header div #block-erabletheme-header ul li.visible {
@media (min-width: 760px) {
.layout-container header div #block-erabletheme-header ul:not(.social-media-links--platforms) > li {
max-width: 30vw;
}
}
.layout-container header div #block-erabletheme-header ul:not(.social-media-links--platforms) > li #socials-in-menu-wrapper {
display: flex;
width: auto;
}
.layout-container header div #block-erabletheme-header ul:not(.social-media-links--platforms) > li #socials-in-menu-wrapper li {
width: auto;
padding: 0 1rem;
margin-top: 1rem;
}
.layout-container header div #block-erabletheme-header ul:not(.social-media-links--platforms) > li #socials-in-menu-wrapper li a span {
color: white;
}
.layout-container header div #block-erabletheme-header ul:not(.social-media-links--platforms) > li #socials-in-menu-wrapper li a svg {
display: none;
}
.layout-container header div #block-erabletheme-header ul:not(.social-media-links--platforms) > li.visible {
opacity: 1;
}
@media (min-width: 1280px) {
.layout-container header div #block-erabletheme-header ul {
.layout-container header div #block-erabletheme-header ul:not(.social-media-links--platforms) > li:nth-of-type(1),
.layout-container header div #block-erabletheme-header ul:not(.social-media-links--platforms) > li:nth-of-type(2),
.layout-container header div #block-erabletheme-header ul:not(.social-media-links--platforms) > li:nth-of-type(6) {
border-bottom: solid 1px white;
padding: 12px 0;
}
@media (min-width: 1080px) {
.layout-container header div #block-erabletheme-header ul:not(.social-media-links--platforms) {
width: 25vw;
right: 0;
left: auto;
}
.layout-container header div #block-erabletheme-header ul:not(.social-media-links--platforms) li {
width: calc(100% - 6vw);
}
.layout-container header div #block-erabletheme-header ul:not(.social-media-links--platforms) li a {
width: 100%;
text-align: left;
}
}
.layout-container header div #block-erabletheme-header ul.active {
padding: 30px 0;
@@ -287,7 +331,7 @@ a {
width: 100%;
height: auto;
}
@media (min-width: 960px) {
@media (min-width: 760px) {
.layout-container > footer #footer_middle #footer_left > div #block-erabletheme-logorep {
width: 10vw;
}
@@ -299,13 +343,13 @@ a {
width: 100%;
height: auto;
}
@media (min-width: 960px) {
@media (min-width: 760px) {
.layout-container > footer #footer_middle #footer_left > div #block-erabletheme-logoepau {
width: 15vw;
padding-left: 2vw;
}
}
@media (min-width: 960px) {
@media (min-width: 760px) {
.layout-container > footer #footer_middle #footer_left > div {
width: 25vw;
padding-left: 3vw;
@@ -335,13 +379,13 @@ a {
font-weight: 800;
text-decoration: underline;
}
@media (min-width: 960px) {
@media (min-width: 760px) {
.layout-container > footer #footer_middle #footer_section #footer_center nav ul {
width: 50vw;
padding: 0 15vw;
}
}
@media (min-width: 960px) {
@media (min-width: 760px) {
.layout-container > footer #footer_middle #footer_section #footer_center {
padding-left: 0;
width: auto;
@@ -367,19 +411,19 @@ a {
.layout-container > footer #footer_middle #footer_section #footer_right #block-erabletheme-socialmedialinks-2 ul li a svg.ext {
display: none;
}
@media (min-width: 960px) {
@media (min-width: 760px) {
.layout-container > footer #footer_middle #footer_section #footer_right {
width: 25vw;
padding-left: 15vw;
padding-right: 3vw;
}
}
@media (min-width: 960px) {
@media (min-width: 760px) {
.layout-container > footer #footer_middle {
display: flex;
}
}
@media (min-width: 960px) {
@media (min-width: 760px) {
.layout-container > footer {
padding: 0;
}
@@ -395,7 +439,7 @@ a {
}
.slick-container div.views-row article > div:first-of-type {
width: 100%;
height: 40vh;
height: 30vh !important;
overflow-y: hidden;
padding: 0 !important;
}
@@ -409,6 +453,64 @@ a {
width: 100%;
height: auto;
}
@media (min-width: 760px) {
.slick-container div.views-row article .preview_meta {
margin-left: 0;
margin-right: 0;
justify-content: flex-start;
flex-direction: column;
}
.slick-container div.views-row article .preview_meta > div:last-of-type {
padding-top: 0.5rem;
}
.slick-container div.views-row article h2, .slick-container div.views-row article .preview_sous_titre {
padding-left: 0;
padding-right: 0;
}
}
@media (min-width: 1080px) {
.slick-container div.views-row article {
display: flex;
align-items: flex-end;
border-bottom: solid 1px #038788;
}
.slick-container div.views-row article > div:first-of-type {
width: calc(50% + 6.25vw);
}
.slick-container div.views-row article > div:last-of-type {
width: calc(50% - 6.25vw);
padding-bottom: 4rem;
}
.slick-container div.views-row article > div:last-of-type > div, .slick-container div.views-row article > div:last-of-type > h2 {
padding-left: 3vw;
}
.slick-container div.views-row article > div:last-of-type > div:first-of-type {
padding-top: 3rem;
}
.slick-container div.views-row article > div:last-of-type > div:last-of-type {
margin-top: 0.5rem;
}
}
.slick-container .slick-arrow {
display: none !important;
width: 2rem;
height: 2rem;
border-radius: 1.5rem;
border: solid 1px #038788;
top: unset;
bottom: 5%;
background-color: rgba(255, 255, 255, 0.4) !important;
transition: background-color 0.3s ease;
}
.slick-container .slick-arrow:hover {
background-color: rgba(255, 255, 255, 0.8) !important;
}
.slick-container .slick-arrow::before {
color: #038788;
font-family: "Marianne", sans-serif;
display: block;
padding-bottom: 3px;
}
.slick-container #carousel_dots {
position: relative;
margin-top: -15px;
@@ -423,6 +525,12 @@ a {
.slick-container #carousel_dots ul li button::before {
color: rgb(1, 1, 1);
}
@media (min-width: 1080px) {
.slick-container #carousel_dots {
margin-top: 8vh;
margin-left: 12.5vw;
}
}
.slick-container footer {
text-align: center;
margin-top: 4rem;
@@ -445,19 +553,51 @@ a {
.slick-container footer a:hover {
background-color: #00ff80;
}
.actu_full {
background: linear-gradient(to bottom, #fcf9ee 80%, white 100%);
font-family: "Marianne", sans-serif;
padding-top: 3vh;
width: 100vw;
@media (min-width: 1080px) {
.slick-container footer {
margin-top: -2vh;
position: absolute;
right: 12.5vw;
}
}
@media (min-width: 760px) {
.slick-container {
padding: 0 12.5vw;
}
.slick-container .slick-prev, .slick-container .slick-next {
display: block !important;
}
.slick-container .slick-prev {
left: -5rem;
}
.slick-container .slick-next {
right: -5rem;
}
}
@media (min-width: 1080px) {
.slick-container {
padding: 0;
padding-right: 12.5vw;
padding-bottom: 10vh;
}
.slick-container .slick-prev, .slick-container .slick-next {
bottom: 20%;
}
.slick-container .slick-prev {
display: none !important;
}
.slick-container .slick-next {
display: block !important;
}
}
.actu_full div {
font-family: "Marianne", sans-serif;
font-size: 1rem;
line-height: 1.4;
}
.actu_full .retour_actus {
padding-top: 3vh;
font-size: 0.8rem;
font-weight: 800;
color: #038788;
@@ -472,39 +612,44 @@ a {
margin-bottom: 5px;
}
.actu_full h2 {
font-family: "Barlow", sans-serif;
font-size: 2.3rem;
padding: 0 3vw;
margin-top: 1rem;
color: #038788;
}
.actu_full h2 a {
color: #038788;
padding-top: 0 !important;
margin-bottom: 0 !important;
}
.actu_full h2 + div {
padding: 3vw;
position: relative;
padding: 0 3vw;
}
.actu_full h2 + div .visually-hidden {
width: 0% !important;
}
.actu_full h2 + div div:first-of-type {
margin-top: -10px;
.actu_full h2 + div .sous_titre > div > div {
font-size: 1.3rem;
margin-bottom: 30px;
}
.actu_full h2 + div div:nth-of-type(2) > div {
.actu_full h2 + div > div:nth-of-type(2) > div {
width: 100%;
margin-bottom: 40px;
}
.actu_full h2 + div div:nth-of-type(2) > div img {
.actu_full h2 + div > div:nth-of-type(2) > div img {
width: 100%;
height: auto;
}
.actu_full .liens_fixed {
.actu_full p {
margin-bottom: 1rem;
}
.actu_full h3, .actu_full h4, .actu_full h5, .actu_full h6 {
font-family: "Marianne", sans-serif;
font-size: 1.3rem;
color: #038788;
font-weight: 800;
margin-bottom: 1rem;
}
.actu_full .liens_fixed > div > div:nth-of-type(2), .actu_full .file_fixed > div > div > div {
padding: 0 3vw;
text-align: right;
margin: 2rem 0;
}
.actu_full .liens_fixed a {
.actu_full .liens_fixed > div > div:nth-of-type(2) a, .actu_full .file_fixed > div > div > div a {
text-align: center;
color: black;
font-family: "Marianne", sans-serif;
@@ -515,17 +660,41 @@ a {
padding: 9px 18px;
transition: background-color 0.3s ease;
}
.actu_full .liens_fixed a svg {
.actu_full .liens_fixed > div > div:nth-of-type(2) a svg, .actu_full .file_fixed > div > div > div a svg {
display: none;
}
.actu_full .liens_fixed a:hover {
.actu_full .liens_fixed > div > div:nth-of-type(2) a:hover, .actu_full .file_fixed > div > div > div a:hover {
background-color: #00ff80;
}
.actu_full .liens_fixed > div > div:nth-of-type(2) a, .actu_full .file_fixed > div > div > div a {
display: inline-block;
max-width: 19vw;
}
@media (min-width: 760px) {
.actu_full .liens_fixed > div > div:nth-of-type(2), .actu_full .file_fixed > div > div > div {
padding: 0;
}
}
@media (min-width: 1080px) {
.actu_full .liens_fixed > div > div:nth-of-type(2), .actu_full .file_fixed > div > div > div {
margin-bottom: 0 !important;
margin: 0;
padding: 0 3vw;
position: fixed;
right: 0;
bottom: 10vh;
}
.actu_full .liens_fixed > div > div:nth-of-type(2) > div, .actu_full .file_fixed > div > div > div > div {
height: 3vh;
}
}
.actu_full .file_fixed span:last-of-type {
display: none;
}
.views-row article > div:first-of-type {
width: 100%;
max-height: 30vh;
height: auto;
height: 30vh;
overflow: hidden;
padding-left: 3vw;
padding-right: 3vw;
@@ -534,6 +703,11 @@ a {
height: auto;
width: 100%;
}
@media (min-width: 760px) {
.views-row article > div:first-of-type {
height: 20vh;
}
}
.views-row article .preview_meta {
font-family: "Marianne", sans-serif;
font-size: 0.9rem;
@@ -551,8 +725,13 @@ a {
}
.views-row article .preview_sous_titre {
font-family: "Marianne", sans-serif;
font-size: 0.9rem;
padding: 2px 3vw;
font-size: 1.3rem;
padding: 5px 3vw;
}
@media (min-width: 760px) {
.views-row article .preview_sous_titre {
padding-top: 0;
}
}
.views-row article h2 {
font-family: "Barlow", sans-serif;
@@ -569,19 +748,48 @@ a {
.home_introduction {
border-bottom: solid 2px #038788;
width: 100%;
padding: 2rem 0;
padding: 4rem 0;
}
.home_introduction h2 {
display: none;
}
.home_introduction > .logo {
text-align: center;
width: 100%;
margin-bottom: 3rem;
}
.home_introduction > .logo img {
width: 35vw;
}
@media (min-width: 760px) {
.home_introduction > .logo img {
width: 25vw;
}
}
@media (min-width: 1080px) {
.home_introduction > .logo img {
width: 18vw;
}
}
.home_introduction article > div {
max-height: none !important;
height: unset !important;
}
.home_introduction article > div p {
font-family: "Marianne", sans-serif;
font-size: 1rem;
line-height: 1.4;
}
@media (min-width: 1080px) {
.home_introduction article > div p {
margin-left: 12.5vw;
max-width: 50vw;
}
}
@media (min-width: 760px) {
.home_introduction article > div {
padding: 0 !important;
}
}
.home_introduction div.more-link {
margin-top: 3rem;
margin-bottom: 1.5rem;
@@ -606,11 +814,23 @@ a {
.home_introduction div.more-link a:hover {
background-color: #00ff80;
}
@media (min-width: 1080px) {
.home_introduction div.more-link {
display: flex;
justify-content: flex-end;
}
}
@media (min-width: 760px) {
.home_introduction {
padding-left: 12.5vw;
padding-right: 12.5vw;
}
}
.home_consultation {
background: linear-gradient(to bottom, #fcf9ee 80%, white 100%);
width: 100%;
padding: 2rem 0;
padding: 4rem 0;
}
.home_consultation h2 {
font-family: "Barlow", sans-serif;
@@ -623,14 +843,36 @@ a {
.home_consultation h2 a {
color: #038788;
}
@media (min-width: 760px) {
.home_consultation h2 {
padding-left: 0 !important;
}
}
@media (min-width: 1080px) {
.home_consultation h2 {
margin-left: 12.5vw;
max-width: 50vw;
}
}
.home_consultation article > div {
max-height: none !important;
height: unset !important;
}
.home_consultation article > div p {
font-family: "Marianne", sans-serif;
font-size: 1rem;
line-height: 1.4;
}
@media (min-width: 1080px) {
.home_consultation article > div p {
margin-left: 12.5vw;
max-width: 50vw;
}
}
@media (min-width: 760px) {
.home_consultation article > div {
padding: 0 !important;
}
}
.home_consultation div.more-link {
margin-top: 3rem;
display: flex;
@@ -654,8 +896,21 @@ a {
.home_consultation div.more-link a:hover {
background-color: #00ff80;
}
@media (min-width: 1080px) {
.home_consultation div.more-link {
display: flex;
justify-content: flex-end;
}
}
@media (min-width: 760px) {
.home_consultation {
padding-left: 12.5vw;
padding-right: 12.5vw;
}
}
.fullpage {
margin-bottom: 10vh;
margin-top: -3vh;
padding-top: 3vh;
background: linear-gradient(to bottom, #fcf9ee 80%, white 100%);
@@ -687,6 +942,7 @@ a {
font-family: "Marianne", sans-serif;
font-size: 1rem;
line-height: 1.4;
font-size: 1.3rem;
padding: 0 3vw;
}
.fullpage .fullpage_content p {
@@ -699,12 +955,12 @@ a {
.fullpage .fullpage_content p:first-of-type {
margin-top: 7vh;
}
.fullpage .fullpage_content .liens_fixed {
.fullpage .fullpage_content .liens_fixed > div > div, .fullpage .fullpage_content .file_fixed > div > div {
padding: 0 3vw;
text-align: right;
margin: 2rem 0;
}
.fullpage .fullpage_content .liens_fixed a {
.fullpage .fullpage_content .liens_fixed > div > div a, .fullpage .fullpage_content .file_fixed > div > div a {
text-align: center;
color: black;
font-family: "Marianne", sans-serif;
@@ -715,16 +971,41 @@ a {
padding: 9px 18px;
transition: background-color 0.3s ease;
}
.fullpage .fullpage_content .liens_fixed a svg {
.fullpage .fullpage_content .liens_fixed > div > div a svg, .fullpage .fullpage_content .file_fixed > div > div a svg {
display: none;
}
.fullpage .fullpage_content .liens_fixed a:hover {
.fullpage .fullpage_content .liens_fixed > div > div a:hover, .fullpage .fullpage_content .file_fixed > div > div a:hover {
background-color: #00ff80;
}
.fullpage .fullpage_content .liens_fixed > div > div a, .fullpage .fullpage_content .file_fixed > div > div a {
display: inline-block;
max-width: 19vw;
}
@media (min-width: 760px) {
.fullpage .fullpage_content .liens_fixed > div > div, .fullpage .fullpage_content .file_fixed > div > div {
padding: 0;
}
}
@media (min-width: 1080px) {
.fullpage .fullpage_content .liens_fixed > div > div, .fullpage .fullpage_content .file_fixed > div > div {
margin-bottom: 0 !important;
margin: 0;
padding: 0 3vw;
position: fixed;
right: 0;
bottom: 10vh;
}
.fullpage .fullpage_content .liens_fixed > div > div > div, .fullpage .fullpage_content .file_fixed > div > div > div {
height: 3vh;
}
}
.fullpage .fullpage_content .file_fixed span:last-of-type {
display: none;
}
.fullpage .views-row {
margin-bottom: 8vh;
}
@media (min-width: 960px) {
@media (min-width: 760px) {
.fullpage {
margin-top: 10vh;
padding-top: 0;
@@ -732,13 +1013,30 @@ a {
margin-left: 12.5vw;
}
}
@media (min-width: 1280px) {
@media (min-width: 1080px) {
.fullpage {
width: 50vw;
margin-left: 25vw;
}
}
@media (min-width: 760px) {
.fullpage.actus {
width: auto;
margin-left: 3vw;
margin-right: 3vw;
}
.fullpage.actus .actus_list {
display: grid;
grid-template-columns: repeat(2, 1fr);
}
}
@media (min-width: 1080px) {
.fullpage.actus .actus_list {
grid-template-columns: repeat(3, 1fr);
}
}
.content_gouvernance .views-row {
margin-bottom: 2vh;
}
@@ -751,7 +1049,7 @@ a {
font-size: 1.6rem;
}
.content_gouvernance .views-row article > div:first-of-type {
max-height: none;
height: unset;
}
.content_gouvernance .views-row article .paragraph--type--membre-equipe {
height: auto;
@@ -791,7 +1089,7 @@ a {
font-size: 1rem;
line-height: 1.4;
}
@media (min-width: 960px) {
@media (min-width: 760px) {
.content_gouvernance .views-row article .paragraph--type--membre-equipe {
grid-template-columns: 10vw 1fr;
}
@@ -820,13 +1118,13 @@ a {
font-size: 1.6rem;
}
.content_partenaires .views-row article > div:first-of-type {
max-height: none;
display: flex;
flex-direction: column;
height: unset !important;
display: grid;
grid-template-columns: 0.3fr 1fr;
align-items: center;
}
.content_partenaires .views-row article > div:first-of-type > div:first-of-type > div {
width: 40vw;
width: 30vw;
height: auto;
overflow: hidden;
margin-bottom: 1rem;
@@ -836,13 +1134,25 @@ a {
height: auto;
mix-blend-mode: darken;
}
@media (min-width: 760px) {
.content_partenaires .views-row article > div:first-of-type > div:first-of-type > div {
width: 20vw;
}
}
@media (min-width: 1080px) {
.content_partenaires .views-row article > div:first-of-type > div:first-of-type > div {
width: 15vw;
}
}
.content_partenaires .views-row article > div:first-of-type > div:nth-of-type(2) {
font-family: "Marianne", sans-serif;
font-size: 1rem;
line-height: 1.4;
margin-bottom: 2rem;
padding-left: 3vw;
}
.content_partenaires .views-row article > div:first-of-type > div:last-of-type {
grid-column: 1/3;
width: 100%;
text-align: right;
padding-bottom: 2rem;

File diff suppressed because one or more lines are too long