Board Thread:Support Requests - Designing Your Wiki/@comment-28956386-20170630133935/@comment-24014422-20170704141644

Christian Sirolli wrote:

Luma.dash wrote: That could maybe work. But, if someone wants to just affect the Wikia skin apart of the Monobook skin, placing the import at MediaWiki:Wikia.css should also be working.

What affects a skin should not necessarily affect the other one. Besides, if some imports are specifically designed to affect the Monobook one, shouldn't it be just placed on top of MediaWiki:Monobook.css file? The @import is for importing different style sheets, fonts, etc. Then we apply what was imported by using certain CSS rules. For example, if Jumosan wanted to only have the font be on the Wikia skin and not the Monobook skin, they would have the @import in Common.css, and have the font-family styling (like what I have offered above) in Wikia.css and not Monobook.css. And vice versa.

Now if they want both to skins to be affected, they put the styling in Common.css or in both Wikia.css and Monobook.css. The @import rule just imports what is wanted to be imported, it doesn't change the looks unless used with a CSS property.

I know. I just thought it could work better if each import was placed atop a specific CSS file.