From 2c4522bef5c2f7b223b69d910a428c9c0eabb3d5 Mon Sep 17 00:00:00 2001 From: PortableProgrammer Date: Wed, 8 Jan 2025 18:00:18 +0000 Subject: Remove `card`-specific `post` elements --- src/public/styles.css | 40 +++++----------------------------------- 1 file changed, 5 insertions(+), 35 deletions(-) (limited to 'src/public') diff --git a/src/public/styles.css b/src/public/styles.css index abc2f13..b1d1318 100644 --- a/src/public/styles.css +++ b/src/public/styles.css @@ -61,9 +61,14 @@ div.media-maximized.container.zoom { overflow: auto; } +img.media-maximized { + cursor: zoom-in; +} + img.media-maximized.zoom { max-width: unset; max-height: unset; + cursor: zoom-out; } main { @@ -195,41 +200,6 @@ nav { cursor: pointer; } -.image-viewer.card { - /* Safari on iOS <= 17 */ - -webkit-backdrop-filter: blur(2rem); - backdrop-filter: blur(2rem); - position: fixed; - inset: 0; - box-sizing: border-box; - display: flex; - height: 100%; - width: 100%; - justify-content: center; - align-items: center; - z-index: 100; -} - -.image-viewer.card > button { - position: absolute; - top: 0; - right: 0; - margin: 1rem; - padding: initial; - height: 3rem; - width: 3rem; - font-size: 2rem; - border-radius: 100%; - cursor: pointer; -} - -.image-viewer.card > a > img { - max-width: 100vw; - max-height: 100vh; - width: auto; - height: auto; -} - .gallery.card { align-items: center; } -- cgit v1.2.3