ulovliglogning.dk/_scss/module/_indexpage.scss

82 lines
1.4 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;
2018-01-24 22:24:26 +00:00
//flex-direction: column;
align-items: center;
justify-content: center;
2018-01-24 22:24:26 +00:00
box-sizing: border-box;
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-24 22:24:26 +00:00
.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;
}
2018-01-23 22:45:06 +00:00
}
.paragraphs {
2018-01-24 22:24:26 +00:00
padding-left: 3rem;
2018-01-20 23:49:35 +00:00
}
2018-01-24 22:24:26 +00:00
p {
max-width: 40rem;
}
}
2018-01-20 23:49:35 +00:00
2018-01-24 22:24:26 +00:00
/*section {
2018-01-20 23:49:35 +00:00
&#faq {
.paragraphs {
2018-01-24 22:24:26 +00:00
//column-count: unset;
2018-01-20 23:49:35 +00:00
}
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;
}
}
}
}
}
2018-01-24 22:24:26 +00:00
}*/