summaryrefslogtreecommitdiff
path: root/toolkit/themes
diff options
context:
space:
mode:
authorMoonchild <git-repo@palemoon.org>2019-05-06 14:17:55 +0000
committerGitHub <noreply@github.com>2019-05-06 14:17:55 +0000
commit783560a84a6635a66036d8b87a3500549cfed974 (patch)
treecd8526eba923a1ce954c92f54466bb86399ac4a3 /toolkit/themes
parent0eec982c79f8d9b94522dbe12bce68d8c27d40fd (diff)
parenta1eb53b63900a5238cad013fea411b6bc0071777 (diff)
downloadaura-central-783560a84a6635a66036d8b87a3500549cfed974.tar.gz
Merge pull request %1080 from Ascrod/readerview
Reader Updates
Diffstat (limited to 'toolkit/themes')
-rw-r--r--toolkit/themes/shared/aboutReader.css49
1 files changed, 13 insertions, 36 deletions
diff --git a/toolkit/themes/shared/aboutReader.css b/toolkit/themes/shared/aboutReader.css
index 4dbf11f6d..ff8f27565 100644
--- a/toolkit/themes/shared/aboutReader.css
+++ b/toolkit/themes/shared/aboutReader.css
@@ -47,44 +47,10 @@ body.serif .remove-button {
}
.container {
+ --font-size: 12;
max-width: 30em;
margin: 0 auto;
-}
-
-.container.font-size1 {
- font-size: 12px;
-}
-
-.container.font-size2 {
- font-size: 14px;
-}
-
-.container.font-size3 {
- font-size: 16px;
-}
-
-.container.font-size4 {
- font-size: 18px;
-}
-
-.container.font-size5 {
- font-size: 20px;
-}
-
-.container.font-size6 {
- font-size: 22px;
-}
-
-.container.font-size7 {
- font-size: 24px;
-}
-
-.container.font-size8 {
- font-size: 26px;
-}
-
-.container.font-size9 {
- font-size: 28px;
+ font-size: var(--font-size);
}
.container.content-width1 {
@@ -738,3 +704,14 @@ body:not(.loaded) .toolbar:-moz-locale-dir(rtl) {
.moz-reader-content .sr-only {
display: none;
}
+
+/* Enforce wordpress and similar emoji/smileys aren't sized to be full-width */
+.moz-reader-content img.wp-smiley,
+.moz-reader-content img.emoji {
+ display: inline-block;
+ border-width: 0;
+ /* height: auto is implied from `.moz-reader-content *` rule. */
+ width: 1em;
+ margin: 0 .07em;
+ padding: 0;
+}