This one is specific to Wookieepedia. First, let me explain a
significant change that we made with Monaco.
We go to great lengths to ensure that Wikia's articles maintain the
same typography as Wikipedia. In fact, when we first released the
Quartz skin, the fonts were juuuust slightly off and Danny nearly
beheaded me. :) The MediaWiki CSS achieves the typography in a very
unique way. In the body tag, the font is set to sans-serif and x-
small. The "globalWrapper" then immediately sets the font size to
127%. The typographic foundation of the articles is based on this "x-
small * 1.27" foundation. For the Quartz skin, Monobook's CSS file is
loaded and the Quartz CSS file undoes a lot of what Monobook sets
globally for things like the header and footer, the widgets, etc.
For Monaco, I added a couple of wrappers around the article area and
pointed the x-small and 127% style rules to these wrappers. Then for
all elements that WE wanted to specify the typography for (header,
widgets, etc), a class of "reset" was added. A modified CSS reset file
is used which only applies to these "reset" elements and their
descendants. So, in the end we have less code overall and a default
font of Arial 10pt applied only to the Wikia stuff and x-small 127%
applied only to the article area.
The short answer to this specific question is that Wookieepedia sets
the body tag's font to "sans-serif" via the Common.css file. This
style rule cascades down to the toolbox and causes some of the longer
links to wrap because sans-serif doesn't kern the letters as tightly
as Arial. I'm not sure if this is really needed, but I'll leave it to
the Wookieepedia admins.
Pansola had an interesting idea the other day to set a CSS class on
the body tag that would indicate the currently used skin. Something
like "wikiaSkinQuartz" for example. By doing this, Common.css can be
used to specify unique style rules for different skins:
.wikiaSkinQuartz #footer { font-family: sans-serif }
.wikiaSkinMonaco table { border: 10px dashed #F00 }
Why? I dunno, but I'm sure someone will find a use for it. More
options are better than fewer. :) Anyway, I'll work on getting that
working.
-Christian
On Feb 27, 2008, at 7:55 AM, Aaron G. (Greyman) wrote:
4) Imp > Another Monaco bug: The forced "User contributions" etc.
links in the toolbox when visiting user pages screw up the
formatting of the box. Probably because "User contributions" forces
a line break. Anyway, somehow that affects the "What links here"
link so it has a line break before the word "here."
--
Greyman
http://www.wikia.com/wiki/User:Greyman
_______________________________________________
Wikia-l mailing list
[email protected]
http://lists.wikia.com/mailman/listinfo/wikia-l
_______________________________________________
Wikia-l mailing list
[email protected]
http://lists.wikia.com/mailman/listinfo/wikia-l