sup element a little too high
-
The sup element was coming out a little too high for my taste; your custom CSS section allows for a quick resolution, and I used:
.footnote_plugin_tooltip_text > sup{top:0.5em}
So consider it resolved. I just note it in case others have similar problems.
As an aside: I personally prefer brackets to enclose my footnote, but your hard coded a right parenthesis. Maybe if you instead code it as a pseudo element (
sup:after
), it becomes customizable (yeah, those pesky browsers treat the positioning differently, true).
I added the following css for my website to at least have the footnote-number fully enclosed (and in a different color):.footnote_plugin_tooltip_text > sup:before{content:" (";} .footnote_plugin_tooltip_text > sup{color:maroon;}
and to deal with the positioning:
@media screen and (-webkit-min-device-pixel-ratio:0){ .footnote_plugin_tooltip_text >sup:before{content:" ("; position:absolute;left:-0.3em} .footnote_plugin_tooltip_text > sup{left:0.3em} }
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘sup element a little too high’ is closed to new replies.