aboutsummaryrefslogtreecommitdiff
path: root/game.css
diff options
context:
space:
mode:
authorTom Smeding <tom.smeding@gmail.com>2018-06-23 21:32:44 +0200
committerTom Smeding <tom.smeding@gmail.com>2018-06-23 21:32:44 +0200
commit1a24cdc54e683cb54af10fac6862643cc78ab4f4 (patch)
treeb4149bc7f43fa1644e433635c3e3fd7a2b47d0ee /game.css
parentdcb5d9477cbc2d721ab5424e888bd091a714d5ab (diff)
Score and ballout
Diffstat (limited to 'game.css')
-rw-r--r--game.css34
1 files changed, 31 insertions, 3 deletions
diff --git a/game.css b/game.css
index e1d198a..3830dfd 100644
--- a/game.css
+++ b/game.css
@@ -11,18 +11,22 @@ body {
font-family: sans-serif;
}
-#overlay-container {
+.invisible {
+ display: none;
+}
+
+.centerbox {
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
- align-items: center;
display: flex;
+ align-items: center;
justify-content: center;
}
-#status {
+.largetext {
color: #ffffff;
font-size: 40pt;
text-shadow: 0px 0px 3px #000000;
@@ -31,3 +35,27 @@ body {
-moz-user-select: none;
-webkit-user-select: none;
}
+
+#overlay-container {
+ position: absolute;
+ left: 0;
+ top: 0;
+ right: 0;
+ bottom: 0;
+}
+
+#score-container {
+ position: absolute;
+ left: 0;
+ top: 0;
+ right: 0;
+ height: 30%;
+}
+
+#score-left, #score-right {
+ display: inline-block;
+ width: 30vw;
+}
+#score-left {
+ text-align: right;
+}