From 6bf89d81fe6ee738a10e9776c32a19b4c29a923e Mon Sep 17 00:00:00 2001 From: alecbrooks <alecdbrooks@gmail.com> Date: Tue, 4 Jun 2013 17:10:06 -0500 Subject: [PATCH] Add superscript and subscript formatting. --- static/css/screen.css | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/static/css/screen.css b/static/css/screen.css index ac04835..09676ac 100644 --- a/static/css/screen.css +++ b/static/css/screen.css @@ -167,11 +167,29 @@ div.codehilite { border-radius: 5px; } + code, pre { font-family: monospace; background-color: rgb(238, 238, 238); } +/*sub and sup stolen from Twitter bootstrap.*/ +sub, +sup { + position: relative; + font-size: 75%; + line-height: 0; + vertical-align: baseline; +} + +sup { + top: -0.5em; +} + +sub { + bottom: -0.25em; +} + .post pre, .page pre { padding: .5em; font-size: 12px; -- GitLab