summaryrefslogtreecommitdiffstats
path: root/wp-includes/blocks/quote
diff options
context:
space:
mode:
Diffstat (limited to 'wp-includes/blocks/quote')
-rw-r--r--wp-includes/blocks/quote/block.json69
-rw-r--r--wp-includes/blocks/quote/style-rtl.css17
-rw-r--r--wp-includes/blocks/quote/style-rtl.min.css1
-rw-r--r--wp-includes/blocks/quote/style.css17
-rw-r--r--wp-includes/blocks/quote/style.min.css1
-rw-r--r--wp-includes/blocks/quote/theme-rtl.css24
-rw-r--r--wp-includes/blocks/quote/theme-rtl.min.css1
-rw-r--r--wp-includes/blocks/quote/theme.css24
-rw-r--r--wp-includes/blocks/quote/theme.min.css1
9 files changed, 155 insertions, 0 deletions
diff --git a/wp-includes/blocks/quote/block.json b/wp-includes/blocks/quote/block.json
new file mode 100644
index 0000000..eff4649
--- /dev/null
+++ b/wp-includes/blocks/quote/block.json
@@ -0,0 +1,69 @@
+{
+ "$schema": "https://schemas.wp.org/trunk/block.json",
+ "apiVersion": 3,
+ "name": "core/quote",
+ "title": "Quote",
+ "category": "text",
+ "description": "Give quoted text visual emphasis. \"In quoting others, we cite ourselves.\" — Julio Cortázar",
+ "keywords": [ "blockquote", "cite" ],
+ "textdomain": "default",
+ "attributes": {
+ "value": {
+ "type": "string",
+ "source": "html",
+ "selector": "blockquote",
+ "multiline": "p",
+ "default": "",
+ "__experimentalRole": "content"
+ },
+ "citation": {
+ "type": "string",
+ "source": "html",
+ "selector": "cite",
+ "default": "",
+ "__experimentalRole": "content"
+ },
+ "align": {
+ "type": "string"
+ }
+ },
+ "supports": {
+ "anchor": true,
+ "html": false,
+ "__experimentalOnEnter": true,
+ "__experimentalOnMerge": true,
+ "typography": {
+ "fontSize": true,
+ "lineHeight": true,
+ "__experimentalFontFamily": true,
+ "__experimentalFontWeight": true,
+ "__experimentalFontStyle": true,
+ "__experimentalTextTransform": true,
+ "__experimentalTextDecoration": true,
+ "__experimentalLetterSpacing": true,
+ "__experimentalDefaultControls": {
+ "fontSize": true,
+ "fontAppearance": true
+ }
+ },
+ "color": {
+ "gradients": true,
+ "heading": true,
+ "link": true,
+ "__experimentalDefaultControls": {
+ "background": true,
+ "text": true
+ }
+ }
+ },
+ "styles": [
+ {
+ "name": "default",
+ "label": "Default",
+ "isDefault": true
+ },
+ { "name": "plain", "label": "Plain" }
+ ],
+ "editorStyle": "wp-block-quote-editor",
+ "style": "wp-block-quote"
+}
diff --git a/wp-includes/blocks/quote/style-rtl.css b/wp-includes/blocks/quote/style-rtl.css
new file mode 100644
index 0000000..e99e31e
--- /dev/null
+++ b/wp-includes/blocks/quote/style-rtl.css
@@ -0,0 +1,17 @@
+.wp-block-quote{
+ box-sizing:border-box;
+ overflow-wrap:break-word;
+}
+.wp-block-quote.is-large:where(:not(.is-style-plain)),.wp-block-quote.is-style-large:where(:not(.is-style-plain)){
+ margin-bottom:1em;
+ padding:0 1em;
+}
+.wp-block-quote.is-large:where(:not(.is-style-plain)) p,.wp-block-quote.is-style-large:where(:not(.is-style-plain)) p{
+ font-size:1.5em;
+ font-style:italic;
+ line-height:1.6;
+}
+.wp-block-quote.is-large:where(:not(.is-style-plain)) cite,.wp-block-quote.is-large:where(:not(.is-style-plain)) footer,.wp-block-quote.is-style-large:where(:not(.is-style-plain)) cite,.wp-block-quote.is-style-large:where(:not(.is-style-plain)) footer{
+ font-size:1.125em;
+ text-align:left;
+} \ No newline at end of file
diff --git a/wp-includes/blocks/quote/style-rtl.min.css b/wp-includes/blocks/quote/style-rtl.min.css
new file mode 100644
index 0000000..84c4c8e
--- /dev/null
+++ b/wp-includes/blocks/quote/style-rtl.min.css
@@ -0,0 +1 @@
+.wp-block-quote{box-sizing:border-box;overflow-wrap:break-word}.wp-block-quote.is-large:where(:not(.is-style-plain)),.wp-block-quote.is-style-large:where(:not(.is-style-plain)){margin-bottom:1em;padding:0 1em}.wp-block-quote.is-large:where(:not(.is-style-plain)) p,.wp-block-quote.is-style-large:where(:not(.is-style-plain)) p{font-size:1.5em;font-style:italic;line-height:1.6}.wp-block-quote.is-large:where(:not(.is-style-plain)) cite,.wp-block-quote.is-large:where(:not(.is-style-plain)) footer,.wp-block-quote.is-style-large:where(:not(.is-style-plain)) cite,.wp-block-quote.is-style-large:where(:not(.is-style-plain)) footer{font-size:1.125em;text-align:left} \ No newline at end of file
diff --git a/wp-includes/blocks/quote/style.css b/wp-includes/blocks/quote/style.css
new file mode 100644
index 0000000..366962d
--- /dev/null
+++ b/wp-includes/blocks/quote/style.css
@@ -0,0 +1,17 @@
+.wp-block-quote{
+ box-sizing:border-box;
+ overflow-wrap:break-word;
+}
+.wp-block-quote.is-large:where(:not(.is-style-plain)),.wp-block-quote.is-style-large:where(:not(.is-style-plain)){
+ margin-bottom:1em;
+ padding:0 1em;
+}
+.wp-block-quote.is-large:where(:not(.is-style-plain)) p,.wp-block-quote.is-style-large:where(:not(.is-style-plain)) p{
+ font-size:1.5em;
+ font-style:italic;
+ line-height:1.6;
+}
+.wp-block-quote.is-large:where(:not(.is-style-plain)) cite,.wp-block-quote.is-large:where(:not(.is-style-plain)) footer,.wp-block-quote.is-style-large:where(:not(.is-style-plain)) cite,.wp-block-quote.is-style-large:where(:not(.is-style-plain)) footer{
+ font-size:1.125em;
+ text-align:right;
+} \ No newline at end of file
diff --git a/wp-includes/blocks/quote/style.min.css b/wp-includes/blocks/quote/style.min.css
new file mode 100644
index 0000000..81cdcd9
--- /dev/null
+++ b/wp-includes/blocks/quote/style.min.css
@@ -0,0 +1 @@
+.wp-block-quote{box-sizing:border-box;overflow-wrap:break-word}.wp-block-quote.is-large:where(:not(.is-style-plain)),.wp-block-quote.is-style-large:where(:not(.is-style-plain)){margin-bottom:1em;padding:0 1em}.wp-block-quote.is-large:where(:not(.is-style-plain)) p,.wp-block-quote.is-style-large:where(:not(.is-style-plain)) p{font-size:1.5em;font-style:italic;line-height:1.6}.wp-block-quote.is-large:where(:not(.is-style-plain)) cite,.wp-block-quote.is-large:where(:not(.is-style-plain)) footer,.wp-block-quote.is-style-large:where(:not(.is-style-plain)) cite,.wp-block-quote.is-style-large:where(:not(.is-style-plain)) footer{font-size:1.125em;text-align:right} \ No newline at end of file
diff --git a/wp-includes/blocks/quote/theme-rtl.css b/wp-includes/blocks/quote/theme-rtl.css
new file mode 100644
index 0000000..0b72bd7
--- /dev/null
+++ b/wp-includes/blocks/quote/theme-rtl.css
@@ -0,0 +1,24 @@
+.wp-block-quote{
+ border-right:.25em solid;
+ margin:0 0 1.75em;
+ padding-right:1em;
+}
+.wp-block-quote cite,.wp-block-quote footer{
+ color:currentColor;
+ font-size:.8125em;
+ font-style:normal;
+ position:relative;
+}
+.wp-block-quote.has-text-align-right{
+ border-left:.25em solid;
+ border-right:none;
+ padding-left:1em;
+ padding-right:0;
+}
+.wp-block-quote.has-text-align-center{
+ border:none;
+ padding-right:0;
+}
+.wp-block-quote.is-large,.wp-block-quote.is-style-large,.wp-block-quote.is-style-plain{
+ border:none;
+} \ No newline at end of file
diff --git a/wp-includes/blocks/quote/theme-rtl.min.css b/wp-includes/blocks/quote/theme-rtl.min.css
new file mode 100644
index 0000000..1a08a72
--- /dev/null
+++ b/wp-includes/blocks/quote/theme-rtl.min.css
@@ -0,0 +1 @@
+.wp-block-quote{border-right:.25em solid;margin:0 0 1.75em;padding-right:1em}.wp-block-quote cite,.wp-block-quote footer{color:currentColor;font-size:.8125em;font-style:normal;position:relative}.wp-block-quote.has-text-align-right{border-left:.25em solid;border-right:none;padding-left:1em;padding-right:0}.wp-block-quote.has-text-align-center{border:none;padding-right:0}.wp-block-quote.is-large,.wp-block-quote.is-style-large,.wp-block-quote.is-style-plain{border:none} \ No newline at end of file
diff --git a/wp-includes/blocks/quote/theme.css b/wp-includes/blocks/quote/theme.css
new file mode 100644
index 0000000..538f1f0
--- /dev/null
+++ b/wp-includes/blocks/quote/theme.css
@@ -0,0 +1,24 @@
+.wp-block-quote{
+ border-left:.25em solid;
+ margin:0 0 1.75em;
+ padding-left:1em;
+}
+.wp-block-quote cite,.wp-block-quote footer{
+ color:currentColor;
+ font-size:.8125em;
+ font-style:normal;
+ position:relative;
+}
+.wp-block-quote.has-text-align-right{
+ border-left:none;
+ border-right:.25em solid;
+ padding-left:0;
+ padding-right:1em;
+}
+.wp-block-quote.has-text-align-center{
+ border:none;
+ padding-left:0;
+}
+.wp-block-quote.is-large,.wp-block-quote.is-style-large,.wp-block-quote.is-style-plain{
+ border:none;
+} \ No newline at end of file
diff --git a/wp-includes/blocks/quote/theme.min.css b/wp-includes/blocks/quote/theme.min.css
new file mode 100644
index 0000000..8ea2748
--- /dev/null
+++ b/wp-includes/blocks/quote/theme.min.css
@@ -0,0 +1 @@
+.wp-block-quote{border-left:.25em solid;margin:0 0 1.75em;padding-left:1em}.wp-block-quote cite,.wp-block-quote footer{color:currentColor;font-size:.8125em;font-style:normal;position:relative}.wp-block-quote.has-text-align-right{border-left:none;border-right:.25em solid;padding-left:0;padding-right:1em}.wp-block-quote.has-text-align-center{border:none;padding-left:0}.wp-block-quote.is-large,.wp-block-quote.is-style-large,.wp-block-quote.is-style-plain{border:none} \ No newline at end of file