190 lines
2.9 KiB
CSS
190 lines
2.9 KiB
CSS
body {
|
|
background-color: black;
|
|
color: white;
|
|
font-size: 100%;
|
|
font-family: sans-serif;
|
|
overflow: hidden;
|
|
}
|
|
|
|
div#error {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
width: 40rem;
|
|
margin-left: -20rem;
|
|
margin-top: -1.5rem;
|
|
background-color: red;
|
|
font-size: 1.5rem;
|
|
text-align: center;
|
|
z-index: 100;
|
|
padding: 0.8rem;
|
|
border-radius: 1rem;
|
|
|
|
display: none;
|
|
}
|
|
|
|
div#status {
|
|
height: 1.2rem;
|
|
font-size: 0.7rem;
|
|
position: absolute;
|
|
top: 100%;
|
|
left: 0;
|
|
margin-top: -1.2rem;
|
|
width: 100%;
|
|
z-index: 50;
|
|
text-align: right;
|
|
}
|
|
|
|
div#status p {
|
|
padding: 0;
|
|
padding-right: 0.8rem;
|
|
margin: 0;
|
|
display: inline;
|
|
}
|
|
|
|
div#board {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
}
|
|
|
|
div#board div.category {
|
|
margin: 0.25rem;
|
|
}
|
|
|
|
div#board div.panel, div#board div.header {
|
|
background-color: #0d0b70;
|
|
width: 15rem;
|
|
height: 4rem;
|
|
margin-bottom: 0.5rem;
|
|
text-align: center;
|
|
border-radius: 0.25rem;
|
|
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
}
|
|
|
|
div#board div.header {
|
|
font-size: 1.5rem;
|
|
margin-bottom: 1.5rem;
|
|
height: 8rem;
|
|
}
|
|
|
|
div#board div.panel {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
div#board div.solved {
|
|
background-color: #000010;
|
|
color: #202020;
|
|
}
|
|
|
|
div#board div.narrow {
|
|
width: 10rem;
|
|
height: 5rem;
|
|
}
|
|
|
|
div#host {
|
|
width: 30rem;
|
|
background-color: red;
|
|
padding: 0.5rem;
|
|
margin-left: 1rem;
|
|
}
|
|
|
|
div#contestants {
|
|
width: 100%;
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
}
|
|
|
|
div.contestant {
|
|
width: 18rem;
|
|
height: 8rem;
|
|
background-color: #1d1b90;
|
|
border-radius: 0.5rem;
|
|
margin-left: 1.5rem;
|
|
margin-right: 1.5rem;
|
|
text-align: center;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
}
|
|
|
|
div.contestant h1 {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
div.contestant h2 {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
div.contestant h3 {
|
|
font-size: 1rem;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
div.buzz {
|
|
border: 4px solid red;
|
|
}
|
|
|
|
div#question {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
width: 80rem;
|
|
height: 40rem;
|
|
margin-left: -40rem;
|
|
margin-top: -20rem;
|
|
background-color: #1d1b90;
|
|
border: 4px solid black;
|
|
font-size: 1.5rem;
|
|
text-align: center;
|
|
z-index: 90;
|
|
border-radius: 1rem;
|
|
display: none;
|
|
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
div#question div.header {
|
|
font-size: 3rem;
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
div#question div.inner {
|
|
}
|
|
|
|
div#question div.inner img {
|
|
width: auto;
|
|
height: 30rem;
|
|
}
|
|
|
|
div.buzz {
|
|
background-color: #901d1b;
|
|
height: 5rem;
|
|
}
|
|
|
|
div.choice {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
}
|
|
|
|
div.ack {
|
|
background-color: green;
|
|
width: 10rem;
|
|
height: 2em;
|
|
}
|
|
|
|
div.nack {
|
|
background-color: red;
|
|
width: 10rem;
|
|
height: 2em;
|
|
}
|