Skip to content

Commit

Permalink
Add style
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix committed May 2, 2023
1 parent c18252a commit 9eefe15
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
18 changes: 18 additions & 0 deletions packages/block-library/src/footnotes/style.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
.editor-styles-wrapper,
.entry-content {
counter-reset: footnotes;
}

.fn {
vertical-align: super;
font-size: smaller;
counter-increment: footnotes;
display: inline-block;
text-indent: -9999999px;
}

.fn::after {
content: "[" counter(footnotes) "]";
text-indent: 0;
float: left;
}
1 change: 1 addition & 0 deletions packages/block-library/src/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,6 @@
@import "./text-columns/style.scss";
@import "./verse/style.scss";
@import "./video/style.scss";
@import "./footnotes/style.scss";

@import "common.scss";

0 comments on commit 9eefe15

Please sign in to comment.