diff options
author | Joris Guyonvarch | 2015-03-08 15:14:07 +0100 |
---|---|---|
committer | Joris Guyonvarch | 2015-03-08 15:14:07 +0100 |
commit | 87386e8b148c2536214fdaf6c3140853c751d7b4 (patch) | |
tree | 9af29dd893e414f610695f133b32ccf8a3cf79bf /style.css | |
parent | 97e494a7c5a105bba6a48f5025e71a376fc8673d (diff) |
Showing the score at the end of each round
Diffstat (limited to 'style.css')
-rw-r--r-- | style.css | 51 |
1 files changed, 51 insertions, 0 deletions
@@ -67,3 +67,54 @@ p { color: white; } } + +ul.rounds { + padding-left: 0; + color: white; + list-style-type: none; + position: absolute; + width: 300px; + left: 50%; + margin-left: -150px; + top: 110px; +} + +ul.rounds > li { + background-color: #333333; + text-align: center; + border-radius: 2px; + animation: hide 5s ease; + + opacity: 0; + height: 0px; + line-height: 0px; + margin-bottom: 0px; +} + +@keyframes hide { + 0% { + opacity: 1; + height: 40px; + line-height: 40px; + margin-bottom: 10px; + } + 90% { + opacity: 1; + height: 40px; + line-height: 40px; + margin-bottom: 10px; + } + 95% { + opacity: 0; + height: 40px; + line-height: 40px; + margin-bottom: 10px; + } + 100% { + opacity: 0; + height: 0px; + line-height: 0px; + margin-bottom: 0px; + } +} + |