MediaWiki talk:Common.css

From Dragon Quest Wiki
Jump to navigation Jump to search

CSS edit requests for header background image[edit]

I'd like to suggest converting the header background image (File:Header back.gif) to PNG (File:Header back.png) and also moving it out of Common.css and into MediaWiki:Vector.css instead. The image is not visible in Minerva skin, it gets covered up completely. Moving it to Vector.css should save Minerva skin users the bandwidth and load time for an invisible image, while Vector skin users will get the same appearance with the PNG at 80% smaller filesize.

In MediaWiki:Common.css please delete:

/* styles for header background */
html, body { 
    background: #f3f3f3 url(http://www.dragon-quest.org/images/a/a8/Header_back.gif) repeat-x; 
}
#mw-page-base { 
    background-color: transparent; 
    background-image:none; 
}

(#mw-page-base is an element served by Vector skin only)

In MediaWiki:Vector.css please add:

/* styles for header background */
html, body { 
    background: #f3f3f3 url(http://dragon-quest.org/images/3/36/Header_back.png) repeat-x; 
}
#mw-page-base { 
    background-color: transparent; 
    background-image:none; 
}

Rigel Kent (talk) 00:30, 29 November 2015 (CST)

Good suggestions. Done. --FlyingRagnar (talk) 13:47, 29 November 2015 (CST)