diff options
author | Florrie <towerofnix@gmail.com> | 2019-01-17 22:43:02 -0400 |
---|---|---|
committer | Florrie <towerofnix@gmail.com> | 2019-01-17 22:43:02 -0400 |
commit | c83e12b6f2de41168de22ff33779be9f2e16ea74 (patch) | |
tree | 0ab9c0595f3b662920cb89699debd41da8f9f194 /style.css | |
parent | 865bbee8e39acee57893e5c4000ce7c16c92f9a4 (diff) |
Diffstat (limited to 'style.css')
-rw-r--r-- | style.css | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/style.css b/style.css index cc09a9a..7d48241 100644 --- a/style.css +++ b/style.css @@ -46,6 +46,19 @@ body:not(.resources-loaded) #play-paragraph { display: none; } +body:not(.game-over) #final-results { + opacity: 0; +} + +#final-results { + transition: opacity 1s; +} + +/* We have to hide these, or else they messes up layouting of elements below it. */ +body.game-over #results, body.game-over #choice-container { + display: none; +} + #crash-trace { text-align: start; border: 1pt dotted white; @@ -205,6 +218,26 @@ body:not(.resources-loaded) #play-paragraph { background-color: red; } +body:not(.mode-time-trial) #time-trial-heading { + display: none; +} + +#time-trial-heading { + color: rgba(255, 255, 255, 0.3); +} + +#time-trial-time { + color: red; +} + +#final-correct, #final-correct + span { + color: green; +} + +#final-incorrect, #final-incorrect + span { + color: red; +} + body, html { width: 100%; height: 100%; |