Commit | Line | Data |
---|---|---|
53ad55a5 MW |
1 | @-moz-document url-prefix("about:reader") { |
2 | /* Override the fonts and layout in Reader Mode. */ | |
3 | ||
4 | /* Use the globally configured serif font, rather than a hardcoded font | |
5 | * that's less nice. | |
6 | */ | |
7 | body.serif, body.serif .remove-button | |
8 | { font-family: serif !important; } | |
9 | ||
10 | /* Fix the background colour. */ | |
11 | body.dark { background-color: #111 !important; } | |
12 | .toolbar, .button { background-color: inherit !important; } | |
13 | ||
14 | /* Don't render block quotes and other kinds of lists in a stupid | |
15 | * way. (This is currently incomplete.) | |
16 | */ | |
17 | body.dark blockquote { border-inline-start: 0 !important; } | |
18 | p, code, pre, blockquote, ul, ol, li, figure, .wp-caption { | |
19 | border-radius: 0 !important; | |
20 | margin: 10px 0 20px 0 !important; | |
21 | } | |
22 | blockquote { padding-inline-start: 30px !important; } | |
23 | p, li { padding: 0 !important; } | |
16d70273 | 24 | |
24f47514 MW |
25 | code { |
26 | margin: 0 !important; | |
27 | padding: 0 !important; | |
28 | border-radius: 0 !important; | |
29 | } | |
30 | ||
16d70273 | 31 | h1, h2, h3, h4 { font-family: sans-serif; !important; } |
53ad55a5 MW |
32 | } |
33 | ||
34 | @-moz-document url-prefix("about:blank") { | |
35 | /* Fix the background colour of new tabs. */ | |
36 | body { background-color: #242425; } | |
37 | } |