MediaWiki:Wikia.css

From Dawn of War II Community Wiki
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.
.yui-navset .yui-nav li {
  padding: 0 0.5em 0 0.5em !important;
}


/* No "read more" section with thumbnails at bottom of each article */
.RelatedPagesModule {display: none;}

/* No "added by" attribution under each picture */
.WikiaArticle .picture-attribution {display:none;}

/* default skin for navigation boxes */
table.navbox {            /* navbox container style */
  border:1px solid #4B3734;
  width:100%; 
  margin:auto;
  clear:both;
  font-size:90%;
  text-align:center;
  padding:1px;
}

/* single pixel border between adjacent navboxes (doesn't work for IE6, but that's okay) */
table.navbox + table.navbox { margin-top:-1px; }

.navbox-title, .navbox-abovebelow, table.navbox th {
  text-align:center;      /* title and above/below styles */
  padding-left:1em;
  padding-right:1em;
}
.navbox-group {           /* group style */
  white-space:nowrap;
  text-align:right;
  font-weight:bold;
  padding-left:1em;
  padding-right:1em;
}
.navbox, .navbox-subgroup { background:#241511; }
.navbox-list { border-left:2px solid #241511; }
.navbox-title, table.navbox th { background:#1A1312; }
.navbox-abovebelow, .navbox-group, .navbox-subgroup .navbox-title { background:#1A1312; }
.navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow { background:#e6e6ff; }
.navbox-even { background:#1A1312; }
.navbox-odd { background:transparent; }


/* New rounded-style infoboxes, under development */

table.roundinfobox {
	width: 275px;
	float: right;
	margin: 0 0 1em 1em;
}

table.roundinfobox th {
	background-color: #2a2322;
	-moz-border-radius: 0.5em;
	-webkit-border-radius: 0.5em;
	font-size:89%;
	padding: 0 4px 0 4px;
}

table.roundinfobox td {
	font-size:89%;
}

table.roundinfobox .rib_header {
	font-size: 100%;
	padding: 0.5em;
}

/* Round-cornered boxes used on main page */

.roundedbox {
	margin-top: 10px;
	padding: 7px 15px 12px 15px;
	-moz-border-radius: 0.5em;
	-webkit-border-radius: 0.5em;
	background-color: #2a2322;
	font-size: 89%;
}

table.roundtable {
	font-size:89%;
}

table.roundtable th {
	background-color: #2a2322;
	-moz-border-radius: 0.5em;
	-webkit-border-radius: 0.5em;
	padding: 0.2em 0.5em 0.2em 0.5em;
}

table.roundtable td {
	padding-left: 0.5em;
	padding-right: 0.5em;
}

table.newtable {
}

table.newtable th {
	background-color: #201716;
	border: 1px solid #4b3734;
}

table.infobox {
	width: 220px;
	float: right;
	margin: 0 0 1em 1em;
}

/* Small text for DPS table */

.smalltext {
	font-weight: normal;
	font-size: 80%;
}

/* Smaller line-height + some padding for accuracy header cells */

.cell1 {
	line-height: 110%;
	padding-top: 5px;
	padding-bottom:5px;
}

/*** TabView extension ***/

/*Style of all unselected tabs*/
.yui-navset .yui-nav li
{
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    background-color: #D9D9D9;
    color: #3A3A3A;
    font-size: 12px;
    margin-top: 7px;
    padding: 6px 20px 3px;
}

/*Style of the selected tab*/
.ui-tabs .ui-tabs-nav li.ui-tabs-selected a 
{
    background-color: #7FB5D7;
    color: white;
    font-weight: bold;
}

/*Padding between tabs*/
.ui-tabs .ui-tabs-nav li 
{
    margin: 0 0.2em 1px 0;
    padding: 0;
}

/*Remove the border and space between the tabs and the content*/
.ui-tabs .ui-tabs-nav 
{
    border-bottom: 0 none;
    margin-bottom: 0;
}

/*Background color and border of tab content*/
.ui-tabs .ui-tabs-panel 
{
    background: none repeat scroll 0 0;
    border-top: 1px groove gray;
    padding: 0;
}

.tabberlive .tabbertab {
 padding:5px;
 border:0;
 border-top:0;
}