You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mvfront-react/styles/scss/_homePage.scss

244 lines
4.6 KiB

/** Store size of screens for media queries **/
$mobile: 910px;
$tablet: 1210px;
$laptop: 1440px;
$desktop: 1680px;
/** HOMEPAGE **/
.sectionOneHomeForm {
max-width: 100% !important;
background-color: #2400fd;
}
.sectionOneHomeRowOne {
height: 100%;
}
.sectionOneHomeContent {
display: flex;
flex-direction: column;
align-content: flex-start;
justify-content: space-around;
max-width: 60%;
padding-left: 8%;
padding-right: 8%;
flex-basis: auto;
}
.sectionOneHomeContent h2 {
margin-bottom: 10%;
}
.sectionOneHomeInput {
height: 48px;
box-shadow: 0px 2px 0px rgba(255, 255, 255, 0.32);
border: none;
margin: 8px 0px;
font-family: DM Sans;
font-style: normal;
font-weight: 500;
font-size: 17px;
line-height: 24px;
letter-spacing: -0.5px;
color: #c3bfd8;
border-radius: 0%;
margin-bottom: 35px;
}
.sectionOneHomeInput:focus {
background-color: transparent;
box-shadow: 0px 2px 0px rgba(255, 255, 255, 0.32);
border: none;
border-radius: 0%;
color: #ffffff;
}
.sectionOneHomeInput::placeholder {
color: #c3bfd8;
}
.maxLength {
color: #c3bfd8;
}
.noAds p {
font-size: 1em;
line-height: 16px;
margin-top: 32px;
opacity: 0.6;
}
.sectionTwoHome {
background: $mv-dark-blue-color;
padding: 10%;
background-image: url("/vote.svg");
background-position: top 46% right;
background-repeat: no-repeat;
}
.sectionTwoHomeImage {
display: none;
}
.sectionTwoRowOne {
text-align: center;
justify-content: space-around;
margin-bottom: 15%;
}
.sectionTwoRowOneCol P {
margin: auto 20%;
}
.btn-sectionTwoHome {
border: none;
box-shadow: 0px 4px 0px #7a64f9;
width: 100%;
margin-top: 85px;
}
.sharing {
width: 100%;
text-align: center;
justify-content: center;
margin-top: 20%;
}
.sharing p {
margin-right: 15px;
margin-top: 32px;
}
.sharing a {
margin: 0% 15px;
display: flex;
}
@include media-breakpoint-up("md") {
.sectionOneHomeForm {
background-image: url("/chevron-bicolore.svg");
background-size: contain;
background-position: top right -260px;
background-repeat: no-repeat;
}
}
@include media-breakpoint-up("lg") {
.sectionOneHomeForm {
background-position: top right -150px;
}
}
@include media-breakpoint-up("xl") {
.sectionOneHomeForm {
background-position: top right -50px;
}
}
@include media-breakpoint-down("sm") {
.sectionOneHomeForm {
background-image: unset;
}
.sectionOneHomeContent {
flex-basis: auto;
margin: auto 30px;
max-width: 80%;
}
.sectionTwoHome {
background-position: 110% 54%;
}
.sectionTwoRowOne {
flex-direction: column;
margin-bottom: 66%;
}
.sectionTwoRowOneCol {
padding: 0px;
}
.sectionTwoRowOneCol h4 {
line-height: 28px;
}
.sectionTwoRowOneCol p {
line-height: 18px;
margin: 40px 13% 60px;
}
}
@include media-breakpoint-up("md") {
.sectionOneHomeForm,
.sectionOneHomeContent {
min-height: 100vh;
}
.sectionTwoRowTwoCol h3 {
margin-bottom: 70px;
}
}
@include media-breakpoint-down("sm") {
.sectionOneHomeContent {
align-content: center;
justify-content: space-around;
max-width: 100%;
margin: auto 30px;
flex-basis: auto;
}
.sectionOneHomeInput {
margin-top: 30px !important;
}
.sectionOneHomeContent img {
margin: 7% auto;
}
.sectionOneHomeContent .row {
text-align: center;
}
.sectionOneHomeContent .row h2 {
margin: auto;
font-size: 32px;
line-height: 38px;
}
.sectionOneHomeContent .row h4 {
margin: auto;
font-size: 20px;
line-height: 32px;
}
.sectionOneHomeContent .row p {
margin: 32px auto;
}
.sectionOneHomeContent .row button {
width: 100%;
}
.sectionTwoHome {
background: $mv-dark-blue-color;
background-image: none;
padding: 0px;
}
.sectionTwoHomeImage {
display: inline-block;
text-align: right;
width: 100%;
}
.sectionTwoHomeImage img {
width: 75%;
}
.sectionTwoRowOne {
margin: 70px auto 0px;
padding: 10%;
width: 100%;
}
.sectionTwoRowTwoCol {
margin: 30px;
flex-direction: column;
text-align: center;
}
.sectionTwoRowTwoCol h3 {
font-size: 40px;
line-height: 42px;
}
.sectionTwoRowTwoCol h5 {
font-size: 16px;
line-height: 18px;
}
.sectionTwoRowTwoColText p {
font-size: 16px;
line-height: 22px !important;
margin: 16px auto 50px;
}
.sectionTwoRowThreeCol {
width: 100%;
margin: 30px;
text-align: center;
}
.sectionTwoRowThreeCol img {
margin-right: 6px !important;
}
.sharing p {
font-size: 12px;
line-height: 16px;
}
.sharing {
margin: 60px 0px 75px;
}
}