aboutsummaryrefslogtreecommitdiff
path: root/style.css
blob: 6499535e275b69a3304928b3fbb7eaf30d082c8d (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
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;
  }
}