🐛 fix: albums display

This commit is contained in:
shenyu 2020-03-15 19:04:20 +08:00
parent 8eadb41a90
commit 68b1022367
5 changed files with 8 additions and 17 deletions

View File

@ -48,7 +48,7 @@
<script src="https://cdn.jsdelivr.net/npm/justifiedGallery@3.7.0/dist/js/jquery.justifiedGallery.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/justifiedGallery@3.7.0/dist/js/jquery.justifiedGallery.min.js"></script>
<%- js('js/ayer') %> <%- js('js/ayer') %>
<% if (theme.image_viewer){ %> <% if (theme.image_viewer && is_post()){ %>
<%- partial('viewer') %> <%- partial('viewer') %>
<% } %> <% } %>
<% if (theme.mathjax){ %> <% if (theme.mathjax){ %>
@ -64,8 +64,3 @@
<% } %> <% } %>
<script type="text/javascript" src="https://js.users.51.la/20544303.js"></script> <script type="text/javascript" src="https://js.users.51.la/20544303.js"></script>
<% if (theme.fancybox){ %>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@3.5.2/dist/jquery.fancybox.min.css">
<script src="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@3.5.2/dist/jquery.fancybox.min.js"></script>
<% } %>

View File

@ -63,6 +63,8 @@ $base-style
white-space nowrap white-space nowrap
td:nth-child(1) td:nth-child(1)
white-space nowrap white-space nowrap
td:nth-child(2)
text-align left !important
blockquote blockquote
display block display block

View File

@ -14,8 +14,7 @@
display inline-block display inline-block
overflow hidden overflow hidden
background gray /* To have gray placeholders while the gallery is loading with waitThumbnailsLoad = false */ background gray /* To have gray placeholders while the gallery is loading with waitThumbnailsLoad = false */
filter "alpha(opacity=10)" opacity 1
opacity 0.1
margin 0 margin 0
padding 0 padding 0
> img, > a > img, > svg, > a > svg > img, > a > img, > svg, > a > svg
@ -25,8 +24,7 @@
margin 0 margin 0
padding 0 padding 0
border none border none
filter "alpha(opacity=0)" opacity 1
opacity 0
> .caption > .caption
display none display none
position absolute position absolute
@ -40,11 +38,9 @@
&.caption-visible &.caption-visible
display initial display initial
> .jg-entry-visible > .jg-entry-visible
filter "alpha(opacity=100)"
opacity 1 opacity 1
background none background none
> img, > a > img, > svg, > a > svg > img, > a > img, > svg, > a > svg
filter "alpha(opacity=100)"
opacity 1 opacity 1
-webkit-transition opacity 500ms ease-in -webkit-transition opacity 500ms ease-in
-moz-transition opacity 500ms ease-in -moz-transition opacity 500ms ease-in
@ -58,13 +54,11 @@
margin-left -24px margin-left -24px
padding 10px 0 10px 0 padding 10px 0 10px 0
left 50% left 50%
filter "alpha(opacity=100)"
opacity 1 opacity 1
overflow initial overflow initial
> span > span
display inline-block display inline-block
filter "alpha(opacity=0)" opacity 1
opacity 0
width 8px width 8px
height 8px height 8px
margin 0 4px 0 4px margin 0 4px 0 4px

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long