1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-18 05:41:31 +00:00

feat: support showing description of preview image

Also moved the image position to the metadata area
This commit is contained in:
Cotes Chung
2022-04-26 03:03:34 +08:00
parent 135a16f13e
commit 2bd6efa95a
3 changed files with 30 additions and 26 deletions

View File

@@ -441,7 +441,7 @@ img[data-src] {
margin-right: 2px;
}
&:hover {
&:not([class]):hover {
@extend %link-hover;
}
}

View File

@@ -41,8 +41,7 @@ h1 + .post-meta {
}
img.preview-img {
margin-top: 3.75rem;
margin-bottom: 0;
margin: 0;
border-radius: 6px;
&.bg[data-loaded=true] {