🐛 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>
<%- js('js/ayer') %>
<% if (theme.image_viewer){ %>
<% if (theme.image_viewer && is_post()){ %>
<%- partial('viewer') %>
<% } %>
<% if (theme.mathjax){ %>
@ -64,8 +64,3 @@
<% } %>
<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
td:nth-child(1)
white-space nowrap
td:nth-child(2)
text-align left !important
blockquote
display block

View File

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