From a4b5be9407b326487e39eea4cbcde8dd45f07a35 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Fri, 29 Mar 2024 09:21:28 -0300 Subject: css: image overlay alignment adjustments --- src/static/site6.css | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/static') diff --git a/src/static/site6.css b/src/static/site6.css index 4d6d79a..36662e7 100644 --- a/src/static/site6.css +++ b/src/static/site6.css @@ -2047,7 +2047,6 @@ main.long-content .content-sticky-heading-container .content-sticky-subheading-r border-radius: 0 0 8px 8px; border: 2px solid var(--primary-color); background: var(--deep-ghost-color); - padding: 3px; overflow: hidden; -webkit-backdrop-filter: blur(3px); @@ -2060,6 +2059,8 @@ main.long-content .content-sticky-heading-container .content-sticky-subheading-r overflow: hidden; width: 80vmin; height: 80vmin; + margin-left: auto; + margin-right: auto; } #image-overlay-image, @@ -2073,8 +2074,10 @@ main.long-content .content-sticky-heading-container .content-sticky-subheading-r #image-overlay-image { position: absolute; - top: 0; - left: 0; + top: 3px; + left: 3px; + width: calc(100% - 6px); + height: calc(100% - 4px); } #image-overlay-image-thumb { -- cgit 1.3.0-6-gf8a5