début du thème, footer et header en mobile

This commit is contained in:
Valentin
2023-12-06 17:06:45 +01:00
parent b258cc3181
commit a08922d8be
19 changed files with 644 additions and 12 deletions

View File

@@ -1,3 +1,4 @@
@charset "UTF-8";
/* GLOBAL */
/* Marianne */
@font-face {
@@ -32,10 +33,15 @@
font-style: normal;
}
/* SIZES */
/* MIXINS */
a {
text-decoration: none;
}
#block-erabletheme-contenudelapageprincipale {
margin-top: 7vh;
}
/* PARTIALS */
.layout-container {
width: 100vw;
@@ -207,4 +213,214 @@ a {
display: none;
}
.slick-container {
background: linear-gradient(to bottom, #fcf9ee 80%, white 100%);
width: 100vw;
border-bottom: solid 2px #038788;
}
.slick-container div.views-row article {
width: 100%;
}
.slick-container div.views-row article div:first-of-type {
width: 100%;
max-height: 40vh;
overflow-y: hidden;
}
.slick-container div.views-row article div:first-of-type > div {
width: 100%;
}
.slick-container div.views-row article div:first-of-type > div > a {
max-width: 100%;
}
.slick-container div.views-row article div:first-of-type > div > a img {
width: 100%;
height: auto;
}
.slick-container div.views-row article .preview_date, .slick-container div.views-row article .preview_type, .slick-container div.views-row article .preview_sous_titre {
font-family: "Marianne", sans-serif;
font-size: 0.9rem;
padding: 2px 3vw;
}
.slick-container div.views-row article .preview_date {
margin-top: 1.3rem;
font-weight: 800;
}
.slick-container div.views-row article h2 {
font-family: "Barlow", sans-serif;
font-size: 2.3rem;
padding: 0 3vw;
margin-top: 1rem;
}
.slick-container div.views-row article h2 a {
color: #038788;
}
.slick-container #carousel_dots {
position: relative;
margin-top: -15px;
}
.slick-container #carousel_dots ul {
position: relative;
bottom: 0;
}
.slick-container #carousel_dots ul li.slick-active button::before {
color: #00ff80;
}
.slick-container #carousel_dots ul li button::before {
color: rgb(1, 1, 1);
}
.slick-container footer {
text-align: center;
margin-top: 4rem;
margin-bottom: 4rem;
}
.slick-container footer a {
text-align: center;
color: black;
font-family: "Marianne", sans-serif;
font-weight: 800;
font-size: 0.9rem;
background-color: white;
border: solid 2px #00ff80;
padding: 9px 18px;
}
.slick-container footer a ::after {
content: "→";
padding-left: 10px;
}
.actu_full {
background: linear-gradient(to bottom, #fcf9ee 80%, white 100%);
font-family: "Marianne", sans-serif;
padding-top: 3vh;
width: 100vw;
}
.actu_full div {
font-family: "Marianne", sans-serif;
font-size: 1.1rem;
line-height: 1.2;
}
.actu_full .retour_actus {
font-size: 0.8rem;
font-weight: 800;
color: #038788;
padding-left: 3vw;
}
.actu_full .article_meta {
padding-left: 3vw;
margin: 20px 0;
}
.actu_full .article_meta div {
font-size: 0.8rem;
margin-bottom: 5px;
}
.actu_full h2 {
font-family: "Barlow", sans-serif;
font-size: 2.3rem;
padding: 0 3vw;
margin-top: 1rem;
}
.actu_full h2 a {
color: #038788;
}
.actu_full h2 + div {
padding: 3vw;
}
.actu_full h2 + div .visually-hidden {
width: 0% !important;
}
.actu_full h2 + div div:first-of-type {
margin-top: -10px;
margin-bottom: 30px;
}
.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 {
width: 100%;
height: auto;
}
/* PAGES */
.home_introduction {
border-bottom: solid 2px #038788;
width: 100%;
padding: 2rem 3vw;
}
.home_introduction h2 {
display: none;
}
.home_introduction article > div p {
font-family: "Marianne", sans-serif;
font-size: 1.1rem;
line-height: 1.2;
}
.home_introduction div.more-link {
margin-top: 3rem;
margin-bottom: 1.5rem;
display: flex;
justify-content: center;
align-items: center;
}
.home_introduction div.more-link a {
text-align: center;
color: black;
font-family: "Marianne", sans-serif;
font-weight: 800;
font-size: 0.9rem;
background-color: white;
border: solid 2px #00ff80;
padding: 9px 18px;
}
.home_introduction div.more-link a ::after {
content: "→";
padding-left: 10px;
}
.home_consultation {
background: linear-gradient(to bottom, #fcf9ee 80%, white 100%);
width: 100%;
padding: 2rem 0;
}
.home_consultation h2 {
font-family: "Barlow", sans-serif;
font-size: 2.3rem;
padding: 0 3vw;
margin-top: 1rem;
margin-bottom: 1.2rem;
}
.home_consultation h2 a {
color: #038788;
}
.home_consultation article > div p {
padding: 0 3vw;
font-family: "Marianne", sans-serif;
font-size: 1.1rem;
line-height: 1.2;
}
.home_consultation div.more-link {
margin-top: 3rem;
display: flex;
justify-content: center;
align-items: center;
}
.home_consultation div.more-link a {
text-align: center;
color: black;
font-family: "Marianne", sans-serif;
font-weight: 800;
font-size: 0.9rem;
background-color: white;
border: solid 2px #00ff80;
padding: 9px 18px;
}
.home_consultation div.more-link a ::after {
content: "→";
padding-left: 10px;
}
.news_list:not(.slick-slider) {
background-color: red;
}
/*# sourceMappingURL=styles.css.map */

View File

@@ -1 +1 @@
{"version":3,"sourceRoot":"","sources":["../scss/styles.scss","../scss/global/_fonts.scss","../scss/global/variables/_typography.scss","../scss/global/_typography.scss","../scss/partials/_header.scss","../scss/global/variables/_layout.scss","../scss/global/variables/_colors.scss","../scss/partials/_footer.scss"],"names":[],"mappings":"AAAA;ACAA;AAEA;EACI;EACA;EAEA;EACA;;AAGJ;EACI;EACA;EAEA;EACA;;AAGJ;EACI;EACA;EAEA;EACA;;AAGJ;EACI;EACA;EAEA;EACA;;AAGJ;AAEA;EACI;EACA;EAEA;EACA;;ACzCJ;ACAA;EACI;;;AHMJ;AINA;EACI;EACA;;AACA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;AACA;EACI;EACA;EACA;EACA;EACA;;AACA;EACI;;AACA;EACI;EACA;;AACA;EACI,cCxBb;EDyBa;EACA;;AAIZ;EACI;;AACA;EACI;EACA;;AACA;EACI;EACA;EACA;EACA;;AAIZ;EACI;;AAEJ;EACI;;AAGA;EACI;EACA;EACA,kBErDP;EFsDO;EACA;EACA;;AACA;EACI,WFzDT;EE0DS;EACA;EACA;;AAGR;EACI;;AAEJ;EACI;EACA;EACA,kBEnEP;EFoEO;EACA;EACA;EACA;EACA;;AACA;EACI;EACA;EACA;EACA;;AACA;EACI;EACA;EACA;EACA;;AAEJ;EACI;EACA,OEtFf;;;ACHb;EACI;EACA;EACA;EACA;EACA;EACA;;AACA;EACI;EACA;EACA;EACA;EACA;;AACA;EACI;;AACA;EACI;EACA;;AAGR;EACI;;AACA;EACI;EACA;;AAIZ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;AACA;EACI;EACA;;AACA;EACI;EACA;;AACA;EACI,ODxCP;ECyCO,WL3CL;EK4CK;EACA;EACA;;AAKZ;EACI;;AACA;EACI;EACA;;AAEI;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA,kBDjEjB;;ACmEa;EACI;EACA","file":"styles.css"}
{"version":3,"sourceRoot":"","sources":["../scss/styles.scss","../scss/global/_fonts.scss","../scss/global/variables/_typography.scss","../scss/global/_typography.scss","../scss/global/_global.scss","../scss/partials/_header.scss","../scss/global/variables/_layout.scss","../scss/global/variables/_colors.scss","../scss/partials/_footer.scss","../scss/partials/_carousel.scss","../scss/partials/_articles.scss","../scss/_home.scss","../scss/_newspage.scss"],"names":[],"mappings":";AAAA;ACAA;AAEA;EACI;EACA;EAEA;EACA;;AAGJ;EACI;EACA;EAEA;EACA;;AAGJ;EACI;EACA;EAEA;EACA;;AAGJ;EACI;EACA;EAEA;EACA;;AAGJ;AAEA;EACI;EACA;EAEA;EACA;;ACzCJ;AAMA;ACNA;EACI;;;ACDJ;EACI;;;AJOJ;AKPA;EACI;EACA;;AACA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;AACA;EACI;EACA;EACA;EACA;EACA;;AACA;EACI;;AACA;EACI;EACA;;AACA;EACI,cCxBb;EDyBa;EACA;;AAIZ;EACI;;AACA;EACI;EACA;;AACA;EACI;EACA;EACA;EACA;;AAIZ;EACI;;AAEJ;EACI;;AAGA;EACI;EACA;EACA,kBErDP;EFsDO;EACA;EACA;;AACA;EACI,WHzDT;EG0DS;EACA;EACA;;AAGR;EACI;;AAEJ;EACI;EACA;EACA,kBEnEP;EFoEO;EACA;EACA;EACA;EACA;;AACA;EACI;EACA;EACA;EACA;;AACA;EACI;EACA;EACA;EACA;;AAEJ;EACI;EACA,OEtFf;;;ACHb;EACI;EACA;EACA;EACA;EACA;EACA;;AACA;EACI;EACA;EACA;EACA;EACA;;AACA;EACI;;AACA;EACI;EACA;;AAGR;EACI;;AACA;EACI;EACA;;AAIZ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;AACA;EACI;EACA;;AACA;EACI;EACA;;AACA;EACI,ODxCP;ECyCO,WN3CL;EM4CK;EACA;EACA;;AAKZ;EACI;;AACA;EACI;EACA;;AAEI;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA,kBDjEjB;;ACmEa;EACI;EACA;;;ACtExB;EFMI;EEJA;EACA;;AACA;EACI;;AACA;EACI;EACA;EACA;;AACA;EACI;;AACA;EACI;;AACA;EACI;EACA;;AAMhB;EACI;EACA,WPtBE;EOuBF;;AAEJ;EACI;EACA;;AAEJ;EPtBJ;EACA,WANS;EAOT;EACA;;AACA;EACI,OKbD;;AEkCH;EACI;EACA;;AACA;EACI;EACA;;AACA;EACI,OF1CH;;AE4CD;EACI;;AAIZ;EAEI;EACA;EACA;;AP5BJ;EACI;EACA;EACA;EACA;EACA,WA5BM;EA6BN;EACA;EACA;;AACA;EACI;EACA;;;AQpCZ;EHMI;EGJA;EACA;EACA;;AACA;ERcA;EACA,WAjBa;EAkBb;;AQbA;EACI,WRRO;EQSP;EACA,OHVD;EGWC,cJZG;;AIcP;EACI,cJfG;EIgBH;;AACA;EACI,WRjBG;EQkBH;;AAGR;ERbA;EACA,WANS;EAOT;EACA;;AACA;EACI,OKbD;;AGwBH;EACI,SJ1BG;;AI2BH;EACI;;AAEJ;EACI;EACA;;AAGA;EACI;EACA;;AACA;EACI;EACA;;;AV1BpB;AWdA;EACI;EACA;EACA;;AACA;EACI;;AAGA;ETWJ;EACA,WAjBa;EAkBb;;ASTA;EAEI;EACA;EACA;EACA;EACA;;ATOJ;EACI;EACA;EACA;EACA;EACA,WA5BM;EA6BN;EACA;EACA;;AACA;EACI;EACA;;;ASdZ;EJhBI;EIkBA;EACA;;AACA;ETjBA;EACA,WANS;EAOT;EACA;ESgBI;;ATfJ;EACI,OKbD;;AI8BC;EACE;ETbN;EACA,WAjBa;EAkBb;;ASeA;EAEI;EACA;EACA;EACA;;AThBJ;EACI;EACA;EACA;EACA;EACA,WA5BM;EA6BN;EACA;EACA;;AACA;EACI;EACA;;;AUpCZ;EACI","file":"styles.css"}