画像を含むパラグラフ中のテキストをキャプションとして扱う
This commit is contained in:
parent
0b54400c57
commit
984ca3cb3a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user