Page 1 of 1

Background Color in 1.0.1-763-g8b23f07

PostPosted: Thu May 23, 2013 7:22 pm
by rambobender
Apologies if this has already been mentioned.

On the newest release of GoldenDict (1.0.1-763-g8b23f07), the program seems to override the article-style.css settings for the background color. In the Modern, Lingvo, and Babylon display styles, the entire article is now colored white. In the other settings, a tiny border of the background color can still be seen.

Is there a new command that is now required for the article-style.css, or is this a result of the fix to #297? If so, can you please allow article-style.css to override the background color in the next version? Staring at a white screen absolutely kills my eyes.

Thanks!

Re: Background Color in 1.0.1-763-g8b23f07

PostPosted: Thu May 23, 2013 8:16 pm
by Tvangeste
Please try to add !important at the end of the rule that sets the background in your css file. Something like this:
Code: Select all
background: gray !important;

Does that fix the problem?

The change was done in order to prevent some broken dictionaries to change backgrounds, etc.

Re: Background Color in 1.0.1-763-g8b23f07

PostPosted: Fri May 24, 2013 7:54 pm
by rambobender
Hi, thanks for your response, but that doesn't seem to work. I still get an all-white background.

Re: Background Color in 1.0.1-763-g8b23f07

PostPosted: Fri May 24, 2013 8:16 pm
by Tvangeste
Here's what I have to adjust the color:

Code: Select all
html
{
  background: lightgray !important;
}

body
{
  background: lightgray !important;
}

.gdarticle
{
  background: lightgray !important;
}

Re: Background Color in 1.0.1-763-g8b23f07

PostPosted: Sat May 25, 2013 3:53 pm
by rambobender
That worked!

I use GoldenDict on a daily basis, so this was very important to me. Thanks very very much both for the fix and for all the work on the program!