diff options
Diffstat (limited to 'main.css')
| -rw-r--r-- | main.css | 17 |
1 files changed, 15 insertions, 2 deletions
@@ -38,22 +38,35 @@ body { background-color: var(--fret-bg-color-3); } -x-string { +x-string form { display: grid; padding: 5px; cursor: pointer; list-style: none; grid-template-rows: 1ex; /* TODO: this should be put on the element when it's attached. */ - grid-template-columns: repeat(10, 1fr); + grid-template-columns: repeat(10, 1.5em); /* and use ‘fr’ */ +} + +x-string input[type="checkbox"] { + text-align: center; + width: 1em; + height: 1em; + display: grid; + grid-template-columns: subgrid; } x-string li { text-align: center; + display: grid; + grid-template-columns: subgrid; } x-string .selected { border-left: 1px solid black; + text-align: center; + margin: 0; + margin-left: 5px; } x-fretboard { |
