compass/style.css

70 lines
1.0 KiB
CSS

body {
margin: 0;
height: 100vh;
width: 100vw;
background: #000;
color: #EEE;
}
.error, noscript {
color: #F22;
font-size: 22px;
text-align: center;
padding: 4vw;
background-color: #000;
background-color: rgba(0,0,0,.85);
} .error {
display: none;
}
.coord {
height: 50%;
text-align: center;
font-size: 44px;
font-family: monospace;
}
#rose {
width: 100%;
-webkit-transition-duration: 2s;
transition-duration: .2s;
}
@media (orientation:portrait) {
header, main, footer, .error, noscript {
position: absolute;
} header, main, footer {
width: 90vw;
padding: 5vw;
} .error, noscript {
width: 82vw;
}
header {
height: calc(60vh - 60vw);
top: 0;
} main {
height: 90vw;
top: calc(60vh - 50vw);
} footer {
height: calc(40vh - 60vw);
bottom: 0;
}
main .error {
top: 50%;
transform: translateY(-50%);
padding: 35vw 4vw;
}
}
@media (orientation:landscape) {
}
#error { display: none; }
a {
color: inherit;
text-decoration: underline;
} a:hover {
text-decoration: none;
}