From 2e8d9eae4e2119bd277150e5c2cef953d50d2eb8 Mon Sep 17 00:00:00 2001 From: Zhiming Wang Date: Sun, 10 Jul 2016 10:22:58 +0800 Subject: print.css: Make superscripts half size and position them correctly Before this commit, superscripts in print adopt the sweeping body { font-size: 12px; } rule, making them too large and protruding. --- source/css/print.css | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source/css/print.css') diff --git a/source/css/print.css b/source/css/print.css index 6eaf7864..1e9c08e3 100644 --- a/source/css/print.css +++ b/source/css/print.css @@ -3,6 +3,11 @@ body { font-size: 12px; } +sup { + font-size: 0.5em; + top: -1em; +} + pre { -webkit-print-color-adjust: exact; } -- cgit v1.2.1