MediaWiki talk:Common.css

From Guild Wars Wiki
Jump to navigationJump to search

Vista-file-manager.png
Archive


Changes[edit]

I'm going to implement the following CSS for a wrapping skill progression at the request of Poke

table.skill-progression
{ margin: 1em 0.25em; border: 1px solid #6A3; text-align: center; line-height: 1.5em; }
table.skill-progression th
{ border-bottom: 1px solid #6A3; background: #ADA; padding: 3px; }
table.skill-progression div.column
{ border-left: 1px solid #6A3; float: left; }
table.skill-progression div.attr
{ padding: 3px; background: #DFD; }
table.skill-progression div.var
{ padding: 3px; border-top: 1px solid #6A3; }

CoRrRan also asked for some aesthetic changes to the skill progression, but I think it would be best to wait until this is implemented before dealing with that. Is everyone in agreement? LordBiro 19:39, 16 August 2007 (UTC)

Agreed. -- CoRrRan (CoRrRan / talk) 19:41, 16 August 2007 (UTC)

Recent changes[edit]

As I already mentioned here, I would like to move the namespace selection to the right side of RC. You can see the result on this screenshot.
The actualised code for that is:

div#nsselect
{ position: absolute; top: 51px; right: 5%; width: 200px; padding: 3px; border: 1px solid silver; }
div#nsselect label[for="namespace"]
{ display: block; padding: 2px 5px; margin-bottom: 3px; color: #FFF; background: silver; font-weight: bold; }

It works for all actual browsers; IE6 ignores the second statement, so there won't be a heading. poke | talk 17:01, 6 October 2007 (UTC)

See this image that there is a problem if I use 1024x768 resolution. (Normally I don't have a problem with it on my widescreen monitor, just wanted to point this out to you poke.) -- CoRrRan (CoRrRan / talk) 17:27, 6 October 2007 (UTC)
Please try the new version of the code :) poke | talk 17:29, 6 October 2007 (UTC)
Alright, let's just hope no-one is running 800x600 :-) -- CoRrRan (CoRrRan / talk) 17:34, 6 October 2007 (UTC)

Cleanup[edit]

I'm about to do a cleanup of this page (to make it shorter & faster to load), and I was asking myself if the table.hidecolN is used on any page. So if you know any use of it just say, so that I leave it here. poke | talk 18:15, 30 November 2007 (UTC)

Personally I hate the CSS for that hidecol, so I would support its removal. LordBiro 10:30, 1 December 2007 (UTC)
Is the TOC limiter used either? If not I'm happy for that to go, too. LordBiro 10:31, 1 December 2007 (UTC)
I used the TOC limiter on Gaile/Frog Talk as it's quite useful for pages with unnecessary toc elements. poke | talk 13:52, 1 December 2007 (UTC)
Ah, ok, I didn't realise. As long as it has a use that's fine! LordBiro 20:16, 1 December 2007 (UTC)
I don't even know what table.hidecolN is :P — Eloc 21:00, 1 December 2007 (UTC)
Then I don't explain it to you as you would use it then :P - Ok, it simply hides the Nth column of a table.. poke | talk 21:06, 1 December 2007 (UTC)
Ya...I'm probly never gonna be as smart as you at Wiki coding like this, but I suppose I know enough to get by in basic editing of articles. — Eloc 21:28, 1 December 2007 (UTC)

Skill infobox in firefox[edit]

Firefox adds a left padding to lists. This (and the small width) is causing the little icons in the infobox to wrap underneath the numbers in some skins (simple, cologneblue, nostalgia, standard). Could someone add padding:0; to #content div.skill-box div.skill-stats ul -Smurf 09:10, 2 March 2008 (UTC)

Well spotted! I should occasionally try other skins I guess! Added the CSS, thanks Smurf! LordBiro 09:17, 2 March 2008 (UTC)

Modern skin[edit]

The new modern skin doesn't use the #content ID. I'd suggest just removing all usage of #content -Smurf 14:55, 9 June 2008 (UTC)

We are currently unable to fix that due to the server-side url() block. See this bug report poke | talk 17:08, 9 June 2008 (UTC)
looks like it's unblocked now. -Smurf 04:47, 25 June 2008 (UTC)
fine, changed it :) poke | talk 10:08, 25 June 2008 (UTC)

Bunched up edit links[edit]

I noticed the edit links were bunched up on http://wiki.guildwars.com/index.php?title=User_interface&oldid=2487675 due to the right floating TOC. If this could be fixed using the following code it would be much appreciated:

h1, h2, h3, h4, h5, h6 {
 overflow: hidden;
}

(reference: Wikipedia:WP:FIXBUNCH) --BryghtShadow 18:43, 23 June 2012 (UTC)