summaryrefslogtreecommitdiffstats
path: root/wp-includes/blocks/pullquote
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 07:56:49 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 07:56:49 +0000
commita415c29efee45520ae252d2aa28f1083a521cd7b (patch)
treef4ade4b6668ecc0765de7e1424f7c1427ad433ff /wp-includes/blocks/pullquote
parentInitial commit. (diff)
downloadwordpress-a415c29efee45520ae252d2aa28f1083a521cd7b.tar.xz
wordpress-a415c29efee45520ae252d2aa28f1083a521cd7b.zip
Adding upstream version 6.4.3+dfsg1.upstream/6.4.3+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'wp-includes/blocks/pullquote')
-rw-r--r--wp-includes/blocks/pullquote/block.json74
-rw-r--r--wp-includes/blocks/pullquote/editor-rtl.css11
-rw-r--r--wp-includes/blocks/pullquote/editor-rtl.min.css1
-rw-r--r--wp-includes/blocks/pullquote/editor.css11
-rw-r--r--wp-includes/blocks/pullquote/editor.min.css1
-rw-r--r--wp-includes/blocks/pullquote/style-rtl.css52
-rw-r--r--wp-includes/blocks/pullquote/style-rtl.min.css1
-rw-r--r--wp-includes/blocks/pullquote/style.css52
-rw-r--r--wp-includes/blocks/pullquote/style.min.css1
-rw-r--r--wp-includes/blocks/pullquote/theme-rtl.css12
-rw-r--r--wp-includes/blocks/pullquote/theme-rtl.min.css1
-rw-r--r--wp-includes/blocks/pullquote/theme.css12
-rw-r--r--wp-includes/blocks/pullquote/theme.min.css1
13 files changed, 230 insertions, 0 deletions
diff --git a/wp-includes/blocks/pullquote/block.json b/wp-includes/blocks/pullquote/block.json
new file mode 100644
index 0000000..54c4175
--- /dev/null
+++ b/wp-includes/blocks/pullquote/block.json
@@ -0,0 +1,74 @@
+{
+ "$schema": "https://schemas.wp.org/trunk/block.json",
+ "apiVersion": 3,
+ "name": "core/pullquote",
+ "title": "Pullquote",
+ "category": "text",
+ "description": "Give special visual emphasis to a quote from your text.",
+ "textdomain": "default",
+ "attributes": {
+ "value": {
+ "type": "string",
+ "source": "html",
+ "selector": "p",
+ "__experimentalRole": "content"
+ },
+ "citation": {
+ "type": "string",
+ "source": "html",
+ "selector": "cite",
+ "default": "",
+ "__experimentalRole": "content"
+ },
+ "textAlign": {
+ "type": "string"
+ }
+ },
+ "supports": {
+ "anchor": true,
+ "align": [ "left", "right", "wide", "full" ],
+ "color": {
+ "gradients": true,
+ "background": true,
+ "link": true,
+ "__experimentalDefaultControls": {
+ "background": true,
+ "text": true
+ }
+ },
+ "typography": {
+ "fontSize": true,
+ "lineHeight": true,
+ "__experimentalFontFamily": true,
+ "__experimentalFontWeight": true,
+ "__experimentalFontStyle": true,
+ "__experimentalTextTransform": true,
+ "__experimentalTextDecoration": true,
+ "__experimentalLetterSpacing": true,
+ "__experimentalDefaultControls": {
+ "fontSize": true,
+ "fontAppearance": true
+ }
+ },
+ "__experimentalBorder": {
+ "color": true,
+ "radius": true,
+ "style": true,
+ "width": true,
+ "__experimentalDefaultControls": {
+ "color": true,
+ "radius": true,
+ "style": true,
+ "width": true
+ }
+ },
+ "__experimentalStyle": {
+ "typography": {
+ "fontSize": "1.5em",
+ "lineHeight": "1.6"
+ }
+ }
+ },
+ "editorStyle": "wp-block-pullquote-editor",
+ "style": "wp-block-pullquote"
+}
diff --git a/wp-includes/blocks/pullquote/editor-rtl.css b/wp-includes/blocks/pullquote/editor-rtl.css
new file mode 100644
index 0000000..969221b
--- /dev/null
+++ b/wp-includes/blocks/pullquote/editor-rtl.css
@@ -0,0 +1,11 @@
+.wp-block-pullquote.is-style-solid-color blockquote p{
+ font-size:32px;
+}
+.wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation{
+ font-style:normal;
+ text-transform:none;
+}
+
+.wp-block-pullquote .wp-block-pullquote__citation{
+ color:inherit;
+} \ No newline at end of file
diff --git a/wp-includes/blocks/pullquote/editor-rtl.min.css b/wp-includes/blocks/pullquote/editor-rtl.min.css
new file mode 100644
index 0000000..0e11af8
--- /dev/null
+++ b/wp-includes/blocks/pullquote/editor-rtl.min.css
@@ -0,0 +1 @@
+.wp-block-pullquote.is-style-solid-color blockquote p{font-size:32px}.wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation{font-style:normal;text-transform:none}.wp-block-pullquote .wp-block-pullquote__citation{color:inherit} \ No newline at end of file
diff --git a/wp-includes/blocks/pullquote/editor.css b/wp-includes/blocks/pullquote/editor.css
new file mode 100644
index 0000000..969221b
--- /dev/null
+++ b/wp-includes/blocks/pullquote/editor.css
@@ -0,0 +1,11 @@
+.wp-block-pullquote.is-style-solid-color blockquote p{
+ font-size:32px;
+}
+.wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation{
+ font-style:normal;
+ text-transform:none;
+}
+
+.wp-block-pullquote .wp-block-pullquote__citation{
+ color:inherit;
+} \ No newline at end of file
diff --git a/wp-includes/blocks/pullquote/editor.min.css b/wp-includes/blocks/pullquote/editor.min.css
new file mode 100644
index 0000000..0e11af8
--- /dev/null
+++ b/wp-includes/blocks/pullquote/editor.min.css
@@ -0,0 +1 @@
+.wp-block-pullquote.is-style-solid-color blockquote p{font-size:32px}.wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation{font-style:normal;text-transform:none}.wp-block-pullquote .wp-block-pullquote__citation{color:inherit} \ No newline at end of file
diff --git a/wp-includes/blocks/pullquote/style-rtl.css b/wp-includes/blocks/pullquote/style-rtl.css
new file mode 100644
index 0000000..94d1ff5
--- /dev/null
+++ b/wp-includes/blocks/pullquote/style-rtl.css
@@ -0,0 +1,52 @@
+.wp-block-pullquote{
+ box-sizing:border-box;
+ overflow-wrap:break-word;
+ padding:3em 0;
+ text-align:center;
+}
+.wp-block-pullquote blockquote,.wp-block-pullquote cite,.wp-block-pullquote p{
+ color:inherit;
+}
+.wp-block-pullquote.alignleft,.wp-block-pullquote.alignright{
+ max-width:420px;
+}
+.wp-block-pullquote cite,.wp-block-pullquote footer{
+ position:relative;
+}
+.wp-block-pullquote .has-text-color a{
+ color:inherit;
+}
+
+:where(.wp-block-pullquote){
+ margin:0 0 1em;
+}
+
+.wp-block-pullquote.has-text-align-left blockquote{
+ text-align:right;
+}
+
+.wp-block-pullquote.has-text-align-right blockquote{
+ text-align:left;
+}
+
+.wp-block-pullquote.is-style-solid-color{
+ border:none;
+}
+.wp-block-pullquote.is-style-solid-color blockquote{
+ margin-left:auto;
+ margin-right:auto;
+ max-width:60%;
+}
+.wp-block-pullquote.is-style-solid-color blockquote p{
+ font-size:2em;
+ margin-bottom:0;
+ margin-top:0;
+}
+.wp-block-pullquote.is-style-solid-color blockquote cite{
+ font-style:normal;
+ text-transform:none;
+}
+
+.wp-block-pullquote cite{
+ color:inherit;
+} \ No newline at end of file
diff --git a/wp-includes/blocks/pullquote/style-rtl.min.css b/wp-includes/blocks/pullquote/style-rtl.min.css
new file mode 100644
index 0000000..6980ae9
--- /dev/null
+++ b/wp-includes/blocks/pullquote/style-rtl.min.css
@@ -0,0 +1 @@
+.wp-block-pullquote{box-sizing:border-box;overflow-wrap:break-word;padding:3em 0;text-align:center}.wp-block-pullquote blockquote,.wp-block-pullquote cite,.wp-block-pullquote p{color:inherit}.wp-block-pullquote.alignleft,.wp-block-pullquote.alignright{max-width:420px}.wp-block-pullquote cite,.wp-block-pullquote footer{position:relative}.wp-block-pullquote .has-text-color a{color:inherit}:where(.wp-block-pullquote){margin:0 0 1em}.wp-block-pullquote.has-text-align-left blockquote{text-align:right}.wp-block-pullquote.has-text-align-right blockquote{text-align:left}.wp-block-pullquote.is-style-solid-color{border:none}.wp-block-pullquote.is-style-solid-color blockquote{margin-left:auto;margin-right:auto;max-width:60%}.wp-block-pullquote.is-style-solid-color blockquote p{font-size:2em;margin-bottom:0;margin-top:0}.wp-block-pullquote.is-style-solid-color blockquote cite{font-style:normal;text-transform:none}.wp-block-pullquote cite{color:inherit} \ No newline at end of file
diff --git a/wp-includes/blocks/pullquote/style.css b/wp-includes/blocks/pullquote/style.css
new file mode 100644
index 0000000..6380ab3
--- /dev/null
+++ b/wp-includes/blocks/pullquote/style.css
@@ -0,0 +1,52 @@
+.wp-block-pullquote{
+ box-sizing:border-box;
+ overflow-wrap:break-word;
+ padding:3em 0;
+ text-align:center;
+}
+.wp-block-pullquote blockquote,.wp-block-pullquote cite,.wp-block-pullquote p{
+ color:inherit;
+}
+.wp-block-pullquote.alignleft,.wp-block-pullquote.alignright{
+ max-width:420px;
+}
+.wp-block-pullquote cite,.wp-block-pullquote footer{
+ position:relative;
+}
+.wp-block-pullquote .has-text-color a{
+ color:inherit;
+}
+
+:where(.wp-block-pullquote){
+ margin:0 0 1em;
+}
+
+.wp-block-pullquote.has-text-align-left blockquote{
+ text-align:left;
+}
+
+.wp-block-pullquote.has-text-align-right blockquote{
+ text-align:right;
+}
+
+.wp-block-pullquote.is-style-solid-color{
+ border:none;
+}
+.wp-block-pullquote.is-style-solid-color blockquote{
+ margin-left:auto;
+ margin-right:auto;
+ max-width:60%;
+}
+.wp-block-pullquote.is-style-solid-color blockquote p{
+ font-size:2em;
+ margin-bottom:0;
+ margin-top:0;
+}
+.wp-block-pullquote.is-style-solid-color blockquote cite{
+ font-style:normal;
+ text-transform:none;
+}
+
+.wp-block-pullquote cite{
+ color:inherit;
+} \ No newline at end of file
diff --git a/wp-includes/blocks/pullquote/style.min.css b/wp-includes/blocks/pullquote/style.min.css
new file mode 100644
index 0000000..04ea27f
--- /dev/null
+++ b/wp-includes/blocks/pullquote/style.min.css
@@ -0,0 +1 @@
+.wp-block-pullquote{box-sizing:border-box;overflow-wrap:break-word;padding:3em 0;text-align:center}.wp-block-pullquote blockquote,.wp-block-pullquote cite,.wp-block-pullquote p{color:inherit}.wp-block-pullquote.alignleft,.wp-block-pullquote.alignright{max-width:420px}.wp-block-pullquote cite,.wp-block-pullquote footer{position:relative}.wp-block-pullquote .has-text-color a{color:inherit}:where(.wp-block-pullquote){margin:0 0 1em}.wp-block-pullquote.has-text-align-left blockquote{text-align:left}.wp-block-pullquote.has-text-align-right blockquote{text-align:right}.wp-block-pullquote.is-style-solid-color{border:none}.wp-block-pullquote.is-style-solid-color blockquote{margin-left:auto;margin-right:auto;max-width:60%}.wp-block-pullquote.is-style-solid-color blockquote p{font-size:2em;margin-bottom:0;margin-top:0}.wp-block-pullquote.is-style-solid-color blockquote cite{font-style:normal;text-transform:none}.wp-block-pullquote cite{color:inherit} \ No newline at end of file
diff --git a/wp-includes/blocks/pullquote/theme-rtl.css b/wp-includes/blocks/pullquote/theme-rtl.css
new file mode 100644
index 0000000..ba06da5
--- /dev/null
+++ b/wp-includes/blocks/pullquote/theme-rtl.css
@@ -0,0 +1,12 @@
+.wp-block-pullquote{
+ border-bottom:4px solid;
+ border-top:4px solid;
+ color:currentColor;
+ margin-bottom:1.75em;
+}
+.wp-block-pullquote cite,.wp-block-pullquote footer,.wp-block-pullquote__citation{
+ color:currentColor;
+ font-size:.8125em;
+ font-style:normal;
+ text-transform:uppercase;
+} \ No newline at end of file
diff --git a/wp-includes/blocks/pullquote/theme-rtl.min.css b/wp-includes/blocks/pullquote/theme-rtl.min.css
new file mode 100644
index 0000000..74a35ef
--- /dev/null
+++ b/wp-includes/blocks/pullquote/theme-rtl.min.css
@@ -0,0 +1 @@
+.wp-block-pullquote{border-bottom:4px solid;border-top:4px solid;color:currentColor;margin-bottom:1.75em}.wp-block-pullquote cite,.wp-block-pullquote footer,.wp-block-pullquote__citation{color:currentColor;font-size:.8125em;font-style:normal;text-transform:uppercase} \ No newline at end of file
diff --git a/wp-includes/blocks/pullquote/theme.css b/wp-includes/blocks/pullquote/theme.css
new file mode 100644
index 0000000..ba06da5
--- /dev/null
+++ b/wp-includes/blocks/pullquote/theme.css
@@ -0,0 +1,12 @@
+.wp-block-pullquote{
+ border-bottom:4px solid;
+ border-top:4px solid;
+ color:currentColor;
+ margin-bottom:1.75em;
+}
+.wp-block-pullquote cite,.wp-block-pullquote footer,.wp-block-pullquote__citation{
+ color:currentColor;
+ font-size:.8125em;
+ font-style:normal;
+ text-transform:uppercase;
+} \ No newline at end of file
diff --git a/wp-includes/blocks/pullquote/theme.min.css b/wp-includes/blocks/pullquote/theme.min.css
new file mode 100644
index 0000000..74a35ef
--- /dev/null
+++ b/wp-includes/blocks/pullquote/theme.min.css
@@ -0,0 +1 @@
+.wp-block-pullquote{border-bottom:4px solid;border-top:4px solid;color:currentColor;margin-bottom:1.75em}.wp-block-pullquote cite,.wp-block-pullquote footer,.wp-block-pullquote__citation{color:currentColor;font-size:.8125em;font-style:normal;text-transform:uppercase} \ No newline at end of file