summaryrefslogtreecommitdiffstats
path: root/toolkit/components/printing/content/simplifyMode.css
blob: 71e5d8fc1cfe4a44af5f3e824b0007e7155b2e13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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;
}