106 lines
2.4 KiB
SCSS
106 lines
2.4 KiB
SCSS
section {
|
|
min-height: 100vh;
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
background-color: $background-primary;
|
|
background-image: linear-gradient(
|
|
to left bottom,
|
|
$background-primary 49%,
|
|
$background-alternative 50%
|
|
);
|
|
background-size: 100% 30px;
|
|
background-repeat: no-repeat;
|
|
background-position: bottom;
|
|
|
|
&:nth-of-type(even) {
|
|
background-color: $background-alternative;
|
|
background-image: linear-gradient(
|
|
to left bottom,
|
|
$background-alternative 49%,
|
|
$background-primary 50%
|
|
);
|
|
}
|
|
&:last-of-type {
|
|
background-image: none;
|
|
}
|
|
}
|
|
|
|
|
|
.cta{display:none;}
|
|
@media screen and (min-width: 1200px) and (orientation:landscape){
|
|
#intro{position:relative;}
|
|
.cta{display:inline;position:absolute;left:5%;bottom:15%;
|
|
height:auto;width:200px;box-shadow:none;}
|
|
.ctaTxt{display:none;}
|
|
}
|
|
|
|
|
|
.signup {
|
|
input {
|
|
display: block;
|
|
width: 90%;
|
|
margin: 0 auto;
|
|
border-radius: 0;
|
|
border: none;
|
|
padding: 5px 0;
|
|
height: 2rem;
|
|
text-align: center;
|
|
font-size: 1rem;
|
|
}
|
|
input[type="text"] {
|
|
|
|
}
|
|
input[type="submit"] {
|
|
cursor: pointer;
|
|
color: #FFF;
|
|
background: darken($background-alternative, 20);
|
|
border-bottom: 2px solid darken($background-alternative, 25);
|
|
}
|
|
}
|
|
|
|
section {
|
|
.paragraphs {
|
|
margin-bottom: 3rem;
|
|
h3, p {
|
|
max-width: 600px;
|
|
font-family: 'Roboto', sans-serif;
|
|
}
|
|
p + h3 {
|
|
margin-top: 50px;
|
|
}
|
|
}
|
|
|
|
&#intro {
|
|
h1 {
|
|
margin: 8rem 0 3rem;
|
|
}
|
|
}
|
|
|
|
&#faq {
|
|
.paragraphs {
|
|
column-count: unset;
|
|
}
|
|
ul {
|
|
list-style-type: none;
|
|
li {
|
|
display: block;
|
|
margin: 4rem 300px 0 0;
|
|
&:nth-child(even) {
|
|
margin: 4rem 0 0 300px;
|
|
}
|
|
@media screen and (max-width: $screen-phone) {
|
|
&, &:nth-child(even) {
|
|
margin: 4rem 0 0;
|
|
}
|
|
}
|
|
&:first-child {
|
|
margin-top: 0;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |