body { color: black; background-color: white; } .hover { background-color: yellow; } .click1 { color: white; background-color: red; } .click2 { color: white; background-color: green; } .click3 { color: white; background-color: blue; } #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: grey; } #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: grey; font-size: small; text-align: center; } #key-picker .notes li.click1:before, #key-picker .notes li.click2:before, #key-picker .notes li.click3:before { color: lightgrey; } #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; }