Difference between revisions of "MediaWiki:Common.css"
From FollowTheScore
Line 4: | Line 4: | ||
#n-Type { background-color: #dedede; } | #n-Type { background-color: #dedede; } | ||
− | /* wikitable, | + | /* wikitable, sortable, and prettytable class definitions |
** based on meta.wikimedia.org MediaWiki:Common.css | ** based on meta.wikimedia.org MediaWiki:Common.css | ||
*/ | */ | ||
− | table.wikitable, table. | + | table.wikitable, table.sortable, table.prettytable { |
− | table.prettytable { | ||
margin: 1em 1em 1em 0; | margin: 1em 1em 1em 0; | ||
background: #f9f9f9; | background: #f9f9f9; | ||
Line 16: | Line 15: | ||
} | } | ||
− | + | table.wikitable td, table.sortable td, table.prettytable td { | |
− | table. | ||
− | |||
border: 1px #aaaaaa solid; | border: 1px #aaaaaa solid; | ||
padding: 0.2em; | padding: 0.2em; | ||
} | } | ||
− | table.wikitable th, | + | table.wikitable th, table.sortable th, table.prettytable th { |
− | table. | ||
− | table.prettytable th { | ||
background: #E6E6FA; /* lavender; wikimedia: #f2f2f2 */ | background: #E6E6FA; /* lavender; wikimedia: #f2f2f2 */ | ||
+ | border: 1px #aaaaaa solid; | ||
text-align: center; | text-align: center; | ||
} | } | ||
− | table.wikitable caption, | + | table.wikitable caption, table.sortable caption, table.prettytable caption { |
− | table. | ||
− | table.prettytable caption { | ||
margin-left: inherit; | margin-left: inherit; | ||
margin-right: inherit; | margin-right: inherit; | ||
} | } | ||
− | |||
− |
Revision as of 07:51, 30 April 2007
#n-Manual { background-color: #ffddaa; }
#n-Source { background-color: #ccccff; }
#n-Test { background-color: #ccffcc; }
#n-Type { background-color: #dedede; }
/* 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;
}