mirror of
https://github.com/next-theme/hexo-theme-next.git
synced 2026-01-21 19:32:34 +00:00
Fix figcaption style
This commit is contained in:
parent
fec615cadf
commit
17b57da31a
@ -46,7 +46,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
// https://github.com/hexojs/hexo-renderer-marked/pull/264
|
// 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;
|
color: $grey-dark;
|
||||||
font-size: $font-size-small;
|
font-size: $font-size-small;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
|||||||
@ -53,7 +53,7 @@ if (hexo-config('mobile_layout_economy')) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Fix issue #641
|
// Fix issue #641
|
||||||
img + figcaption, .fancybox + figcaption {
|
figure:not(.highlight) figcaption {
|
||||||
margin: -5px auto 15px !important;
|
margin: -5px auto 15px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -120,7 +120,7 @@ figure.highlight {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// See https://github.com/hexojs/hexo-util/pull/229
|
// See https://github.com/hexojs/hexo-util/pull/229
|
||||||
pre .caption, pre figcaption {
|
pre .caption {
|
||||||
@extend $figcaption;
|
@extend $figcaption;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user