|
| Can't change usermode background on some pages |
 |
Sun, 01 Jul 2007 04:22:29 -000 |
When working in the dark, white backgrounds are to high-contrasty. I
was easily able to change bg colors to darker color in windows and
for some pages in opera, but other pages keep white background even if
I change it in user.css and change mode to 'user mode'. For
example, wall street journal site. And many other news sites too. It
seems like when they have <div class="something">, that class
is used over whatever I have, OR when they have <td bgcolor=white">.
My css:
@charset "utf-8";
p {
color: rgb(56,56,56);
background-color: rgb(146,146,146);
margin: 0;
}
html {
color: rgb(56,56,56);
background-color: rgb(146,146,146);
margin: 0;
}
body {
color: rgb(56,56,56);
background-color: rgb(146,146,146);
margin: 0;
}
table {
color: rgb(56,56,56);
background-color: rgb(146,146,146);
margin: 0;
}
td {
color: rgb(56,56,56);
background-color: rgb(146,146,146);
margin: 0;
}
div {
color: rgb(56,56,56);
background-color: rgb(146,146,146);
margin: 0;
}
Please help!
|
| Post Reply
|
| Re: Can't change usermode background on some pages |
 |
Sun, 1 Jul 2007 07:00:57 +0000 |
On Sun, 01 Jul 2007 04:22:29 -0000, andrei.avk@gmail.com
<andrei.avk@gmail.com> wrote:
> When working in the dark, white backgrounds are to high-contrasty. I
> was easily able to change bg colors to darker color in windows and
> for some pages in opera, but other pages keep white background even if
> I change it in user.css and change mode to 'user mode'. For
> example, wall street journal site. And many other news sites too. It
> seems like when they have <div class="something">, that
class
> is used over whatever I have, OR when they have <td
bgcolor=white">.
> My css:
>
> @charset "utf-8";
>
> p {
> color: rgb(56,56,56);
> background-color: rgb(146,146,146);
> margin: 0;
> }
[snip similar blocks]
Try adding " !important" before the semicolon on each style
statement.
CSS allows more specific settings to override less specific ones, so
a style for <div class="..."> will always take precedence over a
style
for <div>. Using !important increases the priority of your own styles.
--
Matthew Winn
|
| Post Reply
|
| Re: Can't change usermode background on some pages |
 |
Sun, 01 Jul 2007 12:35:15 +020 |
Am 01.07.2007 um 09:00 Uhr schrieb Matthew Winn:
> On Sun, 01 Jul 2007 04:22:29 -0000, andrei.avk@gmail.com
> <andrei.avk@gmail.com> wrote:
>> When working in the dark, white backgrounds are to high-contrasty. I
>> was easily able to change bg colors to darker color in windows and
>> for some pages in opera, but other pages keep white background even
if
>> I change it in user.css and change mode to 'user mode'.
[snip examples and css]
> Try adding " !important" before the semicolon on each style
statement.
> CSS allows more specific settings to override less specific ones, so
> a style for <div class="..."> will always take precedence
over a style
> for <div>. Using !important increases the priority of your own
styles.
>
Adding some wildcards will catch all colors regardless of IDs and CLASSes.
* {
color: rgb(56,56,56) !important;
background-color: rgb(146,146,146) !important;
}
BTW: I used a different approach for my personal environment lighting
problems, I just set up a different monitor color profile for "working in
the dark" (4500K, brightness -20%).
--
Gruß / Regards | e-mail is valid, don't remove NOSPAM!
|
| Post Reply
|
| Re: Can't change usermode background on some pages |
 |
Mon, 02 Jul 2007 00:45:12 -000 |
On Jul 1, 6:35 am, "Roland Reck" <rolandNOSPAMr...@gmx.de>
wrote:
> Am 01.07.2007 um 09:00 Uhr schrieb Matthew Winn:
>
> > On Sun, 01 Jul 2007 04:22:29 -0000, andrei....@gmail.com
> > <andrei....@gmail.com> wrote:
> >> When working in the dark, white backgrounds are to
high-contrasty. I
> >> was easily able to change bg colors to darker color in windows
and
> >> for some pages in opera, but other pages keep white background
even if
> >> I change it in user.css and change mode to 'user mode'.
>
> [snip examples and css]
>
> > Try adding " !important" before the semicolon on each style
statement.
> > CSS allows more specific settings to override less specific ones, so
> > a style for <div class="..."> will always take
precedence over a style
> > for <div>. Using !important increases the priority of your own
styles.
>
> Adding some wildcards will catch all colors regardless of IDs and CLASSes.
>
> * {
> color: rgb(56,56,56) !important;
> background-color: rgb(146,146,146) !important;
> }
>
> BTW: I used a different approach for my personal environment lighting
> problems, I just set up a different monitor color profile for "working
in
> the dark" (4500K, brightness -20%).
>
> --
> Gruß / Regards | e-mail is valid, don't remove NOSPAM!
> Roland Reck |http://www.geocities.com/quhno/
Thanks very much, that's a good idea, it's better than changing
colors, because in some programs like xplorer2
I was unable to change color of background at all.. Your method is the
best.
thanks, -andrei
|
| Post Reply
|
| Re: Can't change usermode background on some pages |
 |
Mon, 2 Jul 2007 08:45:21 -0400 |
I have been following this discussion since I have had similar
difficulties with very bright screens even after tweaking my LG monitor
. Using Proxomitron has helped greatly with the " dim bright backgrounds
" filter . Also a very nice small application from Nirsoft works for
sound volume and screen brightness .
http://www.nirsoft.net/utils/volumouse.html . Using css is nice but how
can I use it on individual sites . Opera is my main browser and if I use
css I must toggle to author or user modes .
<andrei.avk@gmail.com> wrote in message
news:1183337112.440790.172880@57g2000hsv.googlegroups.com...
On Jul 1, 6:35 am, "Roland Reck" <rolandNOSPAMr...@gmx.de>
wrote:
> Am 01.07.2007 um 09:00 Uhr schrieb Matthew Winn:
>
> > On Sun, 01 Jul 2007 04:22:29 -0000, andrei....@gmail.com
> > <andrei....@gmail.com> wrote:
> >> When working in the dark, white backgrounds are to
high-contrasty.
I
> >> was easily able to change bg colors to darker color in windows
and
> >> for some pages in opera, but other pages keep white background
even if
> >> I change it in user.css and change mode to 'user mode'.
>
> [snip examples and css]
>
> > Try adding " !important" before the semicolon on each style
statement.
> > CSS allows more specific settings to override less specific ones, so
> > a style for <div class="..."> will always take
precedence over a
style
> > for <div>. Using !important increases the priority of your own
styles.
>
> Adding some wildcards will catch all colors regardless of IDs and
CLASSes.
>
> * {
> color: rgb(56,56,56) !important;
> background-color: rgb(146,146,146) !important;
> }
>
> BTW: I used a different approach for my personal environment lighting
> problems, I just set up a different monitor color profile for
"working
in
> the dark" (4500K, brightness -20%).
>
> --
> Gruß / Regards | e-mail is valid, don't remove NOSPAM!
> Roland Reck |http://www.geocities.com/quhno/
Thanks very much, that's a good idea, it's better than changing
colors, because in some programs like xplorer2
I was unable to change color of background at all.. Your method is the
best.
thanks, -andrei
|
| Post Reply
|
|
|