ulovliglogning.dk/_scss/module/_indexpage.scss

93 lines
1.9 KiB
SCSS
Raw Permalink Normal View History

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;}
}
nav {
display: flex;
background: #555;
position: absolute;
top: 0;
left: 0;
width: 100%;
overflow-x: auto;
overflow-y: hidden;
-webkit-overflow-scrolling: touch;
white-space: nowrap;
.js & {
-ms-overflow-style: -ms-autohiding-scrollbar;
&::-webkit-scrollbar {
display: none;
}
}
.langSwitcher a {
margin-right: 0;
&.activeLang {
background: $background-alternative;
}
}
.center {
float: left;
}
a {
display: inline-block;
padding: 10px;
box-shadow: none;
font-weight: normal;
&[data-link-for="wannahelp"]{
background: $background-alternative;
animation: nav-link-pulse 2s linear infinite;
}
}
.left, .right {
flex: 1;
}
}
@keyframes nav-link-pulse {
0% {
background: $background-alternative;
}
50% {
background: darken($background-alternative, 15);
}
100% {
background: $background-alternative;
}
}
2018-01-25 21:35:10 +00:00
.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="submit"] {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
2018-01-25 21:35:10 +00:00
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 {
2018-01-26 14:52:53 +00:00
//margin: 8rem 0 3rem;
2018-01-25 21:35:10 +00:00
}
}
2018-01-25 23:23:50 +00:00
}