summaryrefslogtreecommitdiffstats
path: root/wp-includes/blocks/footnotes/style.css
diff options
context:
space:
mode:
Diffstat (limited to 'wp-includes/blocks/footnotes/style.css')
-rw-r--r--wp-includes/blocks/footnotes/style.css18
1 files changed, 18 insertions, 0 deletions
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