画像を含むパラグラフ中のテキストをキャプションとして扱う
This commit is contained in:
parent
0b54400c57
commit
984ca3cb3a
@ -50,10 +50,14 @@
|
|||||||
|
|
||||||
& img {
|
& img {
|
||||||
display: block;
|
display: block;
|
||||||
margin: 1em auto;
|
margin: auto;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
max-height: 60vh;
|
max-height: 60vh;
|
||||||
}
|
}
|
||||||
|
& p:has(img) {
|
||||||
|
text-align: center;
|
||||||
|
& br {display: none;}
|
||||||
|
}
|
||||||
|
|
||||||
& code {
|
& code {
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
|
Loading…
Reference in New Issue
Block a user