画像を含むパラグラフ中のテキストをキャプションとして扱う

This commit is contained in:
moris 2025-02-01 20:02:56 +09:00
parent 0b54400c57
commit 984ca3cb3a

View File

@ -50,10 +50,14 @@
& img {
display: block;
margin: 1em auto;
margin: auto;
max-width: 100%;
max-height: 60vh;
}
& p:has(img) {
text-align: center;
& br {display: none;}
}
& code {
font-size: 1rem;