Difference between revisions of "MediaWiki:Common.css"

From SlothMUD Wiki
Jump to: navigation, search
Line 76: Line 76:
 
  text-align: left;
 
  text-align: left;
 
}
 
}
table.collapsible th {  
+
table.hidecollapsible th {
 +
background-color: transparent;
 +
padding: 0px;
 +
font-weight: normal;
 +
font-family: monospace, "Courier New";
 +
vertical-align: bottom;
 +
}
 +
 
 +
table.showcollapsible th {  
 
background-color: transparent;  
 
background-color: transparent;  
 
padding: 0px;
 
padding: 0px;

Revision as of 08:23, 4 February 2011

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

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: left;
	width: right;
}

/*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 { 
	padding: 4px;
	border-top: 1px solid #000000;
	vertical-align:top;
}
table.abilitiestable th { 
	padding: 4px;
	background-color: #FFAA00;
	vertical-align:bottom; 
}
table.abilitiestable tr:hover { 
	background-color: #ffe5b2; 
}

/* Table for book locations */
table.collapsible { 
	background-color: transparent;
}
table.collapsible td, table.collapsible tr { 
	background-color: transparent; 
	padding: 0px;
	border-top: none;
	vertical-align: top;
 	text-align: left;
}
table.hidecollapsible th { 
	background-color: transparent; 
	padding: 0px;
	font-weight: normal;
	font-family: monospace, "Courier New";
	vertical-align: bottom;
}

table.showcollapsible th { 
	background-color: transparent; 
	padding: 0px;
	font-weight: normal;
	font-family: monospace, "Courier New";
	vertical-align: bottom;
}

/* 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{
	font-family: monospace, "Courier New"; 
}

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

.areainfo{
	float: left;
	width:150px; 
	background:#FFD47F;
	border: 1px solid #c0b8cc;
	margin: 10px 0 0 10px;
	padding: 8px 8px 8px 8px;
}

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