From 6ade49b8a453fde18ee054021006ad8be6361865 Mon Sep 17 00:00:00 2001 From: leiyu3 Date: Thu, 17 Jul 2025 15:04:31 -0400 Subject: some fixes --- assets/css/custom.css | 67 +++------------------------------------------------ 1 file changed, 4 insertions(+), 63 deletions(-) (limited to 'assets/css/custom.css') diff --git a/assets/css/custom.css b/assets/css/custom.css index abf5151..acbff4f 100644 --- a/assets/css/custom.css +++ b/assets/css/custom.css @@ -101,13 +101,6 @@ td { flex-wrap: wrap; } -div#gallery { - display: flex; - flex-wrap: wrap; - gap: 1em; - justify-content: center; -} - em, i { color: #c38f88; @@ -212,62 +205,6 @@ img { margin: auto; } -figcaption { - text-align: center; -} - -/* Books */ -.abook { - overflow: hidden; - margin: 0 0 5em 0; -} - -.abook figure { - float: left; - margin-right: 1rem; - width: 120px; -} - -.abook small { - display: block; - margin: 0.5rem 0; - color: #aaa; -} - -.book { - display: flex; /* NEW: use flexbox */ - align-items: flex-start; /* Align top edges */ - overflow: hidden; - margin: 0 0 1em 0; -} - -.book figure { - flex-shrink: 0; - margin-right: 1rem; - width: 120px; -} - -.book-info { - display: flex; /* NEW: make inner div flex */ - flex-direction: column; /* Stack title and small vertically */ - justify-content: space-between; /* Push small to bottom */ -} - -.book-title { - margin: 0px; -} - -.book small { - color: #aaa; - display: block; - margin-top: 1rem; -} - -table { - width: fit-content; - margin: 0 auto; -} - .chord-line { position: relative; font-family: monospace; @@ -346,6 +283,10 @@ body.hide-chords .chord { display: none; } +body.hide-chords .key-selector{ + display: none; +} + body.hide-chords .chord-line { line-height: 1.2em; font-size: 1em; -- cgit v1.2.3