feat(adhesion): tmp adhesion

This commit is contained in:
Matthieu Bessat 2023-07-14 11:57:56 +02:00
parent 16aa9bd4bb
commit be64ca4110
16 changed files with 348 additions and 20 deletions

131
assets/sass/adhesion.scss Normal file
View file

@ -0,0 +1,131 @@
.adhesion-body {
overflow: hidden !important;
}
.root {
min-height: 100%;
}
.adhesion-container {
background-color: black;
height: 100%;
width: 100%;
min-height: 100%;
height: 90vh;
.video-presentation {
height: 100%;
iframe {
width: 100%;
height: 100%;
}
}
}
.adhesion {
}
.adhesion-footer {
background-color: $background;
width: 100%;
height: 10vh;
padding: 1rem 0;
display: flex;
justify-content: center;
align-items: center;
}
.adhesion-btns {
display: flex;
justify-content: space-between;
}
.btn {
background-color: white;
opacity: 0.8;
transition: 0.2s all;
.btn__icon {
margin-right: 1rem;
width: 2rem;
height: 2rem;
}
&:hover {
opacity: 1;
}
}
.subscribe-button {
text-transform: uppercase;
display: flex;
justify-content: center;
align-items: center;
border-radius: 35px;
color: black;
text-decoration: none;
padding: .7rem 2rem;
}
.socials {
display: flex;
list-style-type: none;
padding: 0;
margin: 0;
li {
background-color: white;
border-radius: 50%;
width: 3rem;
height: 3rem;
margin-right: 1rem;
a {
display: block;
width: 100%;
height: 100%;
text-transform: uppercase;
svg {
display: block;
padding: .7rem;
fill: black;
width: 100%;
height: 100%;
}
}
}
}
@media (max-width: $md-breakpoint) {
.adhesion-container {
height: 85vh;
}
.adhesion-footer {
height: 15vh;
}
}
@media (max-width: $xs-breakpoint) {
.adhesion-container {
height: 80vh;
}
.adhesion-footer {
height: 20vh;
.subscribe-button {
margin-bottom: 1rem;
}
.adhesion-btns {
flex-direction: column;
}
.socials {
justify-content: center;
}
}
}

View file

@ -81,14 +81,34 @@ body {
.site-footer-socials__logo {
width: 2rem;
height: 2rem;
fill: white;
}
}
@media (max-width: $md-breakpoint) {
@media (max-width: $sm-breakpoint) {
.site-footer__content {
display: flex;
justify-content: start;
justify-content: center;
flex-direction: column;
align-items: center;
}
.site-footer__title-recall {
text-align: center;
}
.site-footer-socials {
justify-content: center;
margin-bottom: 2.5rem;
}
.inline-menu-list {
display: block;
text-align: center;
li {
margin-right: 0;
}
}
}

View file

@ -35,6 +35,7 @@ $accent-dark: #A56F09;
@import 'sections.scss';
@import 'carousel.scss';
@import 'countdown.scss';
@import 'adhesion.scss';
// components
@import 'tags.scss';