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

113 lines
2.7 KiB
SCSS
Raw Normal View History

.home_introduction {
2024-10-31 01:32:57 +01:00
background-color: rgb(27, 197, 112); // to remove
2023-12-18 11:48:10 +01:00
position: relative;
border-bottom: solid 2px $teal;
width: 100%;
padding: 4rem 0;
h2 {
display: none;
}
2023-12-18 11:48:10 +01:00
> 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 {
2023-12-13 15:08:55 +01:00
@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 {
2024-01-06 07:56:23 +01:00
h2, h3, h4 {
@include sous_titre_alt();
2024-01-06 09:39:13 +01:00
@media (min-width: $breakpoint_desktop) {
max-width: 50vw;
margin-left: 12.5vw;
}
}
}
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;
}
2024-10-31 01:32:57 +01:00
}