Difference between revisions of "MediaWiki:Common.css"

From Engineered Arts Wiki
Jump to navigation Jump to search
Line 121: Line 121:
  
 
/* For all pages in the 'Tritium' category (case-sensitive) */
 
/* For all pages in the 'Tritium' category (case-sensitive) */
body.icat-tritium {
+
body[class^='icat-tritium'], body[class*=' icat-tritium'] {
 
   background-color: #E8F7CF; /* #E8F7CF */
 
   background-color: #E8F7CF; /* #E8F7CF */
 
}
 
}
body.icat-tritium #mw-page-base {
+
body[class^='icat-tritium'] #mw-page-base, body[class*=' icat-tritium'] #mw-page-base {
 
     background-color: #FFFFD7;
 
     background-color: #FFFFD7;
 
     background-image: -moz-linear-gradient(top,#ffffff 50%,#E8F7CF 100%);
 
     background-image: -moz-linear-gradient(top,#ffffff 50%,#E8F7CF 100%);
Line 131: Line 131:
 
     background-image: linear-gradient(#ffffff 50%,#E8F7CF 100%);
 
     background-image: linear-gradient(#ffffff 50%,#E8F7CF 100%);
 
}
 
}
body.icat-tritium .mw-wiki-logo {
+
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);
 
   background-image: url(/w/images/b/b8/Tritium_wiki_logo.png);
 
}
 
}
body.icat-tritium div#mw-panel div.portal {
+
body[class^='icat-tritium'] div#mw-panel div.portal, body[class*=' icat-tritium'] div#mw-panel div.portal {
 
     background-blend-mode: multiply;
 
     background-blend-mode: multiply;
 
     background-color: #E8F7CF;
 
     background-color: #E8F7CF;

Revision as of 16:31, 4 July 2016

/* CSS placed here will be applied to all skins */

/*
Bold links! The thin font can make visited links hard to see.
NB. mw-content-ltr is the div shown when previewing an edit
*/
/* Standard links */
div#mw-content-text p a,
/* Links next to floated images */
div#mw-content-text > a,
div.mw-content-ltr > a,
/* Top level lists (i.e. not the ToC) */
div#mw-content-text > ul a,
div.mw-content-ltr > ul a,
div#mw-content-text > ol a,
div.mw-content-ltr > ol a,
/* Tables */
div#mw-content-text table a,
/* Thumbnail caption links */
div#mw-content-text 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; */