Difference between revisions of "MediaWiki:Common.css"

From Engineered Arts Wiki
Jump to navigation Jump to search
(CSS class mw-content-ltr always exists, avoid the more specific mw-content-text ID)
(mw-content-ltr -> mw-parser-output)
 
Line 5: Line 5:
 
*/
 
*/
 
/* Standard links */
 
/* Standard links */
div#mw-content-ltr p a,
+
div.mw-parser-output p a,
 
/* Links next to floated images */
 
/* Links next to floated images */
div.mw-content-ltr > a,
+
div.mw-parser-output > a,
 
/* Top level lists (i.e. not the ToC) */
 
/* Top level lists (i.e. not the ToC) */
div.mw-content-ltr > ul a,
+
div.mw-parser-output > ul a,
div.mw-content-ltr > ol a,
+
div.mw-parser-output > ol a,
 
/* Tables */
 
/* Tables */
div.mw-content-ltr table a,
+
div.mw-parser-output table a,
 
/* Thumbnail caption links */
 
/* Thumbnail caption links */
div.mw-content-ltr div.thumbcaption a {
+
div.mw-parser-output div.thumbcaption a {
 
   font-weight:bold;
 
   font-weight:bold;
 
}
 
}

Latest revision as of 13:44, 29 July 2019

/* 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,
/* 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; */