toutes les pages de mobile ok

This commit is contained in:
Valentin
2023-12-14 06:01:09 +01:00
parent 1bf7b2b251
commit 6c4cf6f696
8 changed files with 236 additions and 19 deletions

View File

@@ -98,8 +98,9 @@ a {
height: 100%;
background-color: #00ff80;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
justify-content: space-around;
}
.layout-container header div #block-erabletheme-header #hamburger h2 {
font-size: 0.8rem;
@@ -107,35 +108,69 @@ a {
font-weight: 800;
text-align: center;
}
.layout-container header div #block-erabletheme-header #hamburger .burger-icon {
width: 2rem;
height: 1.5rem;
display: flex;
flex-direction: column;
justify-content: space-between;
padding-bottom: 0.5rem;
}
.layout-container header div #block-erabletheme-header #hamburger .burger-icon div {
border-bottom: solid 1px black;
width: 100%;
background-color: black;
opacity: 1;
transition: opacity 0.2s ease-out, transform 0.4s ease-out;
transform: none;
}
.layout-container header div #block-erabletheme-header #hamburger .burger-icon.open div:first-of-type {
transform: translate(0rem, 0.5rem) rotate(-45deg);
}
.layout-container header div #block-erabletheme-header #hamburger .burger-icon.open div:nth-of-type(2) {
opacity: 0;
}
.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 {
display: none;
}
.layout-container header div #block-erabletheme-header ul.active {
display: block;
height: auto;
max-height: 0vh;
transition: max-height 0.9s ease, padding 0.5s ease-out;
position: fixed;
background-color: #314e41;
top: 7vh;
left: 0;
width: 100vw;
z-index: 0;
padding: 30px 0;
padding: 0;
}
.layout-container header div #block-erabletheme-header ul.active li {
.layout-container header div #block-erabletheme-header ul li {
width: 100%;
display: flex;
justify-content: center;
padding: 6px 0;
opacity: 0;
transition: opacity 0.3s ease;
}
.layout-container header div #block-erabletheme-header ul.active li a {
.layout-container header div #block-erabletheme-header ul 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 {
.layout-container header div #block-erabletheme-header ul li a.is-active {
background-color: white;
color: #314e41;
}
.layout-container header div #block-erabletheme-header ul li.visible {
opacity: 1;
}
.layout-container header div #block-erabletheme-header ul.active {
padding: 30px 0;
max-height: 100vh;
}
.layout-container > footer {
width: 100vw;
@@ -539,6 +574,7 @@ a {
margin-bottom: 2vh;
}
.content_gouvernance .views-row article > h2 a {
font-family: "Barlow", sans-serif;
color: black;
font-size: 1.6rem;
}
@@ -583,4 +619,58 @@ a {
line-height: 1.4;
}
.content_partenaires .views-row {
margin-bottom: 2vh;
}
.content_partenaires .views-row article > h2 {
margin-bottom: 2vh;
}
.content_partenaires .views-row article > h2 a {
font-family: "Barlow", sans-serif;
color: black;
font-size: 1.6rem;
}
.content_partenaires .views-row article > div:first-of-type {
max-height: none;
display: flex;
flex-direction: column;
align-items: center;
}
.content_partenaires .views-row article > div:first-of-type > div:first-of-type > div {
width: 40vw;
height: auto;
overflow: hidden;
margin-bottom: 1rem;
}
.content_partenaires .views-row article > div:first-of-type > div:first-of-type > div img {
width: 100%;
height: auto;
mix-blend-mode: darken;
}
.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;
}
.content_partenaires .views-row article > div:first-of-type > div:last-of-type {
width: 100%;
text-align: right;
padding-bottom: 2rem;
margin-top: 1rem;
}
.content_partenaires .views-row article > div:first-of-type > div:last-of-type 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;
}
.content_partenaires .views-row article > div:first-of-type > div:last-of-type a svg {
display: none;
}
/*# sourceMappingURL=styles.css.map */