Difference between revisions of "MediaWiki talk:Common.css"

From King Arthur's Gold Wiki
Jump to: navigation, search
(Redundant Code)
(No difference)

Revision as of 11:36, 22 November 2011

Redundant Code

I took out a lot of redundant code, keep in mind that you can have multiple classes that overwrite each other (the segments that differ) simply by writing
etc. so you can make everything easier to edit if you have a basic code (class1) and just put the parts that need changing (for example background-image:url('EXAMPLE.png') which cannot be easily overwritten by HTML code).

I did this for .infobox and .build. I also added some comments to make everything a little more readable, I hope. I have not yet touched on the main menu or the navbars, but I think there might be redundant code aswell.

Another small thing that needs noting, right now making text bold (with the TEXT markup) in parts of the main menu style will automatically set an arrow next to it. This can be a little irritating and I will try to change it, so we have more control over what appears and what not.

--Wyeth 10:36, 22 November 2011 (UTC)