-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
executable file
·150 lines (127 loc) · 2.35 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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
html,
body {
max-height: 100%;
overflow-y: hidden;
}
body {
background-color: #1F1E33;
font-family: "Lucida Sans Typewriter", "Fira Code", monospace;
}
#form {
width: 80%;
margin-left: auto;
margin-right: auto;
color: #EFF;
}
#caption {
font-style: normal;
text-align: center;
}
input,
button {
font-family: "Lucida Sans Typewriter", "Fira Code", monospace;
}
button {
border: none;
background-color: #FEF;
padding: 10px;
}
button:hover {
background-color: #28B5D4;
}
table {
width: 100%;
height: 100%;
position: relative;
font-size: 16px;
text-align: center;
background: #1F1E33;
color: #EFF;
border-collapse: collapse;
margin-left: auto;
margin-right: auto;
table-layout: fixed;
}
.space {
width: 30px;
}
.rail {
width: 8px;
height: 80%;
border-right: 1px solid #FFF;
border-left: 1px solid #FFF;
}
.key {
border-top: 1px solid #FFF;
border-bottom: 1px solid #FFF;
border-right: 1px solid #FFF;
border-left: 1px solid #FFF;
}
.miss {
height: auto;
text-align: center;
z-index: 1;
}
@keyframes broken {
from {opacity: 1;}
to {opacity: 0;}
}
div.test {
position: absolute;
border: 1px solid #777;
box-sizing: border-box;
background: #EA8;
}
div.note {
position: absolute;
background: #FFF;
}
div.hold {
transition: background 0.06s;
position: absolute;
background: #99D9EA;
}
div.held {
position: absolute;
background: #28A5C4;
}
div.great {
position: absolute;
background: #fccf55;
}
div.broken {
animation: broken 0.2s;
animation-fill-mode: forwards;
position: absolute;
background: #A24;
}
div.missed {
position: absolute;
background-color: #777;
}
.scoremargin {
height: 35%;
}
.score {
position: absolute;
top: 10;
left: 10;
color: #EEF;
font-size: 36px;
}
.stats {
position: absolute;
margin: auto;
left: 0;
right: 0;
top: 10%;
z-index: 1;
color: #218;
text-align: center;
text-shadow: #FFF 1px 0 0, #FFF 0 1px 0, #FFF -1px 0 0, #FFF 0 -1px 0;
font-weight: bold;
}
small {
color: #FFF;
text-shadow: #000 1px 0 0, #000 0 1px 0, #000 -1px 0 0, #000 0 -1px 0;
}