aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2023-10-28 09:46:56 -0700
committerJohn MacFarlane <[email protected]>2023-10-28 09:46:56 -0700
commit196bf9693215eb45efd365295e27c3d840d31f54 (patch)
tree187064d4143afb481d5756de750d06a268528232 /data
parent9fcb0a0182d4dbb6bc60c8aad78218641e68c9c9 (diff)
epub.css: add styling for sup and sub.
Closes #9160.
Diffstat (limited to 'data')
-rw-r--r--data/epub.css8
1 files changed, 8 insertions, 0 deletions
diff --git a/data/epub.css b/data/epub.css
index 4ccb3c379..8b2a3844f 100644
--- a/data/epub.css
+++ b/data/epub.css
@@ -33,6 +33,14 @@ a, a:visited {
img {
max-width: 100%;
}
+sup {
+ vertical-align: super;
+ font-size: smaller;
+}
+sub {
+ vertical-align: sub;
+ font-size: smaller;
+}
h1 {
margin: 3em 0 0 0;
font-size: 2em;