Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Footnote symbol style is not working for me #26

Open
spapas opened this issue Oct 13, 2013 · 3 comments
Open

Footnote symbol style is not working for me #26

spapas opened this issue Oct 13, 2013 · 3 comments

Comments

@spapas
Copy link

spapas commented Oct 13, 2013

Hello, I've added a footnote using [*]_ and although it works fine, I don't like how the symbol is styled: It is full size and not a superscript :(

Can we fix the css ? I found out that the footnote symbol has a class of footnote-reference something like this:

<a class="footnote-reference" href="#id2" id="id1">[*]</a>

I believe that if we added the following style it would be much better:

.footnote-reference {
   font-size: 0.5em;
   vertical-align: top;
}

Thanks !

@duilio
Copy link
Owner

duilio commented Oct 13, 2013

shouldn't the rst parser translate it into a proper <sup> tag?

@spapas
Copy link
Author

spapas commented Oct 13, 2013

Translating it into a proper <sup> tag is even better for me... The problem is that its not working - it is outputting what I wrote in my previous comment when I use the [*]_. I recommended fixing the .footnote-reference style in order to fix it locally on the theme.

If you believe that it is actually a problem of pelican and not pelican-octopress-theme I could open it to pelican as an issue.

Thanks !

@reagle
Copy link

reagle commented Dec 10, 2015

This has been open for a long time!

atodorov added a commit to MrSenko/pelican-octopress-theme that referenced this issue Jun 4, 2016
…pt text

fixes duilio#26.
NOTE: the rst parser doesn't render these symbols inside a <sup>
tag so we workaround this by updating the theme CSS.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants