summaryrefslogtreecommitdiffstats
path: root/toolkit/themes/shared/aboutReader.css
blob: 49436de84e0fcfd35785d22d010b41f42f51a565 (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
/* 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/. */

body {
  padding: 64px 51px;
}

@media print {
  #container {
    max-width: 100% !important;
    font-size: 14px !important;
    font-family: Georgia, "Times New Roman", serif !important;
  }

  body {
    padding-top: 0px;
    padding-bottom: 0px;
  }
}

body.loaded {
  transition: color 0.4s, background-color 0.4s;
}

body.light {
  color: #333333;
  background-color: #ffffff;
}

body.dark {
  color: #eeeeee;
  background-color: #333333;
}

body.dark *::-moz-selection {
  background-color: #FFFFFF;
  color: #0095DD;
}
body.dark a::-moz-selection {
  color: #DD4800;
}

body.sepia {
  color: #5b4636;
  background-color: #f4ecd8;
}

body.sans-serif,
body.sans-serif .remove-button {
  font-family: Helvetica, Arial, sans-serif;
}

body.serif,
body.serif .remove-button  {
  font-family: Georgia, "Times New Roman", serif;
}

#container {
  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;
}

#container.content-width1 {
  max-width: 20em;
}

#container.content-width2 {
  max-width: 25em;
}

#container.content-width3 {
  max-width: 30em;
}

#container.content-width4  {
  max-width: 35em;
}

#container.content-width5 {
  max-width: 40em;
}

#container.content-width6 {
  max-width: 45em;
}

#container.content-width7 {
  max-width: 50em;
}

#container.content-width8 {
  max-width: 55em;
}

#container.content-width9 {
  max-width: 60em;
}

/* Override some controls and content styles based on color scheme */

body.light > .container > .header > .domain {
  border-bottom-color: #333333 !important;
}

body.sepia > .container > .header > .domain {
  border-bottom-color: #5b4636 !important;
}

body.dark > .container > .header > .domain {
  border-bottom-color: #eeeeee !important;
}

body.sepia > .container > .footer {
  background-color: #dedad4 !important;
}

body.light blockquote {
  border-inline-start: 2px solid #333333 !important;
}

body.sepia blockquote {
  border-inline-start: 2px solid #5b4636 !important;
}

body.dark blockquote {
  border-inline-start: 2px solid #eeeeee !important;
}

/* Add toolbar transition base on loaded class  */

body.loaded .toolbar {
  transition: transform 0.3s ease-out;
}

body:not(.loaded) .toolbar:-moz-locale-dir(ltr) {
  transform: translateX(-100%);
}

body:not(.loaded) .toolbar:-moz-locale-dir(rtl) {
  transform: translateX(100%);
}