Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated sub/sup css to make them not be impacted by line-height. Fixes

  • Loading branch information...
commit 7c81999b782dbdd4e8c767741eb569bd8deb1b96 1 parent 8766733
Divya Manian authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 css/style.css
View
6 css/style.css
@@ -125,8 +125,10 @@ strong, th { font-weight: bold; }
td, td img { vertical-align: top; }
-sub { vertical-align: sub; font-size: smaller; }
-sup { vertical-align: super; font-size: smaller; }
+/* Set sub, sup without affecting line-height: gist.github.com/413930*/
+sub, sup { font-size: 75%; line-height: 0; position: relative; }
+sup { top: -0.5em; }
+sub { bottom: -0.25em; }
pre {
padding: 15px;
Please sign in to comment.
Something went wrong with that request. Please try again.