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; } | |
24 | } | |
25 | ||
26 | @-moz-document url-prefix("about:blank") { | |
27 | /* Fix the background colour of new tabs. */ | |
28 | body { background-color: #242425; } | |
29 | } |