72 lines
1.3 KiB
CSS
72 lines
1.3 KiB
CSS
@import "shared.css";
|
|
body {
|
|
background-color: black;
|
|
margin: 0px auto;
|
|
overflow: hidden;
|
|
}
|
|
.container {
|
|
display: flex;
|
|
width: 1280px;
|
|
height: 720px;
|
|
outline: 10px solid gold;
|
|
background-color: var(--main-bg-color);
|
|
padding: 1em 0 0 1em;
|
|
}
|
|
#players {
|
|
width: 350px;
|
|
}
|
|
iframe {
|
|
flex-grow: 1;
|
|
}
|
|
.player {
|
|
width: 336px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
position: relative;
|
|
}
|
|
.player + .player {
|
|
margin-top: 1.5em;
|
|
}
|
|
.box {
|
|
background-color: var(--transparent);
|
|
height: 189px;
|
|
outline: 0.3em solid grey;
|
|
-moz-outline-radius: 1em;
|
|
}
|
|
.points {
|
|
position: absolute;
|
|
right: 0.2em;
|
|
text-align: right;
|
|
font-size: 36px;
|
|
transition: font-size 0.2s cubic-bezier(0.45, 1.07, 0.27, 1.55);
|
|
}
|
|
.points.big {
|
|
font-size: 80px;
|
|
}
|
|
.points.bg {
|
|
-webkit-text-stroke: 10px var(--main-bg-color);
|
|
}
|
|
.player.buzzing .box {
|
|
outline: 0.7em solid var(--main-fg-color);
|
|
}
|
|
.subbox {
|
|
margin-top: 0.5em;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
.name {
|
|
text-align: center;
|
|
letter-spacing: 0.3em;
|
|
font-variant: small-caps;
|
|
flex-grow: 1;
|
|
/*font-weight: bold;*/
|
|
}
|
|
.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*/
|