[THEME] Better display of image with longer caption
This commit is contained in:
parent
f29e50d02e
commit
95efb8ae2e
1 changed files with 2 additions and 5 deletions
|
@ -544,11 +544,6 @@ a.not(.anchor):focus {
|
||||||
width: fit-content;
|
width: fit-content;
|
||||||
overflow: visible;
|
overflow: visible;
|
||||||
}
|
}
|
||||||
.article-body figure picture,
|
|
||||||
.article-body figure figcaption {
|
|
||||||
display: table-row;
|
|
||||||
border-spacing: 0;
|
|
||||||
}
|
|
||||||
.article-body figure img {
|
.article-body figure img {
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
min-width: calc(50% - 2 * var(--image-margin-side));
|
min-width: calc(50% - 2 * var(--image-margin-side));
|
||||||
|
@ -606,9 +601,11 @@ a.not(.anchor):focus {
|
||||||
}
|
}
|
||||||
.article-body figure>a {
|
.article-body figure>a {
|
||||||
display: block;
|
display: block;
|
||||||
|
width: fit-content;
|
||||||
outline: none;
|
outline: none;
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
border: none;
|
border: none;
|
||||||
|
margin: auto;
|
||||||
margin-bottom: 0.3em;
|
margin-bottom: 0.3em;
|
||||||
}
|
}
|
||||||
.article-body figure>a:hover {
|
.article-body figure>a:hover {
|
||||||
|
|
Loading…
Reference in a new issue