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 */