forked from ulovliglogning/ulovliglogning.dk
82 lines
1.4 KiB
SCSS
82 lines
1.4 KiB
SCSS
section {
|
|
min-height: 100vh;
|
|
position: relative;
|
|
display: flex;
|
|
//flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
box-sizing: border-box;
|
|
|
|
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;
|
|
}
|
|
|
|
.content {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
h1 {
|
|
width: 22rem;
|
|
word-break: break-word;
|
|
|
|
-webkit-hyphens: auto;
|
|
-moz-hyphens: auto;
|
|
-ms-hyphens: auto;
|
|
hyphens: auto;
|
|
text-align: right;
|
|
align-items: baseline;
|
|
flex-direction:column;
|
|
.even & {
|
|
color: $color-international-orange;
|
|
}
|
|
}
|
|
|
|
.paragraphs {
|
|
padding-left: 3rem;
|
|
}
|
|
p {
|
|
max-width: 40rem;
|
|
}
|
|
}
|
|
|
|
/*section {
|
|
&#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;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}*/ |