summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Cully <bjc@spork.org>2025-03-09 15:33:40 -0400
committerBrian Cully <bjc@spork.org>2025-03-09 15:33:40 -0400
commit45c8b61f2c55a4534e7069c1febc36bf5709fccd (patch)
tree7d302f622b0aea066a81a45db554e0a73e3197e5
parent4c84f99bf300041ebd39d3c3b162a4fa2c49a74b (diff)
downloadchords-45c8b61f2c55a4534e7069c1febc36bf5709fccd.tar.gz
chords-45c8b61f2c55a4534e7069c1febc36bf5709fccd.zip
css: show note interval underneath note
-rw-r--r--main.css19
1 files changed, 18 insertions, 1 deletions
diff --git a/main.css b/main.css
index 975bbef..77b282a 100644
--- a/main.css
+++ b/main.css
@@ -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;
}