drupal-erable/web/themes/erabletheme/scss/_home.scss

109 lines
2.6 KiB
SCSS

.home_introduction {
position: relative;
border-bottom: solid 2px $teal;
width: 100%;
padding: 4rem 0;
h2 {
display: none;
}
> div {
z-index: 1;
position: relative;
}
> .logo {
text-align: center;
width: 100%;
margin-bottom: 3rem;
img {
width: 35vw;
@media (min-width: $breakpoint_tablet) {
width: 25vw;
}
@media (min-width: $breakpoint_desktop) {
width: 18vw;
}
}
}
article > div {
height: unset !important;
p {
@include main_text_content();
@media (min-width: $breakpoint_desktop) {
margin-left: 12.5vw;
max-width: 50vw;
}
}
@media (min-width: $breakpoint_tablet) {
padding: 0 !important;
}
}
div.more-link {
@include fluo_button();
margin-top: 3rem;
margin-bottom: 1.5rem;
display: flex;
justify-content: center;
align-items: center;
@media (min-width: $breakpoint_desktop) {
display: flex;
justify-content: flex-end;
}
}
@media (min-width: $breakpoint_tablet) {
padding-left: 12.5vw;
padding-right: 12.5vw;
}
}
.home_consultation {
position: relative;
@include beige_gradient();
width: 100%;
padding: 4rem 0;
h2 {
@include main_title();
margin-bottom: 1.2rem;
@media (min-width: $breakpoint_tablet) {
padding-left: 0 !important;
}
@media (min-width: $breakpoint_desktop) {
margin-left: 12.5vw;
max-width: 50vw;
}
}
h2 + div {
h2, h3 {
@include sous_titre_alt();
margin-left: 12.5vw;
max-width: 50vw;
}
}
article > div {
height: unset !important;
p {
@include main_text_content();
@media (min-width: $breakpoint_desktop) {
margin-left: 12.5vw;
max-width: 50vw;
}
}
@media (min-width: $breakpoint_tablet) {
padding: 0 !important;
}
}
div.more-link {
@include fluo_button();
margin-top: 3rem;
display: flex;
justify-content: center;
align-items: center;
@media (min-width: $breakpoint_desktop) {
display: flex;
justify-content: flex-end;
}
}
@media (min-width: $breakpoint_tablet) {
padding-left: 12.5vw;
padding-right: 12.5vw;
}
}