MediaWiki talk:Common.css

From King Arthur's Gold Wiki
Revision as of 12:36, 22 November 2011 by Wyeth (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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)