67 行
967 B
CSS
67 行
967 B
CSS
.banner {
|
|
text-align: center;
|
|
margin: 0.5em;
|
|
}
|
|
|
|
.border {
|
|
border: 1px solid #434343;
|
|
}
|
|
|
|
.red {
|
|
color: #ff8280;
|
|
fill: #ff8280;
|
|
}
|
|
|
|
#stream {
|
|
height: calc(100vw * 9 / 16);
|
|
}
|
|
|
|
#chat {
|
|
height: calc(100vh - (100vw * 9 / 16 + 20em));
|
|
min-height: 8em;
|
|
}
|
|
|
|
#noscript {
|
|
text-align: center;
|
|
margin-top: calc(-100vw * 9 / 16 / 2 - 1ex);
|
|
position: relative;
|
|
}
|
|
|
|
@media screen and (min-width:48em) {
|
|
#chat {
|
|
height: calc(100vh - 1px - 9.5em);
|
|
}
|
|
#stream {
|
|
height: calc(100vw * 2 / 3 * 9 / 16); /* 16:9 video taking up 2/3 of the page horizontally */
|
|
}
|
|
#noscript {
|
|
margin-top: calc(-100vw * 2 / 3 * 9 / 16 / 2 - 1ex);
|
|
}
|
|
}
|
|
|
|
iframe {
|
|
border:0;
|
|
width: 100%;
|
|
}
|
|
|
|
.dark-theme a:hover,
|
|
.dark-theme a:active {
|
|
color: #00b6f0;
|
|
}
|
|
|
|
.dark-theme a {
|
|
color: #a0a0a0;
|
|
text-decoration: none;
|
|
}
|
|
|
|
body.dark-theme {
|
|
background-color: #232323;
|
|
color: #f0f0f0;
|
|
}
|
|
|
|
.dark-theme input,
|
|
.dark-theme select,
|
|
.dark-theme textarea {
|
|
color: #232323;
|
|
}
|