create arrow list 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:
parent
05f5156a1e
commit
36945564f7
@ -48,4 +48,9 @@
|
|||||||
margin-top: 4em;
|
margin-top: 4em;
|
||||||
font-size: var(--wp--preset--font-size--medium);
|
font-size: var(--wp--preset--font-size--medium);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* For "Arrow" style lists */
|
||||||
|
ul.is-style-arrow-list {
|
||||||
|
list-style-image: url('https://beta.autonomic.zone/wp-content/uploads/2023/01/arrow.png');
|
||||||
}
|
}
|
@ -26,4 +26,11 @@ wp.domReady( () => {
|
|||||||
label: 'Markdown-style Heading',
|
label: 'Markdown-style Heading',
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
wp.blocks.registerBlockStyle(
|
||||||
|
'core/list', {
|
||||||
|
name: 'arrow-list',
|
||||||
|
label: 'Arrows',
|
||||||
|
}
|
||||||
|
)
|
||||||
} )
|
} )
|
@ -35,10 +35,6 @@ html, body {
|
|||||||
.wp-site-blocks h2::before {
|
.wp-site-blocks h2::before {
|
||||||
width: 7ch;
|
width: 7ch;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
.home .wp-site-blocks ul {
|
|
||||||
list-style-image: url('https://beta.autonomic.zone/wp-content/uploads/2023/01/arrow.png');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.home .wp-site-blocks h2 {
|
.home .wp-site-blocks h2 {
|
||||||
|
Loading…
Reference in New Issue
Block a user