Difference between revisions of "MediaWiki:Common.css"
Line 107: | Line 107: | ||
div.note { | div.note { | ||
padding: 5px; | padding: 5px; | ||
− | background:# | + | background:#E3E3E3; |
width:100%; | width:100%; | ||
} | } |
Revision as of 12:04, 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;
background:#E3E3E3;
width:100%;
}