ulovliglogning.dk/_scss/module/_indexpage.scss

95 lines
1.8 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-25 23:17:09 +00:00
flex-wrap: wrap;
align-items: center;
justify-content: center;
2018-01-24 22:24:26 +00:00
box-sizing: border-box;
2018-01-25 23:17:09 +00:00
padding: 4rem 0;
2018-01-25 21:35:10 +00:00
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,
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;
2018-01-25 23:17:09 +00:00
word-break: break-word;
2018-01-24 22:24:26 +00:00
hyphens: auto;
text-align: right;
align-items: baseline;
flex-direction:column;
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-25 21:35:10 +00:00
.cta{display:none;}
@media screen and (min-width: 1200px) and (orientation:landscape){
#intro{position:relative;}
.cta{display:inline;position:absolute;left:5%;bottom:15%;
height:auto;width:200px;box-shadow:none;}
.ctaTxt{display:none;}
}
.signup {
input {
display: block;
width: 90%;
margin: 0 auto;
border-radius: 0;
border: none;
padding: 5px 0;
height: 2rem;
text-align: center;
font-size: 1rem;
}
input[type="text"] {
}
input[type="submit"] {
cursor: pointer;
color: #FFF;
background: darken($background-alternative, 20);
border-bottom: 2px solid darken($background-alternative, 25);
}
}
2018-01-20 23:49:35 +00:00
section {
2018-01-25 21:35:10 +00:00
&#intro {
h1 {
margin: 8rem 0 3rem;
}
}
2018-01-25 23:23:50 +00:00
}