Difference between revisions of "MediaWiki:Common.css"

From WikiName
Jump to: navigation, search
Line 1: Line 1:
 
/* For area flavor text
 
/* For area flavor text
div.areamain {
+
.areamain {
 
style="display:table;  
 
style="display:table;  
 
width:74%;
 
width:74%;
 
}
 
}
  
div.areasub {
+
.areasub {
 
float:left;  
 
float:left;  
 
padding: 0 0 10px 0;  
 
padding: 0 0 10px 0;  

Revision as of 01:04, 20 February 2011

/* For area flavor text
.areamain {
	style="display:table; 
	width:74%;
}

.areasub {
	float:left; 
	padding: 0 0 10px 0; 
	width:60%;
}

/* CSS placed here will be applied to all skins */
table.collapsed tr.collapsible {
	display: none;
	padding: 0px;
}
 
table.collapsible th {
	padding: 0px;
	margin: 0px;
	text-align: left;
}

.collapseButton {		/* 'show'/'hide' buttons created dynamically by the		*/
	float: left;		/* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */
	font-weight: normal;	/* are styled here so they can be customised.		  */
	text-align: left;
	width: auto;
}

/*Hides Main Page headline*/
body.page-Main_Page h1.firstHeading { 
    display: none; 
}

/*Two column thingie*/
.two-columns {
  -moz-column-count: 2;
  -webkit-column-count: 2;
}

/*This makes tables pretty!*/
/* Wikitable (Prettytable) class for skinning tables */
table.wikitable th, table.wikitable td {
        background: #FFD47F;
	padding: 0.2em 0.4em;
}
table.wikitable th, table.wikitable td.hl3, table.wikitable th.hl3 {
	background: #8da7d6;
	text-align: left;
}
table.wikitable td.hl1, table.wikitable th.hl1 {
	background: #c5d8fc;
	text-align: left;
}
table.wikitable td.hl2, table.wikitable th.hl2 {
	background: #a7c1f2;
	text-align: left;
}
table.wikitable caption {
	margin-left: inherit;
	margin-right: inherit;
	font-weight: bold;
}

/* Table for class abilities */
table.abilitiestable { 
	background-color: #FFCC66; 
}
table.abilitiestable td { 
	border-top: 1px solid #000000;
	vertical-align:top;
	padding: 4px;
}
table.abilitiestable th { 
	background-color: #FFAA00;
	vertical-align:bottom; 
	padding: 4px;
}
table.abilitiestable tr:hover { 
	background-color: #ffe5b2; 
}

/* Table for book locations */
table.hidecollapsible {
	background-color: transparent;
	text-align: left;
}
table.hidecollapsible th {
	background-color: transparent; 
	padding: 0px;
	vertical-align:top;
	text-align: left;
}
table.hidecollapsible td { 
	text-align: left;
	background-color: transparent; 
	padding: 0px;
	vertical-align:top;
	display: none;
}

table.showcollapsible {
	background-color: transparent;
}
table.showcollapsible th, table.showcollapsible tr {
	text-align: left;
	font-weight: normal;
	background-color: transparent; 
	padding: 0px;
	vertical-align:top;
}
table.showcollapsible td { 
	text-align: left;
	font-size: 95%;
	background-color: transparent; 
	border: none;
	margin: 0px;
	padding-left: 12px;
	padding-right: 0px;
	padding-top: 0px;
	padding-bottom: 4px;
	vertical-align:top;
	line-height: 12px;
}

/* Table for stat order */
table.stattable { 
	background: #FFD47F;
	font-family: monospace, "Courier New";
	padding: 0.2em 0.4em;
	text-align: right;
	width:270px;
}
table.stattable td { 
	padding: 2px; 
	vertical-align:top;
}

/* Changing default helpfile font */
.helpfile p{
	font-family: monospace, "Courier New"; 
	line-height: 1.3em;
	padding: 5px 0px 0px 10px;
}

/* For adjacent areas compass rose on area pages */
.adjacentarea pre{
	width: 80%;
	font-family: monospace, "Courier New", serif; 
	font-size: 95%;
	background: none;
	border: none;
	padding: none;
}

/* Resizing map images */
.resizemap img, .resizemap a{
	width:700px;
	text-decoration:none;
	background: #FFD47F;	
	background-image: url("/images/library/parchment.jpg");	
}

.areainfo{
	line-height: 15px;
	float: left;
	width: 230px; 
	background: #FFD47F;
	border: 1px solid #c0b8cc;
	padding-right: 8px;
	padding-left: 4px;
	padding-bottom: 4px;
}
.areainfo td{
	font-size: 95%;
}
.areainfo th{
	padding-top: 10px;
	font-size: 115%;
}

.continentinfo{
	line-height: 15px;
	float: left;
	width: 300px; 
	background: #FFD47F;
	border: 1px solid #c0b8cc;
	padding-right: 8px;
	padding-left: 4px;
	padding-bottom: 4px;
}
.continentinfo td{
	font-size: 95%;
}
.continentinfo th{
	padding-top: 10px;
	font-size: 115%;
}

.classinfo{
	line-height: 15px;
	float: left;
	width: 290px; 
	background: #FFD47F;
	border: 1px solid #c0b8cc;
	padding-right: 8px;
	padding-left: 4px;
	padding-bottom: 4px;
}
.classinfo td{
	font-size: 95%;
	vertical-align: top;
}
.classinfo th{
	padding-top: 10px;
	font-size: 115%;
}

/* hide arrows on selected external links */
.plainlinksneverexpand a {
	background:none !important;
	padding:0 !important;
}

#content a.external {
       background: none;
}