aboutsummaryrefslogtreecommitdiff
path: root/style.css
blob: 763cb22a64fda53f9b047451201d36f94df9f7d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
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;
  }
}

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;
  }
}