summaryrefslogtreecommitdiffstats
path: root/toolkit/components/printing/content/simplifyMode.css
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/components/printing/content/simplifyMode.css')
-rw-r--r--toolkit/components/printing/content/simplifyMode.css36
1 files changed, 36 insertions, 0 deletions
diff --git a/toolkit/components/printing/content/simplifyMode.css b/toolkit/components/printing/content/simplifyMode.css
new file mode 100644
index 0000000000..71e5d8fc1c
--- /dev/null
+++ b/toolkit/components/printing/content/simplifyMode.css
@@ -0,0 +1,36 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this file,
+ * You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+/* This file defines specific rules for print preview when using simplify mode.
+ * Some of these rules (styling for title and author on the header element)
+ * already exist in aboutReader.css, however, we decoupled it from the original
+ * file so we don't need to load a bunch of extra queries that will not take
+ * effect when using the simplify page checkbox. */
+:root {
+ --font-size: 16px;
+ --content-width: 30em;
+ --line-height: 1.6em;
+}
+
+body {
+ padding: 0px;
+}
+
+.container {
+ max-width: 100%;
+ font-family: Georgia, "Times New Roman", serif;
+}
+
+.header > h1 {
+ font-size: 1.6em;
+ line-height: 1.25em;
+ margin: 30px 0;
+}
+
+.header > .credits {
+ font-size: 0.9em;
+ line-height: 1.48em;
+ margin: 0 0 30px 0;
+ font-style: italic;
+}