mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-30 13:24:05 +00:00
Set article background to white while printing
cb6b00d85e
set .gdarticle background to
`#fefdeb` in article-style.css, but failed to override it in
article-style-print.css.
Set html background to white as well in order to prevent a thin border
around articles' contents if non-printing article styles set html
background to a color other than white.
Printing color background makes little sense and is wasteful. Users who
prefer the old behavior can override the background color in
<Configuration Folder>/article-style-print.css.
Use `background` rather than `background-color` CSS property in order to
overwrite any background image set by non-printing article styles.
This commit is contained in:
parent
5e8cab6d54
commit
c087d60165
|
@ -1,6 +1,6 @@
|
|||
/* This stylesheet is used for printing only, overriding article-style.css */
|
||||
|
||||
body
|
||||
html, body, .gdarticle
|
||||
{
|
||||
background: white;
|
||||
}
|
||||
|
@ -11,4 +11,3 @@ body
|
|||
{
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue