drupal-erable/web/themes/erabletheme/css/styles.css

587 lines
14 KiB
CSS
Raw Normal View History

/* GLOBAL */
/* Marianne */
@font-face {
font-family: "Marianne";
src: url("../fonts/Marianne/Marianne-Light.woff2") format("woff2"), url("../fonts/Marianne/Marianne-Light.woff") format("woff");
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: "Marianne";
src: url("../fonts/Marianne/Marianne-Light_Italic.woff2") format("woff2"), url("../fonts/Marianne/Marianne-Light_Italic.woff") format("woff");
font-weight: 400;
font-style: italic;
}
@font-face {
font-family: "Marianne";
src: url("../fonts/Marianne/Marianne-Medium.woff2") format("woff2"), url("../fonts/Marianne/Marianne-Medium.woff") format("woff");
font-weight: 800;
font-style: normal;
}
@font-face {
font-family: "Marianne";
src: url("../fonts/Marianne/Marianne-Medium_Italic.woff2") format("woff2"), url("../fonts/Marianne/Marianne-Medium_Italic.woff") format("woff");
font-weight: 800;
font-style: italic;
}
/* Barlow */
@font-face {
font-family: "Barlow";
src: url("../fonts/Barlow/barlow-light.woff2") format("woff2"), url("../fonts/Barlow/barlow_light.woff") format("woff");
font-weight: 300;
font-style: normal;
}
/* SIZES */
/* MIXINS */
a {
text-decoration: none;
}
#block-erabletheme-contenudelapageprincipale {
margin-top: 7vh;
}
/* PARTIALS */
.layout-container {
width: 100vw;
overflow: hidden;
}
.layout-container header {
width: 100vw;
background: white;
position: fixed;
top: 0;
left: 0;
box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.2);
z-index: 99;
}
.layout-container header div {
max-width: 100%;
max-height: 7vh;
display: flex;
flex-wrap: nowrap;
justify-content: space-between;
}
.layout-container header div #block-erabletheme-logorepublique {
max-width: 15vw;
}
.layout-container header div #block-erabletheme-logorepublique a {
display: flex;
align-items: center;
}
.layout-container header div #block-erabletheme-logorepublique a img {
padding-left: 3vw;
height: auto;
width: 100%;
}
.layout-container header div #block-erabletheme-logoerable {
max-width: 30vw;
}
.layout-container header div #block-erabletheme-logoerable a {
display: flex;
align-items: center;
}
.layout-container header div #block-erabletheme-logoerable a img {
height: auto;
width: 100%;
padding-top: 3px;
padding-bottom: 3px;
}
.layout-container header div #block-erabletheme-navigationprincipale {
display: none;
}
.layout-container header div #block-erabletheme-socialmedialinks {
display: none;
}
.layout-container header div #block-erabletheme-header #hamburger {
width: 4rem;
height: 100%;
background-color: #00ff80;
display: flex;
align-items: center;
justify-content: center;
}
.layout-container header div #block-erabletheme-header #hamburger h2 {
font-size: 0.8rem;
font-family: "Marianne", sans-serif;
font-weight: 800;
text-align: center;
}
.layout-container header div #block-erabletheme-header ul {
display: none;
}
.layout-container header div #block-erabletheme-header ul.active {
display: block;
position: fixed;
background-color: #314e41;
top: 7vh;
left: 0;
width: 100vw;
z-index: 0;
padding: 30px 0;
}
.layout-container header div #block-erabletheme-header ul.active li {
width: 100%;
display: flex;
justify-content: center;
padding: 6px 0;
}
.layout-container header div #block-erabletheme-header ul.active li a {
color: white;
font-family: "Marianne", sans-serif;
font-weight: 800;
padding: 4px 6px;
}
.layout-container header div #block-erabletheme-header ul.active li a.is-active {
background-color: white;
color: #314e41;
}
.layout-container > footer {
width: 100vw;
background-color: white;
z-index: 99;
box-shadow: 0px -4px 4px rgba(0, 0, 0, 0.2);
margin-top: 50px;
padding: 0 3vw;
}
.layout-container > footer #footer_left div {
margin-top: 5px;
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: nowrap;
}
.layout-container > footer #footer_left div #block-erabletheme-logorep {
max-width: 30vw;
}
.layout-container > footer #footer_left div #block-erabletheme-logorep img {
width: 100%;
height: auto;
}
.layout-container > footer #footer_left div #block-erabletheme-logoepau {
max-width: 50vw;
}
.layout-container > footer #footer_left div #block-erabletheme-logoepau img {
width: 100%;
height: auto;
}
.layout-container > footer #footer_section {
display: flex;
width: 100%;
justify-content: space-between;
align-items: center;
margin-top: 10px;
margin-bottom: 20px;
position: relative;
}
.layout-container > footer #footer_section #footer_center {
padding-left: 2vw;
width: 50%;
}
.layout-container > footer #footer_section #footer_center nav ul {
display: flex;
justify-content: space-between;
}
.layout-container > footer #footer_section #footer_center nav ul li a {
color: #314e41;
font-size: 0.8rem;
font-family: "Marianne", sans-serif;
font-weight: 800;
text-decoration: underline;
}
.layout-container > footer #footer_section #footer_right {
width: 30%;
}
.layout-container > footer #footer_section #footer_right #block-erabletheme-socialmedialinks-2 ul {
display: flex;
justify-content: space-between;
}
.layout-container > footer #footer_section #footer_right #block-erabletheme-socialmedialinks-2 ul li a span {
font-weight: lighter;
font-size: 1.4rem;
width: 2.2rem;
height: 2.2rem;
padding: 0.4rem;
border-radius: 1.1rem;
color: white;
background-color: #038788;
}
.layout-container > footer #footer_section #footer_right #block-erabletheme-socialmedialinks-2 ul li a svg.ext {
background-color: red;
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%;
}
2023-12-13 15:08:55 +01:00
.slick-container div.views-row article > div:first-of-type {
width: 100%;
2023-12-13 15:08:55 +01:00
height: 40vh;
overflow-y: hidden;
2023-12-13 15:08:55 +01:00
padding: 0 !important;
}
2023-12-13 15:08:55 +01:00
.slick-container div.views-row article > div:first-of-type > div {
width: 100%;
}
2023-12-13 15:08:55 +01:00
.slick-container div.views-row article > div:first-of-type > div > a {
max-width: 100%;
}
2023-12-13 15:08:55 +01:00
.slick-container div.views-row article > div:first-of-type > div > a img {
width: 100%;
height: auto;
}
.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;
}
2023-12-13 15:08:55 +01:00
.slick-container footer a svg {
display: none;
}
.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;
2023-12-13 15:08:55 +01:00
font-size: 1rem;
line-height: 1.4;
}
.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;
2023-12-13 15:08:55 +01:00
color: #038788;
}
.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;
}
2023-12-13 15:08:55 +01:00
.actu_full .liens_fixed {
padding: 0 3vw;
text-align: right;
margin: 2rem 0;
}
.actu_full .liens_fixed 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;
}
.actu_full .liens_fixed a svg {
display: none;
}
.views-row article > div:first-of-type {
width: 100%;
max-height: 30vh;
height: auto;
overflow: hidden;
padding-left: 3vw;
padding-right: 3vw;
}
.views-row article > div:first-of-type a img {
height: auto;
width: 100%;
}
.views-row article .preview_meta {
font-family: "Marianne", sans-serif;
font-size: 0.9rem;
width: auto;
display: flex;
justify-content: space-between;
color: #038788;
border-top: solid 1px #038788;
margin: 0 3vw;
margin-top: 1.3rem;
padding-top: 0.7rem;
}
.views-row article .preview_meta > div:first-of-type {
font-weight: 800;
}
.views-row article .preview_sous_titre {
font-family: "Marianne", sans-serif;
font-size: 0.9rem;
padding: 2px 3vw;
}
.views-row article h2 {
font-family: "Barlow", sans-serif;
font-size: 2.3rem;
padding: 0 3vw;
margin-top: 1rem;
color: #038788;
}
.views-row article h2 a {
color: #038788;
}
/* PAGES */
.home_introduction {
border-bottom: solid 2px #038788;
width: 100%;
2023-12-13 15:08:55 +01:00
padding: 2rem 0;
}
.home_introduction h2 {
display: none;
}
2023-12-13 15:08:55 +01:00
.home_introduction article > div {
max-height: none !important;
}
.home_introduction article > div p {
font-family: "Marianne", sans-serif;
2023-12-13 15:08:55 +01:00
font-size: 1rem;
line-height: 1.4;
}
.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;
}
2023-12-13 15:08:55 +01:00
.home_introduction div.more-link a svg {
display: none;
}
.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;
2023-12-13 15:08:55 +01:00
color: #038788;
margin-bottom: 1.2rem;
}
.home_consultation h2 a {
color: #038788;
}
2023-12-13 15:08:55 +01:00
.home_consultation article > div {
max-height: none !important;
}
.home_consultation article > div p {
font-family: "Marianne", sans-serif;
2023-12-13 15:08:55 +01:00
font-size: 1rem;
line-height: 1.4;
}
.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;
}
2023-12-13 15:08:55 +01:00
.home_consultation div.more-link a svg {
display: none;
}
2023-12-13 15:08:55 +01:00
.fullpage {
margin-top: -3vh;
padding-top: 3vh;
background: linear-gradient(to bottom, #fcf9ee 80%, white 100%);
}
.fullpage > h2 {
font-family: "Barlow", sans-serif;
font-size: 2.3rem;
padding: 0 3vw;
margin-top: 1rem;
color: #038788;
padding-top: 5vh;
margin-bottom: 7vh;
}
.fullpage > h2 a {
color: #038788;
}
.fullpage .fullpage_content > h2 {
font-family: "Barlow", sans-serif;
font-size: 2.3rem;
padding: 0 3vw;
margin-top: 1rem;
color: #038788;
padding-top: 5vh;
}
.fullpage .fullpage_content > h2 a {
color: #038788;
}
.fullpage .fullpage_content .sous_titre {
font-family: "Marianne", sans-serif;
font-size: 1rem;
line-height: 1.4;
padding: 0 3vw;
}
.fullpage .fullpage_content p {
font-family: "Marianne", sans-serif;
font-size: 1rem;
line-height: 1.4;
padding: 0 3vw;
margin-bottom: 2rem;
}
.fullpage .fullpage_content p:first-of-type {
margin-top: 7vh;
}
.fullpage .fullpage_content .liens_fixed {
padding: 0 3vw;
text-align: right;
margin: 2rem 0;
}
.fullpage .fullpage_content .liens_fixed 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;
}
.fullpage .fullpage_content .liens_fixed a svg {
display: none;
}
.fullpage .views-row {
margin-bottom: 8vh;
}
.content_gouvernance .views-row {
margin-bottom: 2vh;
}
.content_gouvernance .views-row article > h2 {
margin-bottom: 2vh;
}
.content_gouvernance .views-row article > h2 a {
color: black;
font-size: 1.6rem;
}
.content_gouvernance .views-row article > div:first-of-type {
max-height: none;
}
.content_gouvernance .views-row article .paragraph--type--membre-equipe {
height: auto;
display: grid;
grid-template-columns: 30vw 1fr;
grid-auto-rows: auto;
margin-bottom: 5vh;
}
.content_gouvernance .views-row article .paragraph--type--membre-equipe > div:first-of-type {
grid-row: 1/3;
display: flex;
align-items: center;
}
.content_gouvernance .views-row article .paragraph--type--membre-equipe > div:first-of-type > div {
width: 20vw;
height: 20vw;
overflow: hidden;
border-radius: 10vw;
}
.content_gouvernance .views-row article .paragraph--type--membre-equipe > div:first-of-type > div img {
width: 100%;
height: auto;
}
.content_gouvernance .views-row article .paragraph--type--membre-equipe > div:nth-of-type(2) {
font-family: "Marianne", sans-serif;
font-size: 1.3rem;
color: #038788;
font-weight: 800;
margin-bottom: 2vh;
}
.content_gouvernance .views-row article .paragraph--type--membre-equipe > div:nth-of-type(3) {
display: none;
}
.content_gouvernance .views-row article .paragraph--type--membre-equipe > div:last-of-type {
font-family: "Marianne", sans-serif;
font-size: 1rem;
line-height: 1.4;
}
/*# sourceMappingURL=styles.css.map */