From 1f73df0a84f2095c6ea0f71567fbd8c294f5d6b1 Mon Sep 17 00:00:00 2001 From: n y Date: Fri, 9 Apr 2021 18:26:39 +0000 Subject: [PATCH] Upload New File --- static/platform.css | 66 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 static/platform.css diff --git a/static/platform.css b/static/platform.css new file mode 100644 index 0000000..6daf847 --- /dev/null +++ b/static/platform.css @@ -0,0 +1,66 @@ +.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; +}