Fix figcaption style

This commit is contained in:
Mimi 2024-11-19 15:22:51 +08:00
parent fec615cadf
commit 17b57da31a
3 changed files with 4 additions and 3 deletions

View File

@ -46,7 +46,8 @@
}
// https://github.com/hexojs/hexo-renderer-marked/pull/264
img + figcaption, .fancybox + figcaption {
// https://github.com/next-theme/hexo-next-exif
figure:not(.highlight) figcaption {
color: $grey-dark;
font-size: $font-size-small;
font-weight: bold;

View File

@ -53,7 +53,7 @@ if (hexo-config('mobile_layout_economy')) {
}
// Fix issue #641
img + figcaption, .fancybox + figcaption {
figure:not(.highlight) figcaption {
margin: -5px auto 15px !important;
}

View File

@ -120,7 +120,7 @@ figure.highlight {
}
// See https://github.com/hexojs/hexo-util/pull/229
pre .caption, pre figcaption {
pre .caption {
@extend $figcaption;
margin-bottom: 10px;
}