autonomic-block-theme/block-styles.css

58 lines
1.3 KiB
CSS
Raw Normal View History

/* For the "Tabbed Heading" block style */
2023-08-29 11:01:38 +00:00
.is-style-tabbed-heading {
display: flex;
height: 36px;
align-items: center;
border-top: 1px solid;
}
2023-08-29 11:01:38 +00:00
.is-style-tabbed-heading::before {
content: "";
border-bottom: 1px solid;
border-right: 1px solid;
width: 80px;
margin-right: 8px;
height: 36px;
border-top: 2px solid var(--wp--preset--color--background);
}
2023-08-29 11:01:38 +00:00
.is-style-tabbed-heading::after {
content: "";
border-bottom: 1px solid;
flex-grow: 1;
margin-left: 8px;
height: 36px;
border-left: 1px solid;
border-top: 2px solid var(--wp--preset--color--background);
}
2023-08-29 12:11:33 +00:00
/* 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);
}
2023-08-29 12:21:08 +00:00
}
2023-08-29 12:22:03 +00:00
/* For "Arrow" style lists
* TODO: use an svg or dashicons arrow component for this
*/
2023-08-29 12:21:08 +00:00
ul.is-style-arrow-list {
list-style-image: url('https://beta.autonomic.zone/wp-content/uploads/2023/01/arrow.png');
2023-08-29 12:11:33 +00:00
}