Difference between revisions of "MediaWiki:Common.css"

From X-Cart 4 Classic
Jump to: navigation, search
m
Line 102: Line 102:
 
.infobox.bordered .borderless th {
 
.infobox.bordered .borderless th {
 
border:0;
 
border:0;
 +
}
 +
 +
/* highlighting notes */
 +
div.note {
 +
padding:5px;
 +
border:1px solid #ffcc00;
 +
text-align:center;
 +
background:#FFFDDF;
 +
width:100%;
 +
margin-bottom:.2em;
 
}
 
}

Revision as of 11:59, 18 December 2009

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

/* styles used on welcome page */
div.userspace {
	padding-left: 130px;
	background: url(images/4/42/Userportal.png) top left no-repeat;
	height: 140px;
}

div.devspace {
	padding-left: 130px;
	background: url(images/4/41/Developers.png) top left no-repeat;
	height: 140px;
}

/* hide unneeded content when printing */
@media print {
#privacy, #about, #disclaimer { display:none; }
}
 
/* hide arrows on selected external links */
.plainlinksneverexpand a {
	background:none !important;
	padding:0 !important;
}
 
/* highlight page protection */
.mw-textarea-protected {
	border:2px solid #F00;
	color:gray;
}
 
/*******************
** Hide selected content (should rarely be used, accessibility issues)
*******************/
.hiddenStructure { display:none; }
.if { display:none; }
 
/*******************
** Table formatting
*******************/
table.wikitable,
table.prettytable {
	margin:1em 1em 1em 0;
	border:1px solid #AAA;
	border-collapse:collapse;
	background:#F9F9F9;
}
 
table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
	padding:0.2em;
	border:1px solid #AAA;
}
 
table.wikitable th,
table.prettytable th {
	background:#F2F2F2;
	text-align:center;
}
 
table.wikitable caption,
table.prettytable caption {
	margin-left:inherit;
	margin-right:inherit;
}

/*******************
** Infoboxes
*******************/
.infobox {
	float:right;
	clear:right;
	margin-bottom:0.5em;
	margin-left:1em;
	padding:0.2em;
	border:1px solid #AAA;
	background:#F9F9F9;
	color:black;
}
 
.infobox td,
.infobox th {
	vertical-align:top;
}
 
.infobox caption {
	margin-left:inherit;
	font-size:larger;
}
 
.infobox.bordered {
	border-collapse:collapse;
}
 
.infobox.bordered td,
.infobox.bordered th {
	border:1px solid #AAA;
}
 
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
	border:0;
}

/* highlighting notes */
div.note {
	padding:5px;
	border:1px solid #ffcc00;
	text-align:center;
	background:#FFFDDF;
	width:100%;
	margin-bottom:.2em;
}