Reduce logo size with css

Jump to: navigation, search

MediaWiki v1.18 PHP v5.2.5 MySQL v5.0.91

For the site logo, I'm trying to do something similar to the HTML trick to increase image resolution by using a larger image then reducing how it's displayed using height/width in the code. The larger image thus reduced shows far more detail then the option of placing a logo of the exact size that is displayed. I've tried various code in common.css to reduce a logo about twice the 135px/135px, but it never works. Instead the larger image slides off the page instead of being reduced.

LWells02:12, 29 January 2012

Scaling images is nasty and bad HTML. It's added as background-image of #p-logo a.

Subfader16:51, 29 January 2012

Many images can be reduced to the displayed size and still look good. In cases where a higher resolution image is needed, that is when the scaling is necessary. It looks like the only way to increase a logo resolution in MediaWiki would be to rewrite that piece of css so that the logo isn't a background image.

So if anyone knows how to write that code or can give pointers, it would be appreciated.

LWells22:42, 29 January 2012
 
 
Personal tools

Variants
Actions
Navigation
Support
Download
Development
Communication
Toolbox