-
Notifications
You must be signed in to change notification settings - Fork 27
/
style-visual.css
71 lines (59 loc) · 1.07 KB
/
style-visual.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
#piano {
margin-top: 15px;
display: block;
white-space: nowrap;
height: 25vh;
max-height: 200px;
min-height: 100px;
background: #aaa;
background: #aaa;
overflow-y: hidden;
overflow-x: scroll;
}
#piano > div {
position: relative;
box-sizing: border-box;
height: 100%;
width: 40px;
background: #f9f9f9;
display: inline-block;
margin-right: 2px;
margin-left: 2px;
color: black;
}
#piano div span {
position: absolute;
bottom: 0.5em;
width: 100%;
text-align: center;
pointer-events: none;
}
#piano div[data-note='E'],
#piano div[data-note='B'] {
margin-right: 0;
}
#piano div[data-note$='#'] {
background-color: #333;
height: 65%;
width: 24px;
margin-left: calc(-12px - 1px);
margin-right: calc(-12px - 1px);
z-index: 1;
bottom: 35%;
}
#piano div.pressed {
background-color: #aaa;
}
.waveform-container {
max-width: 200px;
}
.trace-container {
display: inline-block;
}
code.trace-binary + code.trace-text {
margin-left: 5px;
}
code.trace-binary + code.trace-text:before {
content: '=';
padding-right: 10px;
}