Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
(Bold links in description lists) |
|||
(41 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
+ | |||
+ | /* | ||
+ | Bold links! The thin font can make visited links hard to see. | ||
+ | */ | ||
+ | /* Standard links */ | ||
+ | div.mw-parser-output p a, | ||
+ | /* Links next to floated images */ | ||
+ | div.mw-parser-output > a, | ||
+ | /* Top level lists (i.e. not the ToC) */ | ||
+ | div.mw-parser-output > ul a, | ||
+ | div.mw-parser-output > ol a, | ||
+ | div.mw-parser-output > dl a, | ||
+ | /* Tables */ | ||
+ | div.mw-parser-output table a, | ||
+ | /* Thumbnail caption links */ | ||
+ | div.mw-parser-output div.thumbcaption a { | ||
+ | font-weight:bold; | ||
+ | } | ||
+ | |||
+ | /* Slightly brighter links | ||
+ | a:visited { | ||
+ | color: #2215AF; | ||
+ | } | ||
+ | a { | ||
+ | color: #1660B8; | ||
+ | } | ||
+ | */ | ||
#accesscontrol { | #accesscontrol { | ||
Line 16: | Line 43: | ||
vertical-align: middle; | vertical-align: middle; | ||
background-position: center; | background-position: center; | ||
− | width: | + | width: 30px; |
− | height: | + | height: 27px; |
− | margin: -13px 0px -10px 0px | + | margin: -13px 0px -10px 0px /*-13px 0px -10px 0px; Negative margins prevent making the line too tall. */ |
padding: 0px; | padding: 0px; | ||
} | } | ||
Line 29: | Line 56: | ||
Category-based style-sheet customisations. | Category-based style-sheet customisations. | ||
*/ | */ | ||
+ | |||
+ | /* For all pages in the 'Virtual_Robot' category (case-insensitive) */ | ||
+ | body.icat-virtual_robot { | ||
+ | background-color: #FDDDD8; | ||
+ | } | ||
+ | body.icat-virtual_robot #mw-page-base { | ||
+ | background-color: #FDDDD8; | ||
+ | background-image: -moz-linear-gradient(top,#ffffff 50%,#FDDDD8 100%); | ||
+ | background-image: -webkit-gradient(linear,left top,left bottom,color-stop(50%,#ffffff),color-stop(100%,#FDDDD8)); | ||
+ | background-image: -webkit-linear-gradient(top,#ffffff 50%,#FDDDD8 100%); | ||
+ | background-image: linear-gradient(#ffffff 50%,#FDDDD8 100%); | ||
+ | } | ||
+ | body.icat-virtual_robot .mw-wiki-logo { | ||
+ | background-image: url(/w/resources/assets/SociBot-Logo-135x135.png); | ||
+ | } | ||
+ | body.icat-virtual_robot div#mw-panel div.portal { | ||
+ | background-blend-mode: multiply; | ||
+ | background-color: #FDDDD8; | ||
+ | } | ||
+ | |||
/* For all pages in the 'Socibot' category (case-sensitive) */ | /* For all pages in the 'Socibot' category (case-sensitive) */ | ||
− | body. | + | body.icat-socibot:not(.icat-robothespian) { |
background-color: #DDF3F3; /* #65F0F3 */ | background-color: #DDF3F3; /* #65F0F3 */ | ||
} | } | ||
− | body. | + | body.icat-socibot:not(.icat-robothespian) #mw-page-base { |
background-color: #F4FFFF; | background-color: #F4FFFF; | ||
background-image: -moz-linear-gradient(top,#ffffff 50%,#DDF3F3 100%); | background-image: -moz-linear-gradient(top,#ffffff 50%,#DDF3F3 100%); | ||
Line 41: | Line 88: | ||
background-image: linear-gradient(#ffffff 50%,#DDF3F3 100%); | background-image: linear-gradient(#ffffff 50%,#DDF3F3 100%); | ||
} | } | ||
− | body. | + | body.icat-socibot:not(.icat-robothespian) .mw-wiki-logo { |
− | background-image: url(/w/resources/assets/ | + | background-image: url(/w/resources/assets/SociBot-Logo-135x135.png); |
+ | } | ||
+ | body.icat-socibot:not(.icat-robothespian) div#mw-panel div.portal { | ||
+ | background-blend-mode: multiply; | ||
+ | background-color: #DDF3F3; | ||
} | } | ||
/* For all pages in the 'RoboThespian' category (case-sensitive) */ | /* For all pages in the 'RoboThespian' category (case-sensitive) */ | ||
− | body. | + | body.icat-robothespian:not(.icat-socibot) { |
background-color: #D8E3F7; /* #3E537C */ | background-color: #D8E3F7; /* #3E537C */ | ||
} | } | ||
− | body. | + | body.icat-robothespian:not(.icat-socibot) #mw-page-base { |
background-color: #D8E3F7; | background-color: #D8E3F7; | ||
background-image: -moz-linear-gradient(top,#ffffff 50%,#D8E3F7 100%); | background-image: -moz-linear-gradient(top,#ffffff 50%,#D8E3F7 100%); | ||
Line 57: | Line 108: | ||
background-image: linear-gradient(#ffffff 50%,#D8E3F7 100%); | background-image: linear-gradient(#ffffff 50%,#D8E3F7 100%); | ||
} | } | ||
− | body. | + | body.icat-robothespian:not(.icat-socibot) .mw-wiki-logo { |
− | background-image: url(/w/resources/assets/ | + | background-image: url(/w/resources/assets/RoboThespian-Logo-135x135.png); |
+ | } | ||
+ | body.icat-robothespian:not(.icat-socibot) div#mw-panel div.portal { | ||
+ | background-blend-mode: multiply; | ||
+ | background-color: #D8E3F7; | ||
+ | } | ||
+ | |||
+ | |||
+ | /* For all pages in the 'Tritium' category (case-sensitive) */ | ||
+ | body[class^='icat-tritium'], body[class*=' icat-tritium'] { | ||
+ | background-color: #E8F7CF; /* #E8F7CF */ | ||
+ | } | ||
+ | body[class^='icat-tritium'] #mw-page-base, body[class*=' icat-tritium'] #mw-page-base { | ||
+ | background-color: #FFFFD7; | ||
+ | background-image: -moz-linear-gradient(top,#ffffff 50%,#E8F7CF 100%); | ||
+ | background-image: -webkit-gradient(linear,left top,left bottom,color-stop(50%,#ffffff),color-stop(100%,#E8F7CF)); | ||
+ | background-image: -webkit-linear-gradient(top,#ffffff 50%,#E8F7CF 100%); | ||
+ | background-image: linear-gradient(#ffffff 50%,#E8F7CF 100%); | ||
+ | } | ||
+ | body[class^='icat-tritium'] .mw-wiki-logo, body[class*=' icat-tritium'] .mw-wiki-logo { | ||
+ | background-image: url(/w/images/b/b8/Tritium_wiki_logo.png); | ||
+ | } | ||
+ | body[class^='icat-tritium'] div#mw-panel div.portal, body[class*=' icat-tritium'] div#mw-panel div.portal { | ||
+ | background-blend-mode: multiply; | ||
+ | background-color: #E8F7CF; | ||
} | } | ||
/* #cceeee; */ | /* #cceeee; */ |
Latest revision as of 11:17, 1 June 2020
/* CSS placed here will be applied to all skins */
/*
Bold links! The thin font can make visited links hard to see.
*/
/* Standard links */
div.mw-parser-output p a,
/* Links next to floated images */
div.mw-parser-output > a,
/* Top level lists (i.e. not the ToC) */
div.mw-parser-output > ul a,
div.mw-parser-output > ol a,
div.mw-parser-output > dl a,
/* Tables */
div.mw-parser-output table a,
/* Thumbnail caption links */
div.mw-parser-output div.thumbcaption a {
font-weight:bold;
}
/* Slightly brighter links
a:visited {
color: #2215AF;
}
a {
color: #1660B8;
}
*/
#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: 30px;
height: 27px;
margin: -13px 0px -10px 0px /*-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 'Virtual_Robot' category (case-insensitive) */
body.icat-virtual_robot {
background-color: #FDDDD8;
}
body.icat-virtual_robot #mw-page-base {
background-color: #FDDDD8;
background-image: -moz-linear-gradient(top,#ffffff 50%,#FDDDD8 100%);
background-image: -webkit-gradient(linear,left top,left bottom,color-stop(50%,#ffffff),color-stop(100%,#FDDDD8));
background-image: -webkit-linear-gradient(top,#ffffff 50%,#FDDDD8 100%);
background-image: linear-gradient(#ffffff 50%,#FDDDD8 100%);
}
body.icat-virtual_robot .mw-wiki-logo {
background-image: url(/w/resources/assets/SociBot-Logo-135x135.png);
}
body.icat-virtual_robot div#mw-panel div.portal {
background-blend-mode: multiply;
background-color: #FDDDD8;
}
/* For all pages in the 'Socibot' category (case-sensitive) */
body.icat-socibot:not(.icat-robothespian) {
background-color: #DDF3F3; /* #65F0F3 */
}
body.icat-socibot:not(.icat-robothespian) #mw-page-base {
background-color: #F4FFFF;
background-image: -moz-linear-gradient(top,#ffffff 50%,#DDF3F3 100%);
background-image: -webkit-gradient(linear,left top,left bottom,color-stop(50%,#ffffff),color-stop(100%,#DDF3F3));
background-image: -webkit-linear-gradient(top,#ffffff 50%,#DDF3F3 100%);
background-image: linear-gradient(#ffffff 50%,#DDF3F3 100%);
}
body.icat-socibot:not(.icat-robothespian) .mw-wiki-logo {
background-image: url(/w/resources/assets/SociBot-Logo-135x135.png);
}
body.icat-socibot:not(.icat-robothespian) div#mw-panel div.portal {
background-blend-mode: multiply;
background-color: #DDF3F3;
}
/* For all pages in the 'RoboThespian' category (case-sensitive) */
body.icat-robothespian:not(.icat-socibot) {
background-color: #D8E3F7; /* #3E537C */
}
body.icat-robothespian:not(.icat-socibot) #mw-page-base {
background-color: #D8E3F7;
background-image: -moz-linear-gradient(top,#ffffff 50%,#D8E3F7 100%);
background-image: -webkit-gradient(linear,left top,left bottom,color-stop(50%,#ffffff),color-stop(100%,#D8E3F7));
background-image: -webkit-linear-gradient(top,#ffffff 50%,#D8E3F7 100%);
background-image: linear-gradient(#ffffff 50%,#D8E3F7 100%);
}
body.icat-robothespian:not(.icat-socibot) .mw-wiki-logo {
background-image: url(/w/resources/assets/RoboThespian-Logo-135x135.png);
}
body.icat-robothespian:not(.icat-socibot) div#mw-panel div.portal {
background-blend-mode: multiply;
background-color: #D8E3F7;
}
/* For all pages in the 'Tritium' category (case-sensitive) */
body[class^='icat-tritium'], body[class*=' icat-tritium'] {
background-color: #E8F7CF; /* #E8F7CF */
}
body[class^='icat-tritium'] #mw-page-base, body[class*=' icat-tritium'] #mw-page-base {
background-color: #FFFFD7;
background-image: -moz-linear-gradient(top,#ffffff 50%,#E8F7CF 100%);
background-image: -webkit-gradient(linear,left top,left bottom,color-stop(50%,#ffffff),color-stop(100%,#E8F7CF));
background-image: -webkit-linear-gradient(top,#ffffff 50%,#E8F7CF 100%);
background-image: linear-gradient(#ffffff 50%,#E8F7CF 100%);
}
body[class^='icat-tritium'] .mw-wiki-logo, body[class*=' icat-tritium'] .mw-wiki-logo {
background-image: url(/w/images/b/b8/Tritium_wiki_logo.png);
}
body[class^='icat-tritium'] div#mw-panel div.portal, body[class*=' icat-tritium'] div#mw-panel div.portal {
background-blend-mode: multiply;
background-color: #E8F7CF;
}
/* #cceeee; */