Difference between revisions of "MediaWiki:Common.css"
From FollowTheScore
Line 8: | Line 8: | ||
#n-Test { background-color: #ccffcc; } | #n-Test { background-color: #ccffcc; } | ||
#n-Type { background-color: #dedede; } | #n-Type { background-color: #dedede; } | ||
+ | |||
+ | /* Demo for a special DPL table which can be assigned via rowcolformat */ | ||
+ | |||
+ | table.dpl3columns td { | ||
+ | background: #f2f2f2; | ||
+ | padding: 0.5em; | ||
+ | border:3px; | ||
+ | width:33%; | ||
+ | } | ||
/* wikitable, sortable, and prettytable class definitions | /* wikitable, sortable, and prettytable class definitions |
Revision as of 12:58, 31 August 2007
/* disable navigation sidebar */
#p-navigation { display:none }
/* color settings for article types */
#n-Manual { background-color: #ffddaa; }
#n-Source { background-color: #ccccff; }
#n-Test { background-color: #ccffcc; }
#n-Type { background-color: #dedede; }
/* Demo for a special DPL table which can be assigned via rowcolformat */
table.dpl3columns td {
background: #f2f2f2;
padding: 0.5em;
border:3px;
width:33%;
}
/* wikitable, sortable, and prettytable class definitions
** based on meta.wikimedia.org MediaWiki:Common.css
*/
table.wikitable, table.sortable, table.prettytable {
margin: 1em 1em 1em 0;
background: #f9f9f9;
border: 1px #aaaaaa solid;
border-collapse: collapse;
}
table.wikitable td, table.sortable td, table.prettytable td {
border: 1px #aaaaaa solid;
padding: 0.2em;
}
table.wikitable th, table.sortable th, table.prettytable th {
background: #E6E6FA; /* lavender; wikimedia: #f2f2f2 */
border: 1px #aaaaaa solid;
text-align: center;
}
table.wikitable caption, table.sortable caption, table.prettytable caption {
margin-left: inherit;
margin-right: inherit;
}