-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
94 lines (81 loc) · 1.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
body, html {
margin: 0;
padding: 0;
text-align: left;
}
html {
width: 100%;
height: 100%;
}
body {
width: 100%;
height: 100%;
margin: 0;
background-color: #EEEEEE;
overflow: hidden;
}
canvas {
width: 100%;
height: 100%;
}
.canvas-wrapper {
height: 74%;
padding-top: 1%;
padding-bottom: 1%;
}
.top-area {
position: relative;
margin-left: 20%;
height: 20%;
overflow-x: scroll;
overflow-y: hidden;
margin-right: 20%;
}
.piano-keyboard {
height: 100%;
width: 1200px;
display: inline-block;
}
.piano-key {
display: inline-block;
border-bottom-right-radius: 3px;
border-bottom-left-radius: 3px;
}
.white-key {
background-color: white;
width: 40px;
height: 92%;
z-index: 5;
border: solid white 5px;
margin-left: 2px;
margin-right: 2px;
}
.black-key {
background-color: black;
width: 24px;
height: 60%;
position: absolute;
z-index: 10;
border: solid black 5px;
top: 0;
}
.piano-key:hover {
border: solid #6DF 5px;
}
.playing-key, .playing-key:hover {
border: solid #48F 5px;
}
.overlay {
position: absolute;
bottom: 5px;
left: 20%;
right: 20%;
z-index: 10;
text-align: center;
cursor: pointer;
}
.piano-key span {
color: #999;
position: absolute;
bottom: 5%;
}