diff --git a/web/css/styles.css b/web/css/styles.css index a278e8d..e713fe8 100644 --- a/web/css/styles.css +++ b/web/css/styles.css @@ -438,6 +438,29 @@ label[role="profile-nip5"] { display: block; } +/* Media Preview */ + +.bg-blur { + backdrop-filter: blur(20px); + position: absolute; + width: 100%; + height: 100%; + z-index: var(--zModal); +} +.modal .media-container { + text-align: center; + position: absolute; + width: 100%; + height: 100%; + z-index: calc(var(--zModal) + 1); +} +.modal .media-container > img { + object-fit: scale-down; + object-position: center; + width: 100%; + height: 100%; +} + @media (prefers-color-scheme: dark) { .icon.svg { filter: invert(1); diff --git a/web/index.html b/web/index.html index 80977f9..9539f73 100644 --- a/web/index.html +++ b/web/index.html @@ -147,6 +147,14 @@
+ +