From 172618d4b9f28b5bd5fc7e55cee0434a93bde895 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" <qznebula@protonmail.com> Date: Mon, 24 Mar 2025 15:19:05 -0300 Subject: content, css, replacer: <audio> postprocessing --- src/static/css/site.css | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'src/static/css') diff --git a/src/static/css/site.css b/src/static/css/site.css index 207b7c6f..d1d7f5f6 100644 --- a/src/static/css/site.css +++ b/src/static/css/site.css @@ -1545,13 +1545,14 @@ p.content-heading:has(+ .commentary-entry-heading.dated) { } .content-image-container.align-center, -.content-video-container.align-center { +.content-video-container.align-center, +.content-audio-container.align-center { text-align: center; margin-top: 1.5em; margin-bottom: 1.5em; } -a.align-center, img.align-center { +a.align-center, img.align-center, audio.align-center { display: block; margin-left: auto; margin-right: auto; @@ -2245,8 +2246,9 @@ html[data-url-key="localized.listing"][data-url-value0="tags/network"] dl dt:las color: white; } -/* Videos (in content) get a lite version of image-container. */ -.content-video-container { +/* Videos and audios (in content) get a lite version of image-container. */ +.content-video-container, +.content-audio-container { width: min-content; background-color: var(--dark-color); border: 2px solid var(--primary-color); @@ -2254,6 +2256,11 @@ html[data-url-key="localized.listing"][data-url-value0="tags/network"] dl dt:las padding: 5px; } +.content-video-container video, +.content-audio-container audio { + display: block; +} + .image-text-area { position: absolute; top: 0; -- cgit 1.3.0-6-gf8a5