Compare commits

..

No commits in common. "95efb8ae2edf7db5aa0ba8b61bf1a2f7f18bc204" and "88b6756a93446f25fa8102cdad19d7e9d2a1779d" have entirely different histories.

2 changed files with 6 additions and 6 deletions

View file

@ -2,7 +2,7 @@
{{ $name_splitted := split $img.RelPermalink "." }} {{ $name_splitted := split $img.RelPermalink "." }}
{{ $name_base := index $name_splitted 0 }} {{ $name_base := index $name_splitted 0 }}
{{ $ext_base := index $name_splitted 1 }} {{ $ext_base := index $name_splitted 1 }}
<figure {{ with .Get "id" }} id="{{ . }}"{{ end }}{{ with .Get "class" }} class="{{ . }}"{{ end }}> <figure {{ with .Get "class" }} class="{{ . }}"{{ end }}>
{{ with .Get "link" }} {{ with .Get "link" }}
<a href="{{ . | absURL }}"> <a href="{{ . | absURL }}">
{{ else }} {{ else }}

View file

@ -544,6 +544,11 @@ 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));
@ -601,11 +606,9 @@ 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 {
@ -626,8 +629,6 @@ a.not(.anchor):focus {
} }
.article-body figure figcaption .attribution { .article-body figure figcaption .attribution {
float: right; float: right;
margin-left: 1em;
margin-top: 1em;
} }
@media only screen and (max-width: 320px) { @media only screen and (max-width: 320px) {
.article-body .footnotes ol { .article-body .footnotes ol {
@ -751,7 +752,6 @@ details[open] summary:hover {
vertical-align: top; vertical-align: top;
position: relative; position: relative;
top: -0.5rem; top: -0.5rem;
font-size: 0.6em;
} }
/******************* Article Blockquote *******************/ /******************* Article Blockquote *******************/