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
@ -49,3 +49,8 @@
|
|||||||
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',
|
||||||
|
}
|
||||||
|
)
|
||||||
} )
|
} )
|
@ -37,10 +37,6 @@ html, body {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.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 {
|
||||||
color: var(--wp--preset--color--primary)
|
color: var(--wp--preset--color--primary)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user