ulovliglogning.dk/_scss/module/_indexpage.scss

73 lines
1.2 KiB
SCSS
Raw Normal View History

2018-01-20 23:49:35 +00:00
section {
min-height: 100vh;
position: relative;
2018-01-20 23:49:35 +00:00
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background-color: $background-primary;
background-image: linear-gradient(
to left bottom,
2018-01-22 15:05:07 +00:00
$background-primary 49%,
$background-alternative 50%
);
2018-01-22 15:05:07 +00:00
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,
2018-01-22 15:05:07 +00:00
$background-alternative 49%,
$background-primary 50%
);
2018-01-20 23:49:35 +00:00
}
&:last-of-type {
background-image: none;
2018-01-20 23:49:35 +00:00
}
}
2018-01-20 23:49:35 +00:00
section {
2018-01-20 23:49:35 +00:00
.paragraphs {
2018-01-22 15:05:07 +00:00
margin-bottom: 3rem;
2018-01-20 23:49:35 +00:00
h3, p {
max-width: 600px;
2018-01-20 23:49:35 +00:00
font-family: 'Roboto', sans-serif;
}
p + h3 {
margin-top: 50px;
}
}
&#intro {
h1 {
margin: 8rem 0 3rem;
2018-01-20 23:49:35 +00:00
}
}
&#faq {
.paragraphs {
column-count: unset;
}
ul {
list-style-type: none;
li {
display: block;
margin: 4rem 300px 0 0;
2018-01-20 23:49:35 +00:00
&:nth-child(even) {
margin: 4rem 0 0 300px;
2018-01-20 23:49:35 +00:00
}
@media screen and (max-width: $screen-phone) {
&, &:nth-child(even) {
margin: 4rem 0 0;
2018-01-20 23:49:35 +00:00
}
}
&:first-child {
margin-top: 0;
}
2018-01-20 23:49:35 +00:00
}
}
}
}