summaryrefslogtreecommitdiffstats
path: root/wp-includes/blocks/footnotes
diff options
context:
space:
mode:
Diffstat (limited to 'wp-includes/blocks/footnotes')
-rw-r--r--wp-includes/blocks/footnotes/block.json60
-rw-r--r--wp-includes/blocks/footnotes/style-rtl.css18
-rw-r--r--wp-includes/blocks/footnotes/style-rtl.min.css1
-rw-r--r--wp-includes/blocks/footnotes/style.css18
-rw-r--r--wp-includes/blocks/footnotes/style.min.css1
5 files changed, 98 insertions, 0 deletions
diff --git a/wp-includes/blocks/footnotes/block.json b/wp-includes/blocks/footnotes/block.json
new file mode 100644
index 0000000..28b094f
--- /dev/null
+++ b/wp-includes/blocks/footnotes/block.json
@@ -0,0 +1,60 @@
+{
+ "$schema": "https://schemas.wp.org/trunk/block.json",
+ "apiVersion": 3,
+ "name": "core/footnotes",
+ "title": "Footnotes",
+ "category": "text",
+ "description": "",
+ "keywords": [ "references" ],
+ "textdomain": "default",
+ "usesContext": [ "postId", "postType" ],
+ "supports": {
+ "__experimentalBorder": {
+ "radius": true,
+ "color": true,
+ "width": true,
+ "style": true,
+ "__experimentalDefaultControls": {
+ "radius": false,
+ "color": false,
+ "width": false,
+ "style": false
+ }
+ },
+ "color": {
+ "background": true,
+ "link": true,
+ "text": true,
+ "__experimentalDefaultControls": {
+ "link": true,
+ "text": true
+ }
+ },
+ "html": false,
+ "multiple": false,
+ "reusable": false,
+ "spacing": {
+ "margin": true,
+ "padding": true,
+ "__experimentalDefaultControls": {
+ "margin": false,
+ "padding": false
+ }
+ },
+ "typography": {
+ "fontSize": true,
+ "lineHeight": true,
+ "__experimentalFontFamily": true,
+ "__experimentalTextDecoration": true,
+ "__experimentalFontStyle": true,
+ "__experimentalFontWeight": true,
+ "__experimentalLetterSpacing": true,
+ "__experimentalTextTransform": true,
+ "__experimentalWritingMode": true,
+ "__experimentalDefaultControls": {
+ "fontSize": true
+ }
+ }
+ },
+ "style": "wp-block-footnotes"
+}
diff --git a/wp-includes/blocks/footnotes/style-rtl.css b/wp-includes/blocks/footnotes/style-rtl.css
new file mode 100644
index 0000000..bfec43f
--- /dev/null
+++ b/wp-includes/blocks/footnotes/style-rtl.css
@@ -0,0 +1,18 @@
+.editor-styles-wrapper,.entry-content{
+ counter-reset:footnotes;
+}
+
+a[data-fn].fn{
+ counter-increment:footnotes;
+ display:inline-flex;
+ font-size:smaller;
+ text-decoration:none;
+ text-indent:-9999999px;
+ vertical-align:super;
+}
+
+a[data-fn].fn:after{
+ content:"[" counter(footnotes) "]";
+ float:right;
+ text-indent:0;
+} \ No newline at end of file
diff --git a/wp-includes/blocks/footnotes/style-rtl.min.css b/wp-includes/blocks/footnotes/style-rtl.min.css
new file mode 100644
index 0000000..3d62c34
--- /dev/null
+++ b/wp-includes/blocks/footnotes/style-rtl.min.css
@@ -0,0 +1 @@
+.editor-styles-wrapper,.entry-content{counter-reset:footnotes}a[data-fn].fn{counter-increment:footnotes;display:inline-flex;font-size:smaller;text-decoration:none;text-indent:-9999999px;vertical-align:super}a[data-fn].fn:after{content:"[" counter(footnotes) "]";float:right;text-indent:0} \ No newline at end of file
diff --git a/wp-includes/blocks/footnotes/style.css b/wp-includes/blocks/footnotes/style.css
new file mode 100644
index 0000000..acdeafd
--- /dev/null
+++ b/wp-includes/blocks/footnotes/style.css
@@ -0,0 +1,18 @@
+.editor-styles-wrapper,.entry-content{
+ counter-reset:footnotes;
+}
+
+a[data-fn].fn{
+ counter-increment:footnotes;
+ display:inline-flex;
+ font-size:smaller;
+ text-decoration:none;
+ text-indent:-9999999px;
+ vertical-align:super;
+}
+
+a[data-fn].fn:after{
+ content:"[" counter(footnotes) "]";
+ float:left;
+ text-indent:0;
+} \ No newline at end of file
diff --git a/wp-includes/blocks/footnotes/style.min.css b/wp-includes/blocks/footnotes/style.min.css
new file mode 100644
index 0000000..28f6084
--- /dev/null
+++ b/wp-includes/blocks/footnotes/style.min.css
@@ -0,0 +1 @@
+.editor-styles-wrapper,.entry-content{counter-reset:footnotes}a[data-fn].fn{counter-increment:footnotes;display:inline-flex;font-size:smaller;text-decoration:none;text-indent:-9999999px;vertical-align:super}a[data-fn].fn:after{content:"[" counter(footnotes) "]";float:left;text-indent:0} \ No newline at end of file