aboutsummaryrefslogtreecommitdiff
path: root/style.css
diff options
context:
space:
mode:
Diffstat (limited to 'style.css')
-rw-r--r--style.css39
1 files changed, 37 insertions, 2 deletions
diff --git a/style.css b/style.css
index a32951d..6499535 100644
--- a/style.css
+++ b/style.css
@@ -11,9 +11,9 @@ h1 {
color: white;
margin: 0;
font-size: 36px;
- padding-top: 30px;
- padding-bottom: 30px;
text-align: center;
+ line-height: 100px;
+ height: 100px;
}
#game {
@@ -32,3 +32,38 @@ p {
font-style: italic;
font-size: 17px;
}
+
+.bestScore {
+ position: absolute;
+ top: 100px;
+ left: 0px;
+ padding: 0 20px;
+ background-color: #222222;
+ color: rgba(0, 0, 0, 0);
+ height: 0px;
+ line-height: 0px;
+ margin: 0;
+}
+
+.isDefined {
+ animation: reveal 1s ease;
+ height: 50px;
+ line-height: 50px;
+ color: white;
+}
+
+@keyframes reveal {
+ 0% {
+ height: 0px;
+ line-height: 0px;
+ color: rgba(0, 0, 0, 0);
+ }
+ 30% {
+ color: rgba(0, 0, 0, 0);
+ }
+ 100% {
+ height: 50px;
+ line-height: 50px;
+ color: white;
+ }
+}