Debian Codegraph @

online/static/piano.css

raw symbols SCIP
1
2 /*---------PIANO ----------*/
3
4
5 .nowplaying {
6 font-size: 30px;
7 line-height: 1;
8 color: #eee;
9 text-shadow: 0 0 5rem #028ae9;
10 transition: all .07s ease;
11 min-height: 20px;
12 }
13
14 .keys {
15 display: block;
16 width: 100%;
17 height: 150px;
18 max-width: 880px;
19 position: relative;
20 margin: 40px auto 0;
21 cursor: none;
22 }
23
24 .key {
25 position: relative;
26 border: 4px solid black;
27 border-radius: .5rem;
28 transition: all .07s ease;
29 display: block;
30 box-sizing: border-box;
31 z-index: 2;
32 }
33
34 .key:not(.sharp) {
35 float: left;
36 width: 10%;
37 height: 100%;
38 background: rgba(255, 255, 255, .8);
39 }
40
41 .key.sharp {
42 position: absolute;
43 width: 6%;
44 height: 60%;
45 background: #000;
46 color: #cee;
47 top: 0;
48 z-index: 3;
49 }
50
51 .key[data-note="C#"] {
52 left: 7%;
53 }
54
55 .key[data-note="D#"] {
56 left: 17%;
57 }
58
59 .key[data-note="F#"] {
60 left: 37%;
61 }
62
63 .key[data-note="G#"] {
64 left: 47%;
65 }
66
67 .key[data-note="A#"] {
68 left: 57%;
69 }
70
71 .key[data-note="2C#"] {
72 left: 77%;
73 }
74
75 .key[data-note="2D#"] {
76 left: 87%;
77 }
78
79 .playing {
80 transform: scale(.95);
81 border-color: #028ae9;
82 box-shadow: 0 0 1rem #028ae9;
83 }
84
85 .hints {
86 display: block;
87 width: 100%;
88 opacity: 0.5;
89 position: absolute;
90 bottom: 7px;
91 font-size: 11px;
92 }
93
94 .nhints {
95 display: block;
96 width: 100%;
97 opacity: 0.5;
98 color:blue;
99 position: absolute;
100 bottom: 24px;
101 left:20%;
102 font-size: 13px;
103 }
104