diff options
Diffstat (limited to 'src/objects')
-rw-r--r-- | src/objects/_lightbox.scss | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/objects/_lightbox.scss b/src/objects/_lightbox.scss index 74515c4..2af8b0a 100644 --- a/src/objects/_lightbox.scss +++ b/src/objects/_lightbox.scss | |||
@@ -69,12 +69,21 @@ | |||
69 | } | 69 | } |
70 | 70 | ||
71 | @include iro.bem-elem('img') { | 71 | @include iro.bem-elem('img') { |
72 | display: none; | ||
72 | box-sizing: border-box; | 73 | box-sizing: border-box; |
73 | grid-area: content; | 74 | grid-area: content; |
74 | max-width: 100%; | 75 | max-width: 100%; |
75 | max-height: 100%; | 76 | max-height: 100%; |
76 | margin: auto; | 77 | margin: auto; |
77 | padding: fn.dim(--pad); | 78 | padding: fn.dim(--pad); |
79 | |||
80 | &:target { | ||
81 | display: block; | ||
82 | } | ||
83 | |||
84 | @include iro.bem-is('visible') { | ||
85 | display: block; | ||
86 | } | ||
78 | } | 87 | } |
79 | 88 | ||
80 | @include iro.bem-elem('thumbnails') { | 89 | @include iro.bem-elem('thumbnails') { |