define caption styles
This commit is contained in:
parent
e5c230a1fa
commit
2e6a673bee
15
theme.json
15
theme.json
@ -542,6 +542,21 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"css": "figcaption.wp-element-caption {\n display: inline-block;\n margin: 0;\n padding: 8px 12px;\n}",
|
||||
"elements": {
|
||||
"caption": {
|
||||
"color": {
|
||||
"background": "var(--wp--preset--color--black)",
|
||||
"text": "var(--wp--preset--color--white)"
|
||||
},
|
||||
"typography": {
|
||||
"fontFamily": "var(--wp--preset--font-family--commit-mono)",
|
||||
"fontSize": "12px",
|
||||
"fontWeight": "525",
|
||||
"lineHeight": "1.45"
|
||||
}
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"fontFamily": "sans-serif"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user