client/src/screen.css

72 lines
865 B
CSS

body {
background: #000;
font-family: mono;
line-height: 1.5em;
}
#screen {
position: absolute;
width: 400px;
height: 300px;
border: 1px solid #000;
top: 50%;
left: 50%;
margin: -150px 0 0 -200px;
background: #fff;
}
#screen .framed {
border: 3px double #000;
border-radius: 0.5em;
}
#screen .text {
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 4.4em;
}
#screen .text p {
margin: 0;
padding: 0.5em;
}
ul.menu {
list-style: none;
padding: 0 0 0 1em;
margin: 0;
}
ul.menu .selected {
background: #000;
color: #fff;
}
/* 1st frame */
#screen.frame1 * {
position: absolute;
}
#screen.frame1 p {
width: 100%;
text-align: center;
margin: 0;
transform: translateY(-50%);
}
#screen.frame1 .title {
font-size: 2em;
top: 50%;
}
#screen.frame1 .subtitle {
top: 75%;
}
/* 2nd frame */
#screen.frame2 ul {
width: 7em;
}