Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
Line 11: | Line 11: | ||
} | } | ||
+ | /* | ||
+ | Sets the colours of pages based on category. | ||
+ | Currently requires the following JS snippet: https://www.mediawiki.org/wiki/Snippets/Style_pages_based_on_categories | ||
+ | Which can be found here: http://wiki.engineeredarts.co.uk/MediaWiki:Common.js | ||
+ | Extension should be implemented server-side to avoid the delay between loading the page and the colour changing. | ||
+ | Haven't yet found an extension to do this. | ||
+ | This is close, and could be suitable via templates: https://www.mediawiki.org/wiki/Extension:AddBodyClass | ||
+ | */ | ||
body.cat-Socibot #content.mw-body { | body.cat-Socibot #content.mw-body { | ||
− | background-color: # | + | background-color: #F5FCFC; |
} | } |
Revision as of 09:31, 21 March 2016
/* CSS placed here will be applied to all skins */
#accesscontrol {
float: right;
text-indent: 100%;
width: 16px;
height: 24px;
white-space: nowrap;
overflow: hidden;
background-image: url('http://wiki.engineeredarts.co.uk/w/images/8/8a/Padlock24.png');
}
/*
Sets the colours of pages based on category.
Currently requires the following JS snippet: https://www.mediawiki.org/wiki/Snippets/Style_pages_based_on_categories
Which can be found here: http://wiki.engineeredarts.co.uk/MediaWiki:Common.js
Extension should be implemented server-side to avoid the delay between loading the page and the colour changing.
Haven't yet found an extension to do this.
This is close, and could be suitable via templates: https://www.mediawiki.org/wiki/Extension:AddBodyClass
*/
body.cat-Socibot #content.mw-body {
background-color: #F5FCFC;
}