From b5b6471b5a5420d1bd410907ac12570b8436702e Mon Sep 17 00:00:00 2001 From: Yasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com> Date: Fri, 23 Oct 2026 09:27:06 +0900 Subject: sanpi: 集計・全期間一覧・前後リンクを修正し、非公開に戻す MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/styles/custom.css | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) (limited to 'src/styles') diff --git a/src/styles/custom.css b/src/styles/custom.css index 01fd450..1ea4aa7 100644 --- a/src/styles/custom.css +++ b/src/styles/custom.css @@ -58,7 +58,7 @@ line-height: 1.75; color: var(--sl-color-text); } -.sl-markdown-content img { +.sl-markdown-content img:not(.leaflet-tile) { border: 1px solid var(--sl-color-gray-4); border-radius: 6px; } @@ -1710,7 +1710,7 @@ td.sanpi-open .sanpi-title { } .sanpi-chart-item { display: grid; - grid-template-columns: 8.5em 1fr 12em; + grid-template-columns: 10.5em 1fr 12em; gap: 0.5rem; align-items: center; margin: 0.3rem 0; @@ -1752,7 +1752,12 @@ td.sanpi-open .sanpi-title { } @media (max-width: 480px) { .sanpi-chart-item { - grid-template-columns: 6em 1fr 5.5em; + grid-template-columns: 7.5em 1fr 5.5em; + } + + .sanpi-chart-label { + white-space: normal; + line-height: 1.2; } } @@ -1991,6 +1996,22 @@ td.sanpi-open .sanpi-title { .schedule-table tbody tr[hidden] { display: none !important; } +.schedule-table tbody tr.is-ended td { + color: var(--sl-color-gray-3); +} +.schedule-ended-badge { + display: inline-block; + margin-left: 0.35rem; + padding: 0 0.35rem; + border: 1px solid var(--sl-color-gray-5); + border-radius: 999px; + background: var(--sl-color-gray-6); + font-size: 0.7rem; + line-height: 1.5; + color: var(--sl-color-gray-3); + vertical-align: middle; + white-space: nowrap; +} .schedule-row-highlight, .schedule-table tbody tr.schedule-row-highlight td { background: var(--sl-color-accent-low, #fff3bf) !important; -- cgit v1.3.1