Files
isdefoobaropen/src/style.scss

64 lines
1.0 KiB
SCSS

body {
margin: 0;
overflow: hidden;
text-align: center;
font-family: verdana, sans-serif;
}
#toggle-button {
z-index: 2;
position: absolute;
top: 0;
left: 0;
}
// Displays something full-screen
@mixin full-screen {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
// Styles for the "Open" page
canvas {
@include full-screen;
background: #000;
}
// Styles for the "closed" frame.
@keyframes fadeOut {
0% {
opacity: 1;
}
100% {
opacity: 0;
}
}
body.closed {
background: #f66;
.closed_notice {
position: absolute;
font-weight: bold;
font-size: 16pt;
text-transform: uppercase;
animation: fadeOut 3s forwards;
animation-timing-function: linear;
animation-iteration-count: 1;
}
#stop-overlay {
@include full-screen;
z-index: 1;
background-size: contain;
background-repeat: no-repeat;
// File is served from a subdirectory.
background-image: url(../stop.svg);
background-position: 50% 50%;
}
}