Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
Line 24: | Line 24: | ||
.numicon.n, .numicon.s { height: 40px; } | .numicon.n, .numicon.s { height: 40px; } | ||
.numicon.ne, .numicon.se, .numicon.sw, .numicon.nw { width: 34px; height: 34px; } | .numicon.ne, .numicon.se, .numicon.sw, .numicon.nw { width: 34px; height: 34px; } | ||
+ | |||
/* | /* | ||
− | + | Category-based style-sheet customisations. | |
− | |||
− | |||
− | |||
− | |||
− | |||
*/ | */ | ||
− | body.cat-Socibot | + | |
+ | /* For all pages in the 'Socibot' category (case-sensitive) */ | ||
+ | body.cat-Socibot .mw-body { | ||
background-color: #F5FCFC; | background-color: #F5FCFC; | ||
} | } | ||
− | |||
body.cat-Socibot .mw-wiki-logo { | body.cat-Socibot .mw-wiki-logo { | ||
background-image: url(/w/resources/assets/SB_wiki_logo.png); | background-image: url(/w/resources/assets/SB_wiki_logo.png); | ||
} | } |
Revision as of 16:08, 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');
}
/* Number icons, formatting. */
.numicon {
display: inline-block;
vertical-align: middle;
background-position: center;
width: 27px;
height: 30px;
margin: -13px 0px -10px 0px; /* Negative margins prevent making the line too tall. */
padding: 0px;
}
.numicon.e, .numicon.w { width: 40px; }
.numicon.n, .numicon.s { height: 40px; }
.numicon.ne, .numicon.se, .numicon.sw, .numicon.nw { width: 34px; height: 34px; }
/*
Category-based style-sheet customisations.
*/
/* For all pages in the 'Socibot' category (case-sensitive) */
body.cat-Socibot .mw-body {
background-color: #F5FCFC;
}
body.cat-Socibot .mw-wiki-logo {
background-image: url(/w/resources/assets/SB_wiki_logo.png);
}