forked from ulovliglogning/ulovliglogning.dk
69 lines
1.2 KiB
SCSS
69 lines
1.2 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 50%,
|
|
$background-alternative 50%
|
|
);
|
|
background-size: 100% 60px;
|
|
background-repeat: no-repeat;
|
|
background-position: bottom;
|
|
|
|
&:nth-of-type(even) {
|
|
background-color: $background-alternative;
|
|
background-image: linear-gradient(
|
|
to left bottom,
|
|
$background-alternative 50%,
|
|
$background-primary 50%
|
|
);
|
|
}
|
|
&:last-of-type {
|
|
background-image: none;
|
|
}
|
|
}
|
|
|
|
section {
|
|
.paragraphs {
|
|
column-count: 2;
|
|
h3, p {
|
|
max-width: 300px;
|
|
font-family: 'Roboto', sans-serif;
|
|
}
|
|
p + h3 {
|
|
margin-top: 50px;
|
|
}
|
|
@media screen and (max-width: $screen-phone) {
|
|
& {
|
|
column-count: unset;
|
|
}
|
|
}
|
|
}
|
|
|
|
&#faq {
|
|
.paragraphs {
|
|
column-count: unset;
|
|
}
|
|
ul {
|
|
list-style-type: none;
|
|
li {
|
|
display: block;
|
|
margin: 0 300px 0 0;
|
|
&:nth-child(even) {
|
|
margin: 0 0 0 300px;
|
|
}
|
|
@media screen and (max-width: $screen-phone) {
|
|
& {
|
|
margin: 0 !important;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |