feat(image): add image lightgallery

This commit is contained in:
Dillon
2020-02-24 17:00:39 +08:00
parent fbfcbaebca
commit 72a2e9bdcf
50 changed files with 478 additions and 353 deletions

View File

@@ -168,26 +168,35 @@
figure {
text-align: center;
}
.image-caption:not(:empty) {
min-width: 20%;
max-width: 80%;
display: inline-block;
padding: .625rem;
margin: 0 auto;
border-bottom: 1px solid #d9d9d9;
font-size: .875rem;
color: #969696;
line-height: 1.7;
.image-caption:not(:empty) {
min-width: 20%;
max-width: 80%;
display: inline-block;
padding: .625rem;
margin: 0 auto;
border-bottom: 1px solid #d9d9d9;
font-size: .875rem;
color: #969696;
line-height: 1.7;
}
a.lightgallery:hover img {
transform: scale(1.02);
}
}
img {
display: block;
max-width: 100%;
max-width: 90%;
height: auto;
margin: 0 auto;
overflow: hidden;
transition: all 0.2s ease-in-out;
}
.lazyloading {
object-fit: none;
}
blockquote {

View File

@@ -6,3 +6,4 @@ aplayer@1.10.1
animate.css@3.7.2
mermaid@8.4.2
valine@1.3.10
lightgallery@1.1.3

File diff suppressed because one or more lines are too long