diff options
author | Tom Smeding <tom.smeding@gmail.com> | 2018-06-23 21:32:44 +0200 |
---|---|---|
committer | Tom Smeding <tom.smeding@gmail.com> | 2018-06-23 21:32:44 +0200 |
commit | 1a24cdc54e683cb54af10fac6862643cc78ab4f4 (patch) | |
tree | b4149bc7f43fa1644e433635c3e3fd7a2b47d0ee /game.css | |
parent | dcb5d9477cbc2d721ab5424e888bd091a714d5ab (diff) |
Score and ballout
Diffstat (limited to 'game.css')
-rw-r--r-- | game.css | 34 |
1 files changed, 31 insertions, 3 deletions
@@ -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; +} |