hexo-theme-ayer/source/css/_partial/gallery.styl

20 lines
311 B
Stylus
Raw Normal View History

2019-12-03 11:37:44 +00:00
.article-gallery
position: relative
.article-gallery-photos
position: relative
overflow: hidden
.article-gallery-img
display: none
max-width: 100%
&:first-child
display: block
&.loaded
position: absolute
display: block
img
display: block
max-width: 100%
margin: 0 auto