pub / ktistec-tweaks

Tweaks for the ActivityPub server ktistec
git clone https://src.jayvii.de/pub/ktistec-tweaks.git
Home | Log | Files | Exports | Refs | Submodules | README | RSS

commit bad8489413fe2acff723511985bf5f58d533fd6c
parent 02e2b4d48e73290d12958b02351ef3aec4be25a7
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date:   Sat,  3 Aug 2024 18:18:35 +0200

feat: add grey border around images in full view

Diffstat:
Mcss/attachments.css | 3++-
Mcss/attachments.min.css | 4++--
2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/css/attachments.css b/css/attachments.css @@ -15,7 +15,8 @@ img.ui.extra.attachment.image, video.ui.extra.attachment.video, .extra.media video.ui.attachment.video, .ui.feed > .event div.extra.text figure img.ui.image, -.ui.feed > .event div.extra.text figure vid.ui.video +.ui.feed > .event div.extra.text figure vid.ui.video, +.lg-image { border-style: solid; border-width: 1px; diff --git a/css/attachments.min.css b/css/attachments.min.css @@ -1 +1 @@ -.ui.feed > .event img.extra.image,.ui.feed > .event video.extra.video,.ui.feed > .event div.extra.text figure img.ui.image,.ui.feed > .event div.extra.text figure vid.ui.video{ width: 100%; height: auto; max-height: 800px;}img.ui.extra.attachment.image,.extra.media img.ui.attachment.image,video.ui.extra.attachment.video,.extra.media video.ui.attachment.video,.ui.feed > .event div.extra.text figure img.ui.image,.ui.feed > .event div.extra.text figure vid.ui.video{ border-style: solid; border-width: 1px; border-color: #808080;}.lg-backdrop.in { opacity: 0.8 !important;} -\ No newline at end of file +.ui.feed > .event img.extra.image,.ui.feed > .event video.extra.video,.ui.feed > .event div.extra.text figure img.ui.image,.ui.feed > .event div.extra.text figure vid.ui.video{ width: 100%; height: auto; max-height: 800px;}img.ui.extra.attachment.image,.extra.media img.ui.attachment.image,video.ui.extra.attachment.video,.extra.media video.ui.attachment.video,.ui.feed > .event div.extra.text figure img.ui.image,.ui.feed > .event div.extra.text figure vid.ui.video,.lg-image{ border-style: solid; border-width: 1px; border-color: #808080;}.lg-backdrop.in { opacity: 0.8 !important;} +\ No newline at end of file