mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-23 10:07:35 +00:00
45 lines
683 B
CSS
45 lines
683 B
CSS
body {
|
|
margin: 0;
|
|
}
|
|
|
|
body.overlay-open {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.screenshot {
|
|
height: 100%;
|
|
opacity: 0;
|
|
transition: opacity 0.2s;
|
|
}
|
|
|
|
.screenshot.loaded {
|
|
opacity: 1;
|
|
/* https://stackoverflow.com/a/16833496/1263117 */
|
|
-webkit-backface-visibility: hidden;
|
|
}
|
|
|
|
.overlay {
|
|
z-index: 1000;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: rgba(0, 0, 0, 0);
|
|
transition: background-color 400ms ease-out;
|
|
}
|
|
|
|
body.overlay-open .overlay {
|
|
background: rgba(0, 0, 0, 0.9);
|
|
}
|
|
|
|
#close-modal {
|
|
color: white;
|
|
position: fixed;
|
|
top: 10px;
|
|
right: 10px;
|
|
padding: 0;
|
|
font-size: 50px;
|
|
line-height: 50px;
|
|
text-decoration: none;
|
|
}
|