quiz/public/monitor.css

75 lines
1.3 KiB
CSS
Raw Normal View History

2021-02-02 19:56:48 +01:00
:root {
--citrus: #c2d72f;
--bleue: #0093ff;
--marine: #20dfb2;
--main-bg-color: var(--marine);
--main-fg-color: var(--bleue);
--transparent: #0f0;
}
body {
font-family: "Arial Rounded MT Bold", sans-serif;
background-color: black;
margin: 0px auto;
overflow: hidden;
2021-02-02 19:56:48 +01:00
color: black;
}
* {
margin: 0;
padding: 0;
}
#info {
2021-02-02 19:56:48 +01:00
background-color: var(--main-bg-color);
padding: 1em 0 0 1em;
width: 1280px;
height: 720px;
outline: 10px solid gold;
}
.player {
width: 336px;
display: flex;
flex-direction: column;
position: relative;
}
.player + .player {
margin-top: 1.5em;
}
.box {
2021-02-02 19:56:48 +01:00
background-color: var(--transparent);
height: 189px;
outline: 0.3em solid grey;
-moz-outline-radius: 1em;
}
.points {
position: absolute;
2021-02-02 19:56:48 +01:00
right: 0.2em;
text-align: right;
2021-02-02 19:56:48 +01:00
font-size: 36px;
}
.points.bg {
-webkit-text-stroke: 10px var(--main-bg-color);
}
.player.buzzing .box {
2021-02-02 19:56:48 +01:00
outline: 0.7em solid var(--main-fg-color);
}
2021-02-02 19:56:48 +01:00
.subbox {
margin-top: 0.5em;
2021-02-02 19:56:48 +01:00
display: flex;
justify-content: space-between;
}
.name {
text-align: center;
letter-spacing: 0.3em;
font-variant: small-caps;
2021-02-02 19:56:48 +01:00
flex-grow: 1;
/*font-weight: bold;*/
}
2021-02-02 19:56:48 +01:00
.tokens {
width: 4em;
/* width: 4em should give enough space for 3 tokens,
if a user has more they'll be hidden. */
height: 21px; /* 1 line height */
overflow: hidden;
}
/*1280 x 720*/
/*1920 x 1080*/