-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
83 lines (71 loc) · 1.1 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
body {
margin: 0;
padding: 0;
font-family: monospace;
}
#copyright {
text-align: center;
width: 100%;
}
#piano {
width: 833px;
height: auto;
box-shadow: 0px 0px 30px black;
margin: 200px auto;
cursor: pointer;
}
table {
border-collapse: collapse;
}
th, td {
border: 3px solid black;
width: 10px;
height: 240px;
padding: 20px;
}
.darkNote {
padding: 20px;
height: 150px;
background-color: black;
position: relative;
left: 41px;
top: -38px;
}
.noNote {
padding: 20px;
height: 150px;
background-color: transparent;
position: relative;
left: 41px;
top: -45px;
z-index: -2;
}
.note {
animation-duration: 0.5s;
animation-name: note;
}
.noteDark {
animation-duration: 0.5s;
animation-name: noteDark;
}
.letter {
position: relative;
left: 16px;
top: 30px;
}
.darkLetter {
color: white;
position: absolute;
left: 16px;
bottom: 8px;
}
@keyframes note {
0% {background-color: white;}
50% {background-color: #18864B;}
100% {background-color: white;}
}
@keyframes noteDark {
0% {background-color: black;}
50% {background-color: #18864B;}
100% {background-color: black;}
}