create markdown heading block style
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@ -26,3 +26,26 @@
|
||||
border-left: 1px solid;
|
||||
border-top: 2px solid var(--wp--preset--color--background);
|
||||
}
|
||||
|
||||
/* For the "Markdown-style Heading" block style */
|
||||
.is-style-markdown-heading::before {
|
||||
content: "##";
|
||||
width: 4ch;
|
||||
margin-right: 0;
|
||||
font-family: monospace;
|
||||
margin-inline-end: .3em;
|
||||
letter-spacing: 2px;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 782px) {
|
||||
.is-style-markdown-heading::before {
|
||||
margin-inline-start: 1em;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 782px) {
|
||||
.is-style-markdown-heading {
|
||||
margin-top: 4em;
|
||||
font-size: var(--wp--preset--font-size--medium);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user