Add rounded borders to images (#958)

This commit is contained in:
pollfly 2024-11-06 10:42:50 +02:00 committed by GitHub
parent c8892b54a6
commit cb31edd2f1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -576,9 +576,11 @@ html[data-theme="dark"] .footer__link-item:hover {
pointer-events: none;
}
/* zoom image application screens */
.markdown img.medium-zoom-image[src*="png"],
.markdown img.medium-zoom-image[src*="gif"] {
border:1px solid #2c3246;
border-radius: 6px;
}
html[data-theme=light] .medium-zoom--opened .medium-zoom-overlay {background: white !important; opacity: 0.4}