-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
133 lines (114 loc) · 1.82 KB
/
style.css
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
121
122
123
124
125
126
127
128
129
130
131
132
133
body{
background: #f6f6f6;
font-family: 'Roboto', sans-serif;
}
.game-container {
width: 100vw;
height: 100vh;
margin: 0;
display: table-cell;
text-align: center;
vertical-align: middle;
font-size: 40px;
color: #464646;
}
.start-menu {
max-width: 300px;
margin: 5vh auto;
box-shadow: 0px 0px 3px gray;
border-radius: 5px;
padding: 20px;
text-align: center;
font-size: 16px;
}
.start-menu input, .start-menu select {
background:
transparent;
box-shadow: 0px 0px 1px;
height: 30px;
width: 100%;
}
.start-button {
display: inline-block;
box-shadow: 0px 0px 3px gray;
background: #019501;
color: #eee;
padding: 8px;
border-radius: 4px;
cursor: pointer;
}
.exercise, .reply, .exercise-container {
display: inline-block;
}
.reply {
min-width: 50px;
min-height: 50px;
border: 1px dotted #464646;
margin-left: 10px;
}
.reply::before {
content: ' ';
}
.greenflash {
animation-duration: 1s;
animation-name: greenflash;
}
.redflash {
animation-duration: 1s;
animation-name: redflash;
}
.progress-bar{
margin: 10px auto;
max-width: 300px;
text-align: center;
}
.load-bar{
height: 10px;
border-radius: 5px;
/*margin: 0 auto;*/
animation-duration: 10s;
animation-name: filload;
}
.stats {
position: absolute;
top: 2vw;
right: 2vw;
font-size: 20px;
text-align: right;
}
.footer {
position: absolute;
bottom: 10px;
right: 10px;
font-size: small;
}
@keyframes greenflash {
from {
background: green;
color: white;
}
to {
background: transparent;
color: #464646;
}
}
@keyframes redflash {
from {
background: red;
color: white;
}
to {
background: transparent;
color: #464646;
}
}
@keyframes filload {
from {
background: green;
width: 100%;
}
to {
background: red;
width: 0%
}
}