diff options
author | Brian Cully <bjc@spork.org> | 2025-03-09 15:33:40 -0400 |
---|---|---|
committer | Brian Cully <bjc@spork.org> | 2025-03-09 15:33:40 -0400 |
commit | 45c8b61f2c55a4534e7069c1febc36bf5709fccd (patch) | |
tree | 7d302f622b0aea066a81a45db554e0a73e3197e5 | |
parent | 4c84f99bf300041ebd39d3c3b162a4fa2c49a74b (diff) | |
download | chords-45c8b61f2c55a4534e7069c1febc36bf5709fccd.tar.gz chords-45c8b61f2c55a4534e7069c1febc36bf5709fccd.zip |
css: show note interval underneath note
-rw-r--r-- | main.css | 19 |
1 files changed, 18 insertions, 1 deletions
@@ -45,8 +45,25 @@ body { #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 { - display: inline; + display: grid; + grid-row-start: 1; + counter-increment: notes; + text-align: center; } |