ulovliglogning.dk/_scss/module/_indexpage.scss

85 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: 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;
}
}
}
}
}*/