summaryrefslogtreecommitdiff
path: root/toolkit/themes
diff options
context:
space:
mode:
authormonikamaheshwari <monikamaheshwari1996@gmail.com>2019-04-27 09:15:22 -0400
committerAscrod <32915892+Ascrod@users.noreply.github.com>2019-04-27 09:15:22 -0400
commit5966270274dced21e5ccef2fb6602a67e0ff5050 (patch)
treeddfa1a4574f431744852943152482385e7dde7b3 /toolkit/themes
parentf36c13ea279faf062c2e6abb53294e0349f36669 (diff)
downloaduxp-5966270274dced21e5ccef2fb6602a67e0ff5050.tar.gz
Bug 1422680 - simplify aboutReader.css font-size classes using CSS variables r=Gijs
Diffstat (limited to 'toolkit/themes')
-rw-r--r--toolkit/themes/shared/aboutReader.css38
1 files changed, 2 insertions, 36 deletions
diff --git a/toolkit/themes/shared/aboutReader.css b/toolkit/themes/shared/aboutReader.css
index e685cf69fb..ff8f275654 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 {