Fandom

Community Central

Admin Forum:Monobook support codes

19,041pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

This Forum has been archived

Forums: Admin Central Index Technical Help Monobook support codes
Wikia's forums are a place for the community to help other members.
To contact staff directly or to report bugs, please use Special:Contact.


Hello, I'd like to give the best support to my monobook user on my wiki so I'd like to know which are the most common and must-have codes, both JS and CSS, useful for monobook users. Some example would be the wiki switch buttons and the CSS for auto size the polls. Thank you. leviathan_89 16:53, 21 February, 2012 (UTC)

There are literally thousands of customizations for Monobook - it's impossible to just pick a few. It's better to use the skin until you find something you'd like to change, and then change that.  Monchoman45  Talk  Contribs  Skystone  17:33,2/21/2012 
Ok, but I'm speaking in "must-have" codes, if there are, something really useful for monobook users or correction for "bugs" in the recent updates. Let's leave aside decorative customizations... if you were to pick a top five which would they be? leviathan_89 18:09, 21 February, 2012 (UTC)
There really aren't any must haves other than a non eye burning skin. I use monobook as my main skin and there really isn't any codes I depend on other than the stuff I have in my global js that configures both skins to my liking. Just make a good skin. Thats all.--GodPray  18:12,2/21/2012 
Then this partially answer to my questions, though the wiki it's only for themes. leviathan_89 13:44, 22 February, 2012 (UTC)
There are a few things that Monobook does strangely. For instance, it has a default background color for all tables rather than having them transparent by default. However, if you aren't planning to change the background color or text color of pages in Monobook then that probably won't be an issue for you. The only other major formatting issue I know of is the lack of styling for blog lists. For example:
You can mostly fix that with the following code:
.WikiaBlogListingBox{ display:none;}
.wk_blogs_details{ font-size: 90%;}
.wk_blogs_link{ font-weight: bold;}
.wk_blogs_date{ padding-right:5px;}
.wk_blogs_comments{
	font-size: 90%;
	text-align: right;
	padding-bottom: 4px;
}
div.wk_blogs_panel ul.list li li { border: none !important;}

/* Blog list articles */
#wk_blogs_article ul.list{ 
	list-style:none;
	margin: 0;
	padding: 0 10px;
}
#wk_blogs_article li.list{ 
	border-bottom: 1px solid #D9D9D9;
	margin-bottom: 0.8em;
}
#wk_blogs_article .wk_blogs_link {
    font-size: 130%;
    font-weight: bold;
}
#wk_blogs_article .wk_date {
	font-size: 90%;
	margin-left: 1.5em;
}
#wk_blogs_article .wk_date .left{ padding-right: 0.5em;}
#wk_blogs_article .wk_blogs_comments ul.links {
    margin: 0.3em 0 1em;
	padding-left: 0;
}
#wk_blogs_article .wk_blogs_comments ul.links li { 
	display: inline;
	padding-right: 4px;
	font-size: 11.5px;
}
#wk_blogs_article .wk_blogs_comments ul.links li.blog-comment { border-right: 1px solid grey;}
Other than that, the "must have codes" depend on the wiki you are wanting to customize. If that wiki has CSS styling for templates in the MediaWiki:Wikia.css, then you should probably copy the styling into the MediaWiki:Common.css, that way it will also affect the Monobook skin.
--Gardimuer { ʈalk } 00:30, February 24, 2012 (UTC)

Also on Fandom

Random Wiki