aboutsummaryrefslogtreecommitdiff
path: root/src/spectate/style.css
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-06-04 20:48:43 +0200
committermetamuffin <metamuffin@disroot.org>2024-06-04 20:48:43 +0200
commit4ebe819106d82459def54561cf8dc71ec22ba6e4 (patch)
tree991046e078bf9de21cc392343401ef1d46a8962c /src/spectate/style.css
parente49a85505701740b195a03892e1fc5cf8d6382a2 (diff)
downloadgpn-tron-rust-4ebe819106d82459def54561cf8dc71ec22ba6e4.tar
gpn-tron-rust-4ebe819106d82459def54561cf8dc71ec22ba6e4.tar.bz2
gpn-tron-rust-4ebe819106d82459def54561cf8dc71ec22ba6e4.tar.zst
save creds
Diffstat (limited to 'src/spectate/style.css')
-rw-r--r--src/spectate/style.css43
1 files changed, 41 insertions, 2 deletions
diff --git a/src/spectate/style.css b/src/spectate/style.css
index 52711d0..c391020 100644
--- a/src/spectate/style.css
+++ b/src/spectate/style.css
@@ -1,4 +1,43 @@
+* {
+ color: white;
+}
+body {
+ padding: 0px;
+ margin: 0px;
+ background-color: black;
+
+ width: 100dvw;
+ height: 100dvh;
+ display: flex;
+ flex-direction: row;
+ overflow-y: hidden;
+}
+
canvas {
- height: min(100dvh, 70dvw);
- float: left;
+ object-fit: contain;
+ width: 100%;
+ height: 100%;
+}
+#board {
+ width: 60%;
+ height: 100%;
+}
+#side {
+ width: 30%;
+ height: 100%;
+}
+#info {
+ width: 100%;
+ height: 30%;
+ overflow-y: scroll;
+}
+#scoreboard {
+ width: 100%;
+ height: 30%;
+ overflow-y: scroll;
+}
+#chat {
+ width: 100%;
+ height: 40%;
+ overflow-y: scroll;
}