blob: 7c074d03763304442a79a3bf8fbaf5f9a7372a87 (
plain)
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
|
:root {
--document-bg: white;
--fret-hover-color: yellow;
--fret-fg-color-1: white;
--fret-bg-color-1: red;
--fret-fg-color-2: white;
--fret-bg-color-2: green;
--fret-fg-color-3: white;
--fret-bg-color-3: blue;
--fret-muted-fg-color: grey;
--key-picker-interval-fg-color: grey;
--key-picker-interval-fg-color-1: lightgrey;
--key-picker-interval-fg-color-2: lightgrey;
--key-picker-interval-fg-color-3: lightgrey;
}
body {
color: black;
background-color: var(--document-bg);
}
.hover {
background-color: var(--fret-hover-color);
}
.click1 {
color: var(--fret-fg-color-1);
background-color: var(--fret-bg-color-1);
}
.click2 {
color: var(--fret-fg-color-2);
background-color: var(--fret-bg-color-2);
}
.click3 {
color: var(--fret-fg-color-3);
background-color: var(--fret-bg-color-3);
}
#fretboard {
float: left;
padding-right: 1em;
margin-right: 1em;
}
#fretboard table {
border-collapse: collapse;
}
#fretboard thead {
text-align: center;
}
#fretboard thead .fret3,
#fretboard thead .fret5,
#fretboard thead .fret7 {
font-weight: bold;
}
#fretboard tbody .open {
font-weight: bold;
}
#fretboard td:not(:last-child) {
border-right: 1px solid black;
}
#fretboard tbody tr {
border-top: 1px solid black;
}
#fretboard tbody .selected {
font-style: italic;
text-align: center;
}
#fretboard .muted {
color: var(--fret-muted-fg-color);
}
#key-picker .notes {
padding-left: 0;
list-style-position: outside;
display: grid;
grid-template-rows: 2;
grid-template-columns: 2em 2em 2em 2em 2em 2em 2em;
counter-reset: notes;
}
#key-picker .notes li:before {
display: grid;
grid-row-start: 2;
content: counter(notes, numeric);
color: var(--key-picker-interval-fg-color);
font-size: small;
text-align: center;
}
#key-picker .notes li.click1:before {
color: var(--key-picker-interval-fg-color-1);
}
#key-picker .notes li.click2:before {
color: var(--key-picker-interval-fg-color-2);
}
#key-picker .notes li.click3:before {
color: var(--key-picker-interval-fg-color-3);
}
#key-picker .notes li {
display: grid;
grid-row-start: 1;
counter-increment: notes;
text-align: center;
cursor: pointer;
}
#key-picker .chords {
display: grid;
grid-template-rows: 1;
grid-template-columns: 3em 3em 3em 3em 3em 3em 3em 3em;
padding-left: 0;
}
#key-picker .chords li {
display: grid;
}
|