From 874367e398555b4a79e2ae32133bac9905fd2341 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Hu=CC=88llmandel?= Date: Sun, 25 Aug 2019 03:10:02 +0200 Subject: [PATCH] Nicer formatting for sum scores in final. Better animation for 2nd player answers --- web/css/main.css | 10 +++++++++- web/index.html | 14 ++++++++------ web/js/main.js | 25 ++++++++++++++----------- web/js/websocket.js | 2 ++ 4 files changed, 33 insertions(+), 18 deletions(-) diff --git a/web/css/main.css b/web/css/main.css index 8b08583..77a6c67 100644 --- a/web/css/main.css +++ b/web/css/main.css @@ -129,10 +129,14 @@ body { text-overflow: unset; } +#resultFinal { + font-size: 2.5vw; +} + .questionAnswerContainer { padding-top: 20px; padding-left: 20px; - width: calc(100% - 40px); + width: calc(100% - 20px); } @media (max-width: 1275px) { @@ -140,6 +144,10 @@ body { font-size: 1.5em; } + #resultFinal { + font-size: 1.5em; + } + #displayQuestions { white-space: nowrap; text-overflow: ellipsis; diff --git a/web/index.html b/web/index.html index 81018e4..1e4c2df 100644 --- a/web/index.html +++ b/web/index.html @@ -7,7 +7,6 @@ - @@ -39,10 +38,11 @@
0
-