diff options
author | Zhiming Wang <zmwangx@gmail.com> | 2016-07-10 10:22:58 +0800 |
---|---|---|
committer | Zhiming Wang <zmwangx@gmail.com> | 2016-07-10 10:22:58 +0800 |
commit | 2e8d9eae4e2119bd277150e5c2cef953d50d2eb8 (patch) | |
tree | 012792254a1d9e672450a29a299ed9c7ad07c13f /source | |
parent | 57cb851cb769b1ce90d8311b2846dd7eaed17b74 (diff) | |
download | my_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 '')
-rw-r--r-- | source/css/print.css | 5 |
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; } |