aboutsummaryrefslogtreecommitdiff
path: root/source/css
diff options
context:
space:
mode:
authorZhiming Wang <zmwangx@gmail.com>2016-07-10 10:22:58 +0800
committerZhiming Wang <zmwangx@gmail.com>2016-07-10 10:22:58 +0800
commit2e8d9eae4e2119bd277150e5c2cef953d50d2eb8 (patch)
tree012792254a1d9e672450a29a299ed9c7ad07c13f /source/css
parent57cb851cb769b1ce90d8311b2846dd7eaed17b74 (diff)
downloadmy_new_personal_website-2e8d9eae4e2119bd277150e5c2cef953d50d2eb8.tar.xz
my_new_personal_website-2e8d9eae4e2119bd277150e5c2cef953d50d2eb8.zip
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.
Diffstat (limited to 'source/css')
-rw-r--r--source/css/print.css5
1 files changed, 5 insertions, 0 deletions
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;
}