Closed Bug 286939 Opened 20 years ago Closed 20 years ago

Background color should be set to white for the wiki

Categories

(mozilla.org Graveyard :: Server Operations, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Biesinger, Assigned: sgarrity)

References

()

Details

Attachments

(1 file)

my default background color is grey. With the new template, parts of the page
continue to use the grey background, while other parts use white. Corners of the
images also use white.

This means that with a grey background that page looks rather bad.

So, the page should explicitly set the background color to white.
Assignee: mozilla.webmaster → steven
Component: webmaster@mozilla.org → Server Operations
OS: Linux → All
QA Contact: danielwang → justdave
Hardware: PC → All
Dave: To fix this, replace the "background" attribute of the "body" element
around line #23 in www/skins/cavendish/main.css with the following line:

background: #fff url("http://www.mozilla.org/images/subsite_back.gif") repeat-x;

It should be the same as what's there now, but adds the "#fff " part.
I'm seeing (and testing out, via Photoshop) a white background.  This is what
it looks like now.

From http://wiki.mozilla.org/skins/cavendish/main.css

body {
	background: url("http://www.mozilla.org/images/subsite_back.gif")
repeat-x;
	margin-top: 0;
	padding-top: 0; 
}
Tom, please read comment 0 carefully before making assumptions.
(In reply to comment #3)
> Tom, please read comment 0 carefully before making assumptions.

Ah, I didn't catch his drift.  He's actually stating to force white, because
he's seeing Grey.

Thanks.  It seemed like it had been fixed accidentally.
If we have a person here with SysOp privs:
http://wiki.mozilla.org/Special:Listadmins

Then they can add this to the page here:
http://wiki.mozilla.org/MediaWiki:Cavendish.css

As you can see, this will be included because of code in the head.  This is
supposed to allow user css too, but I just remembered 1.4 set $wgAllowUserStyles
(or css, or js, i dont remember) to "False", which sucks (please turn it on). 
Anyway, putting the code in MediaWiki:Cavendish.css adds it to the css for the
site, and thus after adding it and Refreshing properly, you'll see a solid white
background.

This is a workaround, but it'll work fine.
Oooh.  I still need to make this particular fix in the actual skin, but that's
nice to know about, because now I can do things like setting the logo image from
within the wiki so I don't have to have slightly different versions of the skin
on each wiki deployment. :)
This is NOT live on the wiki yet.  It *is* checked into CVS.  It'll get picked
up automatically when I upgrade the wiki to 1.4.2 later tonight.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Product: mozilla.org → mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: