server/www/screen.css
2018-08-26 18:43:08 +02:00

35 lines
464 B
CSS

body > div {
display: none;
}
body > div.on {
display: block;
}
#dialog {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
background: rgba(0, 0, 0, 0.1);
}
#dialog > div {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
background: #fff;
padding: 0 1em;
border: 1px solid #aaa;
border-radius: 0.5em;
}
#dialog p.answers {
text-align: center;
}
#dialog button {
display: inline-block;
}