diff options
Diffstat (limited to 'src/styles')
| -rw-r--r-- | src/styles/custom.css | 27 |
1 files changed, 24 insertions, 3 deletions
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; |
