aboutsummaryrefslogtreecommitdiff
path: root/style.css
diff options
context:
space:
mode:
authorJoris2015-11-14 17:10:20 +0100
committerJoris2015-11-14 17:10:20 +0100
commite43df972c82c8b5926f76658c7588074e6a15069 (patch)
tree47489029d7c6423884c63763dea69966cb60ab6d /style.css
parentb654acd2af332612748f754c0fd53b47f45a77e9 (diff)
Display the game at fullscreen
Diffstat (limited to 'style.css')
-rw-r--r--style.css76
1 files changed, 8 insertions, 68 deletions
diff --git a/style.css b/style.css
index 6499535..4281b43 100644
--- a/style.css
+++ b/style.css
@@ -1,69 +1,9 @@
-body {
- margin: 0;
- background-color: #05060c;
- font-family: calibri;
-}
-
-h1 {
- font-weight: bold;
- background-color: #1b203f;
- min-width: 500px;
- color: white;
- margin: 0;
- font-size: 36px;
- text-align: center;
- line-height: 100px;
- height: 100px;
-}
-
-#game {
- margin-left: auto;
- margin-right: auto;
- margin-bottom: 40px;
- border-top: 10px dashed #222222;
- border-bottom: 10px dashed #222222;
- width: 500px;
- height: 500px;
-}
-
-p {
- text-align: center;
- color: #eeeeee;
- 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;
- }
+body { margin: 0; }
+
+body > div {
+ position: fixed;
+ top: 0;
+ bottom: 0;
+ left: 0;
+ right: 0;
}