diff options
Diffstat (limited to 'wp-includes/blocks/term-description')
5 files changed, 62 insertions, 0 deletions
diff --git a/wp-includes/blocks/term-description/block.json b/wp-includes/blocks/term-description/block.json new file mode 100644 index 0000000..fc91a4a --- /dev/null +++ b/wp-includes/blocks/term-description/block.json @@ -0,0 +1,42 @@ +{ + "$schema": "https://schemas.wp.org/trunk/block.json", + "apiVersion": 3, + "name": "core/term-description", + "title": "Term Description", + "category": "theme", + "description": "Display the description of categories, tags and custom taxonomies when viewing an archive.", + "textdomain": "default", + "attributes": { + "textAlign": { + "type": "string" + } + }, + "supports": { + "align": [ "wide", "full" ], + "html": false, + "color": { + "link": true, + "__experimentalDefaultControls": { + "background": true, + "text": true + } + }, + "spacing": { + "padding": true, + "margin": true + }, + "typography": { + "fontSize": true, + "lineHeight": true, + "__experimentalFontFamily": true, + "__experimentalFontWeight": true, + "__experimentalFontStyle": true, + "__experimentalTextTransform": true, + "__experimentalTextDecoration": true, + "__experimentalLetterSpacing": true, + "__experimentalDefaultControls": { + "fontSize": true + } + } + } +} diff --git a/wp-includes/blocks/term-description/style-rtl.css b/wp-includes/blocks/term-description/style-rtl.css new file mode 100644 index 0000000..f7c75cb --- /dev/null +++ b/wp-includes/blocks/term-description/style-rtl.css @@ -0,0 +1,9 @@ +:where(.wp-block-term-description){ + margin-bottom:var(--wp--style--block-gap); + margin-top:var(--wp--style--block-gap); +} + +.wp-block-term-description p{ + margin-bottom:0; + margin-top:0; +}
\ No newline at end of file diff --git a/wp-includes/blocks/term-description/style-rtl.min.css b/wp-includes/blocks/term-description/style-rtl.min.css new file mode 100644 index 0000000..a31628b --- /dev/null +++ b/wp-includes/blocks/term-description/style-rtl.min.css @@ -0,0 +1 @@ +:where(.wp-block-term-description){margin-bottom:var(--wp--style--block-gap);margin-top:var(--wp--style--block-gap)}.wp-block-term-description p{margin-bottom:0;margin-top:0}
\ No newline at end of file diff --git a/wp-includes/blocks/term-description/style.css b/wp-includes/blocks/term-description/style.css new file mode 100644 index 0000000..f7c75cb --- /dev/null +++ b/wp-includes/blocks/term-description/style.css @@ -0,0 +1,9 @@ +:where(.wp-block-term-description){ + margin-bottom:var(--wp--style--block-gap); + margin-top:var(--wp--style--block-gap); +} + +.wp-block-term-description p{ + margin-bottom:0; + margin-top:0; +}
\ No newline at end of file diff --git a/wp-includes/blocks/term-description/style.min.css b/wp-includes/blocks/term-description/style.min.css new file mode 100644 index 0000000..a31628b --- /dev/null +++ b/wp-includes/blocks/term-description/style.min.css @@ -0,0 +1 @@ +:where(.wp-block-term-description){margin-bottom:var(--wp--style--block-gap);margin-top:var(--wp--style--block-gap)}.wp-block-term-description p{margin-bottom:0;margin-top:0}
\ No newline at end of file |