From 55483eee0f655ea9e5bdf88165ec1f2a107f39dc Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Mon, 15 Jun 2020 19:13:57 +0200 Subject: Initial commit --- lightbox/lightbox.css | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 lightbox/lightbox.css (limited to 'lightbox/lightbox.css') diff --git a/lightbox/lightbox.css b/lightbox/lightbox.css new file mode 100644 index 0000000..953af83 --- /dev/null +++ b/lightbox/lightbox.css @@ -0,0 +1,21 @@ +img.lightbox[data-light-box-id] { + cursor: pointer; +} + +[data-light-box-wrapper-id] { + background-color: #0b0704; + position: fixed; + top: 0; + left: 0; + height: 100%; + width: 100%; + display: flex; + justify-content: center; + align-items: center; +} + +[data-light-box-wrapper-id] img { + padding: 1rem; + max-height: calc(100% - 50px); + max-width: calc(100% - 50px); +} \ No newline at end of file -- cgit v1.3