MediaWiki talk:Common.css

I have made all of the below changes to 21326:common.css, because I am not allowed to change the file myself. I tested these changes on multiple pages (using CSSEdit to replace part of the CSS), to make sure nothing breaks. Everything appears to work fine, so either someone who does have access can make these changes, or someone can give me access to make the changes myself (whatever works). Similar changes with organization could also be done to other CSS files. 21326 19:20, September 19, 2010 (UTC)

References making a gap
In lines which contain a reference (&lt;sup&gt; in the html), there is an unsightly gap above the line. This not only looks bad, it can interfere with the flow of reading. It should also look more professional with this fixed. This code will fix it: sup { line-height: 0px; } Note: this has been added in my copy of this stylesheet. (I don't have access to edit the actual file myself.) 21326 19:20, September 19, 2010 (UTC)

Organization & More uniform format of code
This stylesheet is very unorganized and lacks uniformity. A table of contents, and hierarchy should make it much easier to understand and for others to find what they're looking for and fix it. The code should also be made more uniform, with all of the declarations being formatted in the same way. Also, many of the property values could use shorthand to be much more compact. Although I do not have the authorization to actually edit this page myself, I have created a copy to make these basic changes. (But right now I have to sleep....) 21326 04:39, September 19, 2010 (UTC)


 * This has been corrected in a copy of this stylesheet. (I don't have access to edit the actual file myself.) 21326 19:20, September 19, 2010 (UTC)

Repetition
I noticed that forum styling is repeated two times here. The first time /* Forum formatting (by -Algorithm & -Splaka) */ .forumheader { border: 1px solid #aaa; margin-top: 1em; padding: 12px; } .forumlist td.forum_edited a { color: black; text-decoration: none; } .forumlist td.forum_title a { padding-left: 20px; } .forumlist td.forum_title a.forum_new { font-weight: bold; background: url(/images/4/4e/Forum_new.gif) center left no-repeat; padding-left: 20px; } .forumlist td.forum_title a.forum_new:visited { font-weight: normal; background: none; padding-left: 20px; } .forumlist th.forum_title { padding-left: 20px; } is already contained in second time: /* Forum formatting - Algorithm & Splarka */ .forumheader { border: 1px solid #aaa; background-color: #f9f9f9; margin-top: 1em; padding: 12px; } .forumlist td span { display: block; padding-left: 10px; font-size: smaller } .forumlist td span a { text-decoration: none; } .forumlist td span.forum_author { padding-left: 30px; } .forumlist td.forum_edited a { text-decoration: none } .forumlist td.forum_title a { padding-left: 20px; } .forumlist td.forum_title span a { padding-left: 0px } .forumlist td.forum_title a.forum_new { font-weight: bold; background: url(http://images.wikia.com/www/images/4/4e/Forum_new.gif) center left no-repeat; padding-left: 20px; } .forumlist td.forum_title a.forum_new:visited { font-weight: normal; background: none; padding-left: 20px; } .forumlist th.forum_title { padding-left: 20px; }

The first time can be removed harmlessly. Ruxax 14:35, August 20, 2010 (UTC)


 * This has been fixed on a copy of this stylesheet. (I don't have access to edit the actual file myself.) 21326 19:20, September 19, 2010 (UTC)