I am using English Wikipedia. This problem is strange indeed. I am beginning to wonder whether something changed in webkit that is preventing it from responding to the request to change the background color. I think that webkit is used pretty widely, though, so that theory seems unlikely.
On Friday, 27 June 2014 13:07:28 Ryan Kaldari wrote: > I'm pretty sure that no body CSS in core has changed recently. According to > Firebug, the only background-color rule that is applied to body on en.wiki > is the one that Isarra mentioned (which doesn't use !important). Are you > trying this on English Wikipedia or a different wiki? > > Ryan Kaldari > > On Fri, Jun 27, 2014 at 12:02 PM, Jeffrey Barish <[email protected]> > wrote: > > On Friday, 27 June 2014 10:24:57 Ryan Kaldari wrote: > > > Works for me. I added the background-color rule to > > > https://en.wikipedia.org/wiki/User:Kaldari/vector.css and it took effect > > > immediately. > > > > > > Ryan Kaldari > > > > > > > > > On Fri, Jun 27, 2014 at 8:31 AM, Jeffrey Barish < > > > > [email protected]> > > > > > wrote: > > > > Until two days ago, I was able to modify the background color of a > > > > Wikipedia > > > > page with a style sheet containing the following: > > > > > > > > body { > > > > > > > > background-color: rgb(68, 68, 68) !important; > > > > color: rgb(204, 204, 204) !important; > > > > > > > > } > > > > > > > > The line for color still works, but the line for background-color does > > > > not. > > > > Does anyone know what changed and what I have to do now to change the > > > > background color? > > > > > > > > If this is not the right mailing list for this question, could someone > > > > direct me to the right one? > > > > > > > > Thanks. > > > > --- > > > > Jeffrey Barish > > > > Ryan, > > > > Thanks for your reply. It is certainly interesting to know that someone > > is > > able to get something related to work, although I don't really understand > > what > > it is you did. The lines of css that I provided still do not work for me. > > Perhaps it would help for me to provide a little more information about > > what I > > am doing as it most likely is different from what you tried. > > > > I am viewing Wikipedia pages using webkit in an application that I wrote. > > > > I > > > > attach my style sheet by specifying user_stylesheet_uri. I know that > > webkit > > is reading my css because I could set the background color until 2 days > > ago > > and because I can still set the text color. I am guessing that a css > > upstream > > is now specifying the background color using !important so that my > > specification no longer takes effect. If so, then that specification is > > new > > because mine used to work. I don't understand how Wikipedia (or css, for > > that > > matter) works well enough to guess where that change might have been made > > or > > why. However, if my theory is correct, then I don't see how you are able > > to > > change the background color, unless the change that you made somehow is > > upstream from the hypothetical specification of background color using > > !important. > > > > Jeff > > > > _______________________________________________ > > Wikitech-l mailing list > > [email protected] > > https://lists.wikimedia.org/mailman/listinfo/wikitech-l > > _______________________________________________ > Wikitech-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/wikitech-l _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
