add: pills class for pill formatted box

This commit is contained in:
2024-11-10 19:26:23 -03:00
parent a61dd476dd
commit 29bd69bac3

View File

@@ -212,7 +212,16 @@
"css": ".news-list & {height: 100%; display: flex; flex-direction: column; justify-content: space-between;}"
},
"core/post-terms": {
"css": "&.news-suite {font-size: var(--wp--preset--font-size--small); padding: 0.1em 0.2em; border-radius: 0.2em; width: fit-content; margin-left: 0 !important; margin-right: 0 !important;} &.news-list.suite-left {align-self: left;} &.news-list.suite-right {align-self: rignt;} &.news-list.suite-center {align-self: center;} "
"css": "&.news-suite {font-size: var(--wp--preset--font-size--small); width: fit-content; margin-left: 0 !important; margin-right: 0 !important;} &.news-list.suite-left {align-self: left;} &.news-list.suite-right {align-self: rignt;} &.news-list.suite-center {align-self: center;} ",
"elements": {
"link": {
"color": {
"background": "var(--wp--preset--color--highlight)",
"text": "var(--wp--preset--color--base)"
},
"css": ".pills & {display: inline-block; padding: 0.1em 0.2em; border-radius: 0.2em; margin: 0.1em;}"
}
}
},
"core/post-title": {
"css": "&.news-heading {margin-top: 0.1em; text-shadow: 0 0 0.25em #000000;}"