MediaWiki:Common.css

From Lotro-Wiki.com
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/** CSS placed here will be applied to all skins */
body.page-Main_Page h1.firstHeading { display:none; }
/*
This is the CSS for all skins (for all users) on MediaWiki.org. 

SECTIONS:
1. Indication of namespaces
2. Color classes for content
3. Special pages
4. Main page styling
5. Sidebar external links
6. Extension:Matrix stuff
7. Wikitables, infobox templates, warnings, and other such stylings
8. Some other small things
9. Lotro-Wiki stuff
10.Collapse styles
*/

/***** 1. INDICATION OF NAMESPACES *****/
/* Moved out of common to vector.css */

/***** 2. COLOR CLASSES FOR CONTENT  *****/

/* Border colors */
.borderc1 { border-color: #e9e9e9; border-width: thin; }  /* light grey */
.borderc2 { border-color: #aaaaaa; border-width: thin; }  /* grey (as toc) */
.borderc3 { border-color: #777777; border-width: thin; }  /* dark grey */
.borderc4 { border-color: #000000; border-width: thin; }  /* black */
.borderc5 { border-color: #c00000; border-width: thin; }  /* red */
.borderc6 { border-color: #025e9d; border-width: thin; }  /* blue */
.borderc7 { border-color: #008040; border-width: thin; }  /* green */
.borderc8 { border-color: #ffcc00; border-width: thin; }  /* yellow */

/* Background colors */
.backgroundc1 { background-color: #ffffff; }  /* white */
.backgroundc2 { background-color: #f9f9f9; }  /* light grey (as toc)  */
.backgroundc3 { background-color: #eeeeee; }  /* light grey (headers) */ 
.backgroundc4 { background-color: #e0e0e0; }  /* more grey */
.backgroundc5 { background-color: #d2d2d2; }  /* more grey */
.backgroundc6 { background-color: #b7b7b7; }  /* more grey */
.backgroundc7 { background-color: #a3a3a3; }  /* darker grey */
.backgroundc8 { background-color: #444455; }  /* very dark grey */

/***** 3. SPECIAL PAGES *****/

/***** 4. MAIN PAGE STYLING *****/

#mainpage_topbox {
	background: #f9f9f9;
	padding: 0px;
	border: 1px solid #aaaaaa;
	margin: 0.2em 10px 10px;
}
.mainpage_boxtitle, .mainpage_hubtitle, #mainpage_pagetitle {
	font-size: 105%;
	padding: 0.4em;
	background-color: #eeeeee;
	border-bottom: 1px solid #aaaaaa;
}
.mainpage_boxtitle {
	line-height: 120%;
}
#mainpage_pagetitle {
	color: #cf7606;
	font-size: 200% !important;
}
#mainpage_sitelinks {
	padding: 0.2em;
	text-align: center;
	background-color: white;
}
.mainpage_hubtitle {
	text-align: center;
}
.mainpage_boxcontents, .mainpage_boxcontents_small {
	background: #ffffff;
	padding: 0.2em 0.4em;
}
.mainpage_boxcontents_small {
	font-size: 95%;
}
.mainpage_hubbox, #mainpage_newscell, #mainpage_downloadcell {
	padding: 0;
	border: 1px solid #aaaaaa;
}
.mainpage_hubbox {
	margin-bottom: 0;
}
#mainpage_newscell {
	margin-bottom: 15px;
	margin-top: 0 !important;
}
#mainpage_newscell .mainpage_boxtitle {
	background-image: url(http://upload.wikimedia.org/wikipedia/commons/thumb/8/89/Exquisite-khelpcenter.png/20px-Exquisite-khelpcenter.png);
	background-repeat: no-repeat;
	background-position: 99% 0.3em;
	padding-right: 25px;
}
#mainpage_downloadcell {
	width: 17em;
	margin-bottom: 5px;
}
#mainpage_downloadcell .mainpage_boxtitle {
	background-image: url(http://upload.wikimedia.org/wikipedia/commons/thumb/5/5d/Crystal_Clear_action_build.png/18px-Crystal_Clear_action_build.png);
	background-repeat: no-repeat;
	background-position: 96% 0.33em;
	padding-right: 25px;
}
#mainpage_mwtitle { color: #005288; } /* The words 'MediaWiki.org' in the title. */

/* The "mainpage" class is added to the body with javascript for the main page in all */
/* languages, so we can style things that apppear on the main page and also elsewhere. */
.mainpage #lastmod, 
.mainpage #siteSub, 
.mainpage h1.firstHeading {
	display: none !important;
} 
.mainpage #content {
	padding-top: 1em;
}

/***** 5. SIDEBAR EXTERNAL LINKS *****/
/* Image is long longer used, I don't believe these styles are used. 
#n-browse-cvs a, #n-phpdoc a, #n-Mailing-list a {
	background: url(/skins-1.5/monobook/external.png) center right no-repeat;
	padding-right: 13px;
	color: #3366bb;
} */

/***** 7. WIKITABLES, INFOBOX TEMPLATES, WARNINGS AND OTHER SUCH STYLINGS *****/
/* General purpose "pretty (data) tables" */
table.datatable { background-color: transparent; }
table.datatable th, table.datatable td { padding: 4px; }
table.datatable th { text-align: left; background-color: #999999; }
table.datatable tr { background-color: #cccccc; }
table.datatable tr:hover { background-color: #ffffcc; }

/* SideBox styling */
div.sideBox {
	position: relative;
	float: right;
	background: white;
	margin-left: 1em;
	border: 1px solid gray;
	padding: 0.3em;
	width: 200px;
	overflow: hidden; 
	clear: right;
}
div.sideBox dl {
	padding: 0;
	margin: 0 0 0.3em 0;
	font-size: 96%;
}
div.sideBox dl dt {
	background: none;
	margin: 0.4em 0 0 0;
}
div.sideBox dl dd {
	margin: 0.1em 0 0 1.1em;
	background-color: #f3f3f3;
}

/* Extension infobox styling */
.ext-infobox {
	border: 2px solid #aaaaaa;
	width: 272px;
	float: right;
	margin: 0 0 0.5em 0.5em;
	border-collapse: collapse;
	background-color: white;
}
.ext-infobox td {
	border: 2px none #aaaaaa;
	padding: 0.2em 0.5em;
	border-bottom: 1px solid #f0f0f0 !important;
}
.ext-header {
	background-color: #aaaaaa;
	color: white;
	text-align: left;
}
.ext-header td { padding-top: 0.5em; }
.ext-header img { padding: 0 0.2em 0 0.5em; }
.ext-status-unstable, .ext-status-unstable td { border-color: #990000; }
.ext-status-unstable .ext-header { background-color: #990000; color: #ffff00; }
.ext-status-experimental, .ext-status-experimental td { border-color: #cc6600; }
.ext-status-experimental .ext-header { background-color: #cc6600; }
.ext-status-beta, .ext-status-beta td { border-color: #000099; }
.ext-status-beta .ext-header { background-color: #000099; }
.ext-status-stable, .ext-status-stable td { border-color: #009900; }
.ext-status-stable .ext-header { background-color: #009900; }

/* Cute little "tip" boxes */
div.tip {
	padding: 4px;
	margin-top: 4px;
	margin-bottom: 4px;
	min-height: 30px; /* IE users will hate this... */
}
div.tip-info {
	border: 1px solid #cc9933;
	background-color: #cccc99;
}
div.tip-gotcha {
	border: 1px solid #cc0000;
	background-color: #cc6666;
}


/* Version box on [[Manual:Downloading MediaWiki]] */
#DownloadVersionBox {
	border: 2px solid black;
	border-collapse: collapse; 
	margin: auto;
	width: 50%;
	color: black;
}
#DownloadVersionBox td {
	border: 2px solid black;
	padding: 20px;
}

/* Major warning - used on the main page template to warn against editing carelessly, but can be used elsewhere as well */
.majorwarning {
	background: yellow; 
	padding: 0.3em; 
	text-align: center; 
	font-size: 125%; 
	border: 2px solid red;
}

/* Page headings used throughout the wiki (though not very much at the time of writing…) */ 
.page-notice, .page-warning {
	border-width: 1px; 
	border-style: solid;
	padding: 0.3em 0.5em;
	margin-bottom: 1em;
	width: 95%; 
	margin-left: auto; 
	margin-right: auto; 
	text-align: center;
}

/* Informative notices at the top of pages (blue) */
.page-notice {
	background-color: #f9f9f9;
	border-color: #025e9d; 
	text-align: left;
}

/* Warning information at the top of pages (red) */
.page-warning {
	background-color: #ffffff;
	border-color: #c51919;
	border-width: 2px;
}
.pw-head {
	color: #c51919;
	font-weight: bold;
}

/* Used in Template:Notice */
.block-note {
	background-image: url(http://upload.wikimedia.org/wikipedia/commons/thumb/6/60/Bulbgraph.png/18px-Bulbgraph.png);
	background-position: top left;
	background-repeat: no-repeat;
}
/*
   Using block-contents in the hope that it can apply to all block-level warning templates, 
   with different images applied as backgrounds to the wrapping DIV.
*/
.block-contents {
	display: block;
	padding-left: 20px;
}

/* Template documentation ([[Template:Documentation]]) */
.template-documentation {
	clear: both;
	margin: 1em 0 0 0;
	border: 1px solid #aaa; 
	background-color: #ecfcf4; 
	padding: 5px;
}

/***** 8. SOME OTHER SMALL THINGS *****/

/* Support columnar display ("Div col" template) */
.div-col {
	margin-top: 0.3em;
	column-width: 30em;
}

.div-col-small {
	font-size: 90%;
}

.div-col-rules {
	column-rule: 1px solid #aaa;
}

/* Reset top margin for first element in div col */
.div-col > *:first-child {
	margin-top: 0;
}

/* Avoid elements breaking between columns
   See also Template:No col break */
.div-col li,
.div-col dd,
.div-col table {
	page-break-inside: avoid; /* Removed from CSS in favor of break-inside c. 2020 */
	break-inside: avoid-column;
}

/* Give a bit of space to the TOC */
#toc { margin: 1em 0; }

/* make the list of references look smaller and highlight clicked reference in blue */
ol.references { font-size: 100%; }
.references-small { font-size: 90%;}
ol.references > li:target { background-color: #ddeeff; }
sup.reference:target { background-color: #ddeeff; }

/* Printing of thumbnails (bug 1583) */
div.tright { clear: right; }

/* extra buttons for edit dialog (from commons:MediaWiki:Common.css) */
.my-buttons {
	padding: .5em;
}
.my-buttons a {
	color: black;
	background-color: #cde !important;
	font-weight: bold;
	font-size: .9em;
	text-decoration: none;
	border: thin #069 outset;
	padding: 0 .1em .1em;
}
.my-buttons a:hover, .my-buttons a:active {
	background-color: #bcd;
	border-style: inset;
}

/* from [[User:Splarka/Help:Linked images]] */
.imagelink_wikilogo a {
	width: 135px;
	height: 135px;
	display: block;
	text-decoration: none;
	background-image: url("http://upload.wikimedia.org/wikipedia/mediawiki/b/bc/Wiki.png");
}

/**** reduced subset of the mbox styles from enwiki, mainly for the nice boxflow ****/
table.mbox {
	margin: 4px 10%;
	border-collapse: collapse;
	border: 1px solid #aaa; /* Default "notice" gray */
	background: #f9f9f9;
}
table.mbox-wide {
	margin: 4px 0;
}

th.mbox-text, td.mbox-text {     /* The message body cell(s) */
	border: none;
	padding: 0.25em 0.9em;       /* 0.9em left/right */
	width: 100%;    /* Make all mboxes the same width regardless of text length */
}
td.mbox-image {                  /* The left image cell */
	border: none;
	padding: 2px 0 2px 0.9em;    /* 0.9em left, 0px right */
	text-align: center;
}
td.mbox-imageright {             /* The right image cell */
	border: none;
	padding: 2px 0.9em 2px 0;    /* 0px left, 0.9em right */
	text-align: center;
}
td.mbox-empty-cell {         /* An empty narrow cell */
	border: none;
	padding: 0px;
	width: 1px;
}

/* These mbox-small classes must be placed after all other 
   ambox/tmbox/ombox etc classes. "body.mediawiki" is so 
   they override "table.ambox + table.ambox" above. */
body.mediawiki table.mbox-small {   /* For the "small=yes" option. */
	clear: right;
	float: right;
	margin: 4px 0 4px 1em;
	width: 238px;
	font-size: 88%;
	line-height: 1.25em;
}
body.mediawiki table.mbox-small-left {   /* For the "small=left" option. */
	margin: 4px 1em 4px 0;
	width: 238px;
	border-collapse: collapse;
	font-size: 88%;
	line-height: 1.25em;
}

/* These are the same colours as the enwiki
   'cmbox' styles; just with different names. */
table.mbox-critical {
	border: 4px solid #b22222;    /* Red */
	background: #FFDBDB;          /* Pink */
}
table.mbox-important {
	background: #FFDBDB;    /* Red */
}
table.mbox-warning {
	background: #FFE7CE;    /* Orange */
}
table.mbox-caution {
	background: #FFF9DB;    /* Yellow */
}
table.mbox-notice {
	background: #D8E8FF;    /* Blue */
}
table.mbox-move {
	background: #E4D8FF;    /* Purple */
}
table.mbox-protection {
	background: #EFEFE1;    /* Gray-gold */
}

/** class infobox */
table.infobox {
 background: #cabba2;
 float: right;
 clear: right;
 width: 380px;
 margin: 5px;
 padding: 5px;
 color: Black;
 font-family: Times, serif;
 font-size: 10pt;
 text-transform: none;
}

/** class infobox item formatting **/
table.item-infobox {
	width:            300px;
	border:           2px solid darkgrey;
	vertical-align:   top;
	font-family:      sans-serif;
	background-color: #1F1F1F;
	color:            antiquewhite;
}
table.item-infobox th {
	padding:        0.5em;
	font-size:      130%;
	font-family:    serif;
	font-stretch:   narrower;
	font-variant:   small-caps;
}
td.lightgray {
	color: #646464;
}
td.red {
	color: red;
}
td.lightgreen {
	color: limegreen;
}
td.darkgreen {
	color: green;
}
td.lightblue {
	color: lightblue;
}
td.blueish {
	color: cadetblue;
}
td.darkyellow {
        color: #A09020;
}
td.yellow {
	color: yellow;
}
td.khaki {
        color: #FFF380;
}
td.white {
	color: white;
}

/* Item Quality Colors */ 
.qc-epic, .qc-epic a { color:orange; }
.qc-incomparable, .qc-incomparable a { color:cyan; }
.qc-rare, .qc-rare a { color:DarkMagenta; }
.qc-uncommon, .qc-uncommon a { color:yellow; }
.qc-common, .qc-common a { color:white; }

/* Shadows for the Quality colours
 * 
 * Fixes common (white) text on white background
 * Adding shadows to the others as it looks nicer
 * Rare gets a brighter shadow effect (removed the outline and made the blur more tight)
 *
 */
.qc-epic, .qc-incomparable, .qc-uncommon, .qc-common { text-shadow: black 0.05em 0.05em, black 0.1em 0.1em 1px; }
.qc-rare { text-shadow: black 0.05em 0.05em 1px; }


@media print {
   .navbox { display: none; }
}

/* dark table style */
table.darktable {
 border: 1px solid silver;
 padding: 5px;
 background: #888888;
 font-size: 89%;
 margin: 0.5em 0em 1em 0.5em;
}
table.darktable th {
 background-color: black;
 color: orange;
 padding: 0 0.5em;
}
table.darktable caption {
 font-size: 120%;
 font-weight: bold;   
}
table.darktable tr:not(:first-child) th {
   background-color: #999999;
}
table.darktable a:link {color: lightgreen;}
table.darktable a:visited {color: limegreen;}
table.darktable a:hover, a:active {color: cyan;}

/* title stuff */
.title {
 background-color: black;
 color: orange;
 text-align:center;
 font-weight:bold;
 padding: 1px 2px;
}

.alt {background-color: #999999;}

table .hover:hover { background-color: orange;} /* for occasions where a table element is class="hover" -- this is for legibility in larger tables */


 /* --- TOOLTIP --- */
 
 .tooltip {
  font-size: 0.95em;
  font-family: Arial, Verdana, sans-serif;
  float: left;
  width: 18em;
  min-width: 15em;
  padding: 0.3em;
  margin: 5px;
  color: antiquewhite;
  background-color: #999999;
  border: 1px #bbb solid;
  -moz-border-radius: 0.75ex;
 }
 
 .tooltip ul {
  margin: 0;
  padding: 0;
  list-style: none;
  list-style-type: none;
  list-style-image: none;
 }
 
 .itemtooltip {
  text-align: left;
  font-family: Verdana, Arial, sans-serif;
 }

/* Item Tooltips */
/* div.itemtooltip li a {color: inherit} would ideally replace most a declarations here, but IE support is lacking. */
div.itemtooltip {min-width: 15em; padding: 0.3em; margin: 5px; background-color: #111; border: 1px #bbb solid; -moz-border-radius: 0.75ex;}
div.itemtooltip ul {margin: 0; padding: 0; list-style: none; list-style-type: none; list-style-image: none;}
div.itemtooltip, div.itemtooltip li, div.itemtooltip li a {color: #fff}
div.itemtooltip li.grey,  div.itemtooltip li.grey a {color: grey}
div.itemtooltip li.red, div.itemtooltip li.red a {color: red}
div.itemtooltip li.attrib, div.itemtooltip li.attrib a {color: limegreen}
div.itemtooltip li.limegreen, div.itemtooltip li.limegreen a {color: limegreen}
div.itemtooltip li.darkgreen, div.itemtooltip li.darkgreen a {color: darkgreen}
div.itemtooltip li.khaki, div.itemtooltip li.khaki a {color: khaki}
div.itemtooltip li.flavor, div.itemtooltip li.flavor a {color: #cccc7f}
div.itemtooltip li.darkorchid, div.itemtooltip li.darkorchid a {color: darkorchid}
div.itemtooltip li.set, div.itemtooltip li.set a {color: orange}
div.itemtooltip li.setbonus, div.itemtooltip li.setbonus a {color: #999}
div.itemtooltip li.detail, div.itemtooltip li.stats, div.itemtooltip li.onuse, div.itemtooltip li.req {margin-bottom: 10px;}

/* Grid of tooltips all top-aligned and wrappable */
.grid {
  display:flex;
  flex-flow:row wrap;
}

/* alternating row colors in tables, with a large header */
table.altRows th {
	background-color: #BBBBFF;
	font-size: large;
}
table.altRows tr.odd {background-color: white;}
table.altRows tr.even {background-color: #EEEEFF;}

/* alternating row colors in tables, with a medium header */
table.altRowsMed th {
	background-color: #BBBBFF;
	font-size: medium;
}
table.altRowsMed tr.odd {background-color: white;}
table.altRowsMed tr.even {background-color: #EEEEFF;}

/* alternating row colors opposite of Med in tables, with a medium header */
table.altRowsMed2 th {
	background-color: #BBBBFF;
	font-size: medium;
}
table.altRowsMed2 tr.odd {background-color: #EEEEFF;}
table.altRowsMed2 tr.even {background-color: white;}

/* alternating row colors in tables, with a small header */
table.altRowsMed th {
	background-color: #BBBBFF;
	font-size: small;
}
table.altRowsMed tr.odd {background-color: white;}
table.altRowsMed tr.even {background-color: #EEEEFF;}

/* same as altRowsMed, but with right padding on table cells */
table.altRowsPad th {
	background-color: #BBBBFF;
	font-size: small;
	padding-left: 10px;
	padding-right: 10px;
}
table.altRowsPad tr.odd {background-color: white;}
table.altRowsPad tr.even {background-color: #EEEEFF;}
table.altRowsPad td { padding-right: 20px; }
td.centerNoPad {text-align:center; padding-right:0px !Important;} /* center and no right-padding, use with altRowsPad */

/* same as altRowsMed, but with all cells centered with left/right padding */
table.altRowsCenter th {
	background-color: #BBBBFF;
	font-size: small;
	padding-left: 10px;
	padding-right: 10px;
}
table.altRowsCenter tr.odd {background-color: white;}
table.altRowsCenter tr.even {background-color: #EEEEFF;}
table.altRowsCenter tr { text-align: center; }
table.altRowsCenter td { 
	padding-left: 10px;
	padding-right: 10px;
}

/* alternating row colors in tables for Monster Play */
table.altRowsMP {
  border: 3px ridge silver;
  padding: 0;
  background-color: black;
  color: moccasin;
}
table.altRowsMP caption {
  color: teal;
  text-align: left;
  font-size: 120%;
  font-weight: bold;
}
table.altRowsMP th {
  color: orange;
  font-size: 110%;
  border-bottom: 3px ridge silver;
  padding: 0 0.5em;
}
table.altRowsMP a:link {color: lightgreen;}
table.altRowsMP a:visited {color: limegreen;}
table.altRowsMP a:hover, a:active {color: cyan;}

table.altRowsMP tr.odd {background-color: #444444;}
table.altRowsMP tr.even {background-color: #222222;}

/* stocktable color Schema */
table.stocktable {
  border: 3px outset lightgray;
  padding: 0;
}
table.stocktable caption {
  color: black;
  text-align: left;
  font-size: 120%;
  font-weight: bold;
}
table.stocktable th {
  font-size: 110%;
  background-color: #BBBBFF;
  padding: 0 0.5em;
}
table.stocktable tr:not(:first-child) th {
  font-size: 110%;
  background-color: #EEEEFF;
  padding: 0 0.5em;
}
table tr.odd {
  background-color: #white;
}
table tr.even {
  background-color: #EEEEFF;
}

/* MP Tables */
table.mptable {
  border: 3px ridge silver;
  padding: 0;
  background-color: black;
  color: moccasin;
}
table.mptable caption {
  color: teal;
  text-align: left;
  font-size: 120%;
  font-weight: bold;
}
table.mptable td {
  background-color: #444444;
  color: moccasin;
}
table.mptable th {
  color: orange;
  font-size: 110%;
  border-bottom: 3px ridge silver;
  padding: 0 0.5em;
}
table.mptable a:link {color: lightgreen;}
table.mptable a:visited {color: limegreen;}
table.mptable a:hover, a:active {color: cyan;}


/* Article message box template styles */
table.ambox {
    margin: 0 10%;                       /* Will not overlap with other elements */
    border-collapse: collapse; 
    background: #fbfbfb; 
    border: 1px solid #aaa; 
    border-left: 10px solid #1e90ff;     /* Default "notice" blue */
}
table.ambox th.ambox-text, table.ambox td.ambox-text {      /* The message body cell(s) */
    padding: 0.25em 0.5em;            /* 0.5em left/right */
    width: 100%;                      /* Make all templates the same width regardless of text size */
}
table.ambox td.ambox-image {          /* The left image cell */
    padding: 2px 0px 2px 0.5em;       /* 0.5em left, 0px right */
    text-align: center; 
}
table.ambox td.ambox-imageright {     /* The right image cell */
    padding: 2px 4px 2px 0px;         /* 0px left, 4px right */
    text-align: center; 
}
table.ambox-notice {
    border-left: 10px solid #1e90ff;     /* Blue */
/* border-right: 10px solid #1e90ff; */  /* If you want two blue bars */
}
table.ambox-delete,
table.ambox-serious {
    border-left: 10px solid #b22222;     /* Red */
}
table.ambox-content {
    border-left: 10px solid #f28500;     /* Orange */
}
table.ambox-style {
    border-left: 10px solid #f4c430;     /* Yellow */
}
table.ambox-merge {
    border-left: 10px solid #9932cc;     /* Purple */
}
table.ambox-protection {
    border-left: 10px solid #bba;        /* Gray */
}
table.ambox.ambox-mini {                 /* small floating box variant */
    float: right;
    clear: right;
    margin: 0 0 0 1em;
    width: 25%;
}

/** class ttipDemo -- demo template layouts*/
table.ttipDemo {
  background: transparent url("images/8/82/Ttip_Background.png");
  border: 3px ridge silver;
  float: right;
  clear: right;
  width: 300px;
  margin: 5px;
  padding: 5px;
  color: white;
  font-size: 85%;
  vertical-align: top;
}
table.ttipDemo a:link {color: bisque;}
table.ttipDemo a:visited {color: moccasin;}
table.ttipDemo a:hover {color: lightcyan;}

.ttipDemo tr th {
  color: GoldenRod;
  text-align: left;
  border-bottom: 1px solid;
}
/** class WBMTable for Warband Maneuver Tables **/
table.WBMTable {
  width: 750px;
  padding: 0;
  background-color: black;
  color: moccasin;
}
table.WBMTable td {
  background-color: #444444;
  color: moccasin;
}
table.WBMTable th {
  color: orange;
  font-size: 100%;
}
table.WBMTable a:link {color: lightgreen;}
table.WBMTable a:visited {color: limegreen;}
table.WBMTable a:hover, a:active {color: cyan;}

/** used by toc-right template **/
.toclimit-1 .toclevel-1 {display:none;}
.toclimit-2 .toclevel-2 {display:none;}
.toclimit-3 .toclevel-3 {display:none;}
.toclimit-4 .toclevel-4 {display:none;}
.toclimit-5 .toclevel-5 {display:none;}
.toclimit-6 .toclevel-6 {display:none;}
.toclimit-7 .toclevel-7 {display:none;}

/**Main Page Sprite **/
#s1, #s2, #s3, #s4, #s5, #s6, #s7, #s8, #s9  {
 background:transparent url("images/0/0c/Mainpage-icons.png") no-repeat top left;
 width:60px; height:60px; float:right;
}
#s1 { background-position: 0 -5px; } 
#s2 { background-position: 0 -70px; } 
#s3 { background-position: 0 -135px; } 
#s4 { background-position: 0 -200px; } 
#s5 { background-position: 0 -265px; } 
#s6 { background-position: 0 -330px; } 
#s7 { background-position: 0 -395px; } 
#s8 { background-position: 0 -460px; }
#s9 { background-position: 0 -527px; }
/**Main Page **/
.mainpage_headerbox {
  width: 100%;
  border-spacing:5px;
}
.mainpage_headerbox td, .mainpage_headerbox th {
  padding:0;
}
.mainpage_headerbody {
  background:#f5faff;  
  border: 1px solid #7BC; 
  -moz-border-radius: 16px;
  -webkit-border-radius: 16px; 
  border-radius: 16px;
  -moz-box-shadow: 2px 2px 8px rgba(0,0,0,0.75);
  -webkit-box-shadow: 2px 2px 8px rgba(0,0,0,0.75);
  box-shadow: 2px 2px 8gba(0,0,0,0.75);
  padding: 5px; 
  margin: 3px; 
  font-weight: bold; 
  font-size: 95%;
  font-family: Verdana;
  text-align: center; 
  background-image: -moz-radial-gradient(top, circle, #FCFCFC, #FFFF99); 
  background-image: -ms-radial-gradient(top, circle, #FCFCFC, #FFFF99);
  background-image: -o-radial-gradient(top, circle, #FCFCFC, #FFFF99);
  background-image: -webkit-radial-gradient(top, circle, #FCFCFC, #FFFF99);
  background-image: radial-gradient(top, circle, #FCFCFC, #FFFF99);
}
.mainpage_headertext {
  color:#2C2C2C;
}
.mainpage_cell {
  background-image: -moz-radial-gradient(top, circle, #FCFCFC, #99CCDD); 
  background-image: -ms-radial-gradient(top, circle, #FCFCFC, #99CCDD); 
  background-image: -o-radial-gradient(top, circle, #FCFCFC, #99CCDD); 
  background-image: -webkit-radial-gradient(top, circle, #FCFCFC, #99CCDD); 
  background-image: radial-gradient(top, circle, #FCFCFC, #99CCDD); 
}
.mainpage_cell_CC {
  background-image: -moz-radial-gradient(top, circle, #FCFCFC, #FFFF99); 
  background-image: -ms-radial-gradient(top, circle, #FCFCFC, #FFFF99);
  background-image: -o-radial-gradient(top, circle, #FCFCFC, #FFFF99);
  background-image: -webkit-radial-gradient(top, circle, #FCFCFC, #FFFF99);
  background-image: radial-gradient(top, circle, #FCFCFC, #FFFF99);
}
.mainpage_cell_GP {
  background-image: -moz-radial-gradient(top, circle, #FCFCFC, #99EEBB); 
  background-image: -ms-radial-gradient(top, circle, #FCFCFC, #99EEBB); 
  background-image: -o-radial-gradient(top, circle, #FCFCFC, #99EEBB); 
  background-image: -webkit-radial-gradient(top, circle, #FCFCFC, #99EEBB); 
  background-image: radial-gradient(top, circle, #FCFCFC, #99EEBB); 
}
.mainpage_cell_MP {
  background-image: -moz-radial-gradient(top, circle, #FCFCFC, #DDCC99); 
  background-image: -ms-radial-gradient(top, circle, #FCFCFC, #DDCC99); 
  background-image: -o-radial-gradient(top, circle, #FCFCFC, #DDCC99); 
  background-image: -webkit-radial-gradient(top, circle, #FCFCFC, #DDCC99); 
  background-image: radial-gradient(top, circle, #FCFCFC, #DDCC99); 
}
.mainpage_cell,
.mainpage_cell_CC,
.mainpage_cell_GP,
.mainpage_cell_MP {
  width: 33%; 
  border: 1px solid #AAA; 
  vertical-align: top; 
}
.mainpage_celltitle     {background: #99CCDD;}
.mainpage_celltitle_CC  {background: #FFEE77;}
.mainpage_celltitle_GP  {background: #99EEBB;}
.mainpage_celltitle_MP  {background: #CC7744;}

.mainpage_celltitle,
.mainpage_celltitle_CC,
.mainpage_celltitle_GP,
.mainpage_celltitle_MP { 
  border: 1px solid #7BC; 
  padding: 5px; 
  margin: 3px; 
  font-weight: bold; 
  font-size: 120%;
  text-align:  center; 
  -moz-border-radius: 16px;
  -webkit-border-radius: 16px; 
  border-radius: 16px;
  -moz-box-shadow: 2px 2px 8px rgba(0,0,0,0.75);
  -webkit-box-shadow: 2px 2px 8px rgba(0,0,0,0.75);
  box-shadow: 2px 2px 8gba(0,0,0,0.75);

} 
.mainpage_cellbody {
  padding-left: 1em;
}

/**** New main page style start ****/
.mainpage_gollum {
    background-image: url(/images/6/6a/Gollum.png);
    background-position: center;
    background-repeat: no-repeat;
    display:none;
}
.mainpage_grid {
    display: grid;
    grid-gap: 5px;
    grid-template-columns: auto;
    max-width: 1900px; /* 1200px + 350px + 350px */
}

@media screen and (min-width: 850px) {
   .mainpage_grid { grid-template-columns: auto auto; }
}

@media screen and (min-width: 1200px) and (max-width: 1549px) { 
  .mainpage_grid { grid-template-columns: auto auto auto; }
  .mainpage_gollum { display:block; } 
}

@media screen and (min-width: 1550px) { 
  .mainpage_grid { grid-template-columns: auto auto auto auto; }  
}

.mainpage_cell,
.mainpage_cell_CC,
.mainpage_cell_GP,
.mainpage_cell_MP {
  width: auto;
} 

/* Stop wiki welcome from continuing to move right when box area hits max*/
@media screen and (min-width: 1900px) {
  .mainpage_headerbox {
     max-width: 1425px; /* 75% of 1900px */
     margin-left: 237px !important; /* Half of remaining 25% */
  }
}
/**** New main page style end ****/

/* Tooltip-error Class */
.tooltip-error {
   background-color: black;
   color: white;
   max-width: 18em;
}
.tooltip-ready {
   visibility:hidden;
   display:block;
   z-index:999;
}

/* Thumb float gallery style */

.thumb-gallery .tright, .thumb-gallery .tleft {
clear: none;
float: left;}

.thumb-gallery div.thumbinner {
padding: 5px !important; }

.thumb-gallery .tright, .thumb-gallery .tleft {
margin: 5px; }

.thumb-gallery ul {
margin: 0; }

.thumb-gallery li {
list-style: none; 
margin: 0;
display: inline-block; }

/***** 10. Collapse styles ****
 *
 * Copied from http://www.mediawiki.org/wiki/Manual:Collapsible_tables&oldid=772128
 * Note: 6 April 2022 - added oldid to the link to point to revision from where it was taken,
 *                      should be probably deprecated in favor of mw-collapsible. --Drono 
 *
 */
table.collapsed tr.collapsible {
        display: none;
}
 
.collapseButton {                /* 'show'/'hide' buttons created dynamically by the               */
        float: right;               /* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */
        font-weight: normal;        /* are styled here so they can be customised.               */
        text-align: right;
        width: auto;
        padding-left: 0.25em;
        padding-right: 0.25em;
}
                                 /* Used to center title in collapsible element, use mw-collapsible class if its not desired*/
.collapseSpacer {                /* must be the same size as .collapseButton, but floated on the left, and hidden */
        float: left;             
        font-weight: normal;
        text-align: right;
        width: auto;
        padding-left: 0.25em;
        padding-right: 0.25em;
        visibility: hidden;
}

/* Template: Icon - stack text */
.icon-stack { color:snow; text-shadow: black 1px 0, black -1px 0, black 0 1px, black 0 -1px; }

/* Table alignment */
.centerTable tr {text-align:center;} /* Centers all cells */
.centerTableFirst tr:first-child {text-align:center;} /* Centers only the first cell in each row */
.leftTableFirst tr td:first-child {text-align:left;} /* Aligns first table column to the left (use with centerTable) */
.leftTableLast tr td:last-child {text-align:left;} /* Aligns last table column to the left (use with centerTable) */
.topTable td {vertical-align: top;} /* Aligns all cells to top */

/* Styling for Worth template*/

span.coinhide {
display: none; }

table.altRowsMed span.coinhide {
display: inline; }

table.worthtable tr {
background-color: transparent !important; }

/* Styling for Kinship template */
.kinship-table tr:nth-of-type(odd) { background: #EBECFF }
.kinship-table tr.nth-of-type(even) { background: #FFFFFF }

/* Help:Contents boxes */
div.help-contents {
	padding: 10px;
	width: 500px;
	margin: auto;
	border: 1px solid #777777;
	border-radius: 8px;
}

.help-contents-box1 { background:#FFF8DC;}
.help-contents-box2 { background:#FFCCCC;}
.help-contents-box3 { background:#CCCCFF;}
.help-contents-box4 { background:#FFFF99;}
.help-contents-box5 { background:#CCFF99;}
.help-contents-box6 { background:#CFE2F3;}

/* Template:Documentation box (stolen from Wikipedia) */
div.template-documentation {
	clear: both;
	margin: 1em 0 0 0;
	border: 1px solid #aaa;
	background-color: #ecfcf4;
	padding: 5px;
}

/* email links *//*
** BY: [[U:Technical 13]]
** 20 August 2015 :: http://ddowiki.com/?diff=266094
** This CSS hides all email links placed by [[T:User]] by default. They should be restored by [[MW:Gadget-emailLinks.js]] (when I have time to create it).
*/

.emailLink {
  display: none;
}

/**
 * Universal <pre> fix
 * based on css from http://ddowiki.com/page/U:Ague
 * Updated 14:25, April 16, 2012 :: http://ddowiki.com/?diff=131068&oldid=130775
*/
pre {
  max-width: 1200px;
  min-width: 300px;
  overflow: auto;
  white-space: pre-wrap !important;
  word-wrap: break-word;
}
/* </pre> fix */

/* Warning boxes for things like the block log on IP/user pages should be formatted as such */
div.mw-warning-with-logexcerpt,
div.mw-lag-warn-high,
div.mw-cascadeprotectedwarning,
div#mw-protect-cascadeon {
  clear: both;
  margin: 0.2em 0px;
  padding: 0.25em 0.9em;
}

/* Template Title */
.title-normal th { background: #BBBBFF; }
.title-freeps th { background: #DA8025; }
.title-creeps th { background: #DA80AA; }

/* Template:Confirm */
.confirmLink sup a:link {
  color: red;
}

/* Trait Trees */
.traittree-container {
  padding: 0px;
  display: flex;
}
.specialization {
  float: left;
  clear: left;
}
.traittree-blue-container {
	border: 5px ridge rgb(10,0,160);
}
.traittree-blue-bg-text{ 
    background: rgba(10,0,160,0.3) !important;
}
.traittree-blue-bg { 
    color: #c1c1c1 !important;
    font-weight: bold !important;
	background: rgba(10,0,160,0.3); 
	background: linear-gradient(180deg, rgba(2,0,36,1) 0%, rgba(10,0,160,1) 90%);
	border-width: 2px 0px 0px 0px;
	border-style: ridge; 
	border-color: rgb(10,0,160);
}

.traittree-red-container {
	border: 5px ridge rgb(167,0,0);
}
.traittree-red-bg-text{ 
    background: rgba(167,0,0,0.3) !important; 
}
.traittree-red-bg {
    color: #c1c1c1 !important; 
    font-weight: bold !important;
	background: rgba(167,0,0,0.3); 
	background: linear-gradient(180deg, rgba(2,0,36,1) 0%, rgba(167,0,0,1) 90%);
	border-width: 2px 0px 0px 0px;
	border-style: ridge; 
	border-color: rgb(167,0,0);
}

.traittree-yellow-container {
	border: 5px ridge rgb(168,165,0);
}
.traittree-yellow-bg-text{ 
    	background: rgba(168,165,0,0.3) !important;
}
.traittree-yellow-bg { 
    color: #c1c1c1 !important;
    font-weight: bold !important;
	background: rgba(168,165,0,0.3); 
	background: linear-gradient(180deg, rgba(2,0,36,1) 0%, rgba(168,165,0,1) 90%); 
	border-width: 2px 0px 0px 0px;
	border-style: ridge; 
	border-color: rgb(168,165,0);
}

/* Colors for different kinds of navigation boxes: */
    /* templates based on Template:Navigation Box */
.navigation_box { background-color: #f0f0f0 }
.navigation_box th { background-color:#c0c0c0 }
    /* templates based on Template:Area Navigation Box */
.area_navigation_box { background-color: #f0f0f0 } 
.area_navigation_box th { background-color:#c0c0c0 }
    /* templates based on Template:Region Navigation Box */
.region_navigation_box { background-color: #f0f0f0 }
.region_navigation_box th { background-color:#c0c0c0 }
    /* templates based on Template:Land Navigation Box */
.land_navigation_box { background-color: #ccccff }
.land_navigation_box th { background-color:#7f7fff }
    /* templates based on Template:Navigation Bosses Box */
.bosses_nav_box { background-color: #f0f0f0 }
.bosses_nav_box th { background-color:#c0c0c0 }
    /* templates based on Template:Instance Cluster Box */
.instance_cluster_nav_box { background-color: #f0f0f0 }
.instance_cluster_nav_box th { background-color:#c0c0c0 }
    /* templates based on Template:Recipes or Template:Recipe Index */
.recipes_navigation_box { background-color: #f0f0f0 }
.recipes_navigation_box th { background-color:#c0c0c0 }

/*Collapse list of elements to line*/
.list-collapse-comma li, .list-collapse-bullet li { display: inline; }
.list-collapse-comma li:not(:last-child)::after { content: ', '; }
.list-collapse-bullet li:not(:last-child)::after { content: ' \2022'; }

.create-new-box { background:#EEEEFF; border-radius: 8px; }