diff options
| author | (quasar) nebula <qznebula@protonmail.com> | 2026-03-26 17:36:39 -0300 |
|---|---|---|
| committer | (quasar) nebula <qznebula@protonmail.com> | 2026-03-26 17:36:39 -0300 |
| commit | f1c8bbf0f95a7f9ef52e041628e79a875b55aae4 (patch) | |
| tree | e3a8d8ee6479fcaa3282ecc276738f230ecb84d1 /src/static/css/tooltips.css | |
| parent | 01bd5cec3a83e9ced7715954e76dd820aa7e91dd (diff) | |
content, css: generateContentEntryDate: relative date
Diffstat (limited to 'src/static/css/tooltips.css')
| -rw-r--r-- | src/static/css/tooltips.css | 34 |
1 files changed, 30 insertions, 4 deletions
diff --git a/src/static/css/tooltips.css b/src/static/css/tooltips.css index f4f9416e..3666dfce 100644 --- a/src/static/css/tooltips.css +++ b/src/static/css/tooltips.css @@ -53,7 +53,8 @@ brightness(1.5) saturate(1.4) blur(4px); box-shadow: - 0 3px 4px 4px #000000aa, + 0 3px 6px 7px #0007, + 0 3px 4px 2px #0006, 0 -2px 4px -2px var(--primary-color) inset; text-indent: 0; @@ -91,7 +92,6 @@ @layer layout { .datetimestamp-tooltip, .missing-duration-tooltip, - .commentary-date-tooltip, .rerelease-tooltip, .first-release-tooltip, .other-release-tooltip, @@ -101,8 +101,7 @@ } .datetimestamp-tooltip .tooltip-content, - .missing-duration-tooltip .tooltip-content, - .commentary-date-tooltip .tooltip-content { + .missing-duration-tooltip .tooltip-content { padding: 5px 6px; white-space: nowrap; font-size: 0.9em; @@ -120,6 +119,33 @@ } } +/* Commentary date tooltip */ + +@layer layout { + .commentary-date-tooltip { + right: -10px; + padding: 3px 4px 2px 2px; + left: unset; + } + + .commentary-date-tooltip .tooltip-content { + padding: 2px 6px; + white-space: nowrap; + font-size: 0.9em; + } + + .commentary-date-tooltip span.cute-break { + margin-top: 3px; + margin-bottom: 3px; + } +} + +@layer print { + .commentary-date-tooltip .relative-to { + opacity: 0.8; + } +} + /* Contribution tooltip */ @layer interactivity { |