Skip to content

Commit

Permalink
turn footnote into supercript
Browse files Browse the repository at this point in the history
  • Loading branch information
yhuang85 committed Sep 23, 2021
1 parent 992d88b commit 14a48a3
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7399,6 +7399,10 @@ blockquote {
dt.label > span.brackets:not(:only-child):before {
content: "["; }

a.footnote-reference {
vertical-align: super;
font-size: small; }

dt.label > span.brackets:not(:only-child):after {
content: "]"; }

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions pydata_sphinx_theme/static/webpack-macros.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@

{% macro head_pre_bootstrap() %}
<link href="{{ pathto('_static/css/theme.css', 1) }}" rel="stylesheet">
<link href="{{ pathto('_static/css/index.64600c13506fbbf298c76b8744e66db1.css', 1) }}" rel="stylesheet">
<link href="{{ pathto('_static/css/index.3237efd0efc78099ddd6020bfa69a81b.css', 1) }}" rel="stylesheet">
{% endmacro %}

{% macro head_js_preload() %}
<link rel="preload" as="script" href="{{ pathto('_static/js/index.30059cfebb744cea1d2d.js', 1) }}">
<link rel="preload" as="script" href="{{ pathto('_static/js/index.da3d79339a62de1b5761.js', 1) }}">
{% endmacro %}

{% macro body_post() %}
<script src="{{ pathto('_static/js/index.30059cfebb744cea1d2d.js', 1) }}"></script>
<script src="{{ pathto('_static/js/index.da3d79339a62de1b5761.js', 1) }}"></script>
{% endmacro %}
6 changes: 6 additions & 0 deletions src/scss/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ dt.label > span.brackets:not(:only-child):before {
content: "[";
}

// Make footnote as a supercript
a.footnote-reference {
vertical-align: super;
font-size: small;
}

dt.label > span.brackets:not(:only-child):after {
content: "]";
}
Expand Down

0 comments on commit 14a48a3

Please sign in to comment.