Difference between revisions of "MediaWiki:Common.css"
Spellcoder (talk | contribs) (CSS3 test with AMOS extension table) |
Spellcoder (talk | contribs) (general acBlocks, tableview class for tables which must look like a table/spreadsheet) |
||
Line 3: | Line 3: | ||
/*<pre><nowiki>*/ | /*<pre><nowiki>*/ | ||
− | table.sortable { | + | table.sortable, |
+ | table.tableview { | ||
border-collapse: collapse; | border-collapse: collapse; | ||
} | } | ||
− | table.sortable td, th { | + | table.sortable td, |
+ | table.sortable th, | ||
+ | table.tableview td, | ||
+ | table.tableview th { | ||
text-align: left; | text-align: left; | ||
padding: 2px 5px 2px 5px; | padding: 2px 5px 2px 5px; | ||
border-right: 1px solid #ccc; | border-right: 1px solid #ccc; | ||
} | } | ||
− | table.sortable tr.even { | + | table.sortable tr.even, |
+ | table.tableview tr.even { | ||
background-color: #f0f0f0; | background-color: #f0f0f0; | ||
} | } | ||
Line 24: | Line 29: | ||
} | } | ||
+ | .acOther h2 { | ||
+ | background-color: #ccc; | ||
+ | } | ||
#acAMOS h2 { | #acAMOS h2 { | ||
background-color: #bdb; | background-color: #bdb; | ||
Line 37: | Line 45: | ||
} | } | ||
− | .acBlock | + | .acBlock { |
+ | background-color: #f5f5f5; | ||
+ | border: 1px solid #ccc; | ||
+ | padding: 5px; | ||
+ | } | ||
+ | #acAMOS { | ||
background-color: #f5fff5; | background-color: #f5fff5; | ||
border: 1px solid #bdb; | border: 1px solid #bdb; | ||
padding: 5px; | padding: 5px; | ||
} | } | ||
− | + | #ac680x0 { | |
background-color: #f5f5ff; | background-color: #f5f5ff; | ||
border: 1px solid #bbd; | border: 1px solid #bbd; | ||
padding: 5px; | padding: 5px; | ||
} | } | ||
− | + | #acOtherLang { | |
background-color: #fffff5; | background-color: #fffff5; | ||
border: 1px solid #fd8; | border: 1px solid #fd8; | ||
padding: 5px; | padding: 5px; | ||
} | } | ||
− | + | #acOther { | |
background-color: #f5f5f5; | background-color: #f5f5f5; | ||
border: 1px solid #ccc; | border: 1px solid #ccc; |
Revision as of 02:49, 20 November 2007
/* CSS placed here will be applied to all skins */
/*<pre><nowiki>*/
table.sortable,
table.tableview {
border-collapse: collapse;
}
table.sortable td,
table.sortable th,
table.tableview td,
table.tableview th {
text-align: left;
padding: 2px 5px 2px 5px;
border-right: 1px solid #ccc;
}
table.sortable tr.even,
table.tableview tr.even {
background-color: #f0f0f0;
}
table {
background-color: transparent;
}
.acBlock h2 {
padding: 5px 10px 5px 10px;
margin: -5px;
}
.acOther h2 {
background-color: #ccc;
}
#acAMOS h2 {
background-color: #bdb;
}
#ac680x0 h2 {
background-color: #bbd;
}
#acOtherLang h2 {
background-color: #fd8;
}
#acOther h2 {
background-color: #ccc;
}
.acBlock {
background-color: #f5f5f5;
border: 1px solid #ccc;
padding: 5px;
}
#acAMOS {
background-color: #f5fff5;
border: 1px solid #bdb;
padding: 5px;
}
#ac680x0 {
background-color: #f5f5ff;
border: 1px solid #bbd;
padding: 5px;
}
#acOtherLang {
background-color: #fffff5;
border: 1px solid #fd8;
padding: 5px;
}
#acOther {
background-color: #f5f5f5;
border: 1px solid #ccc;
padding: 5px;
}
table.extensions > td:nth-of-type(1) { text-align: right; }
table.extensions > td:nth-of-type(3) { text-align: right; }
table.extensions > td:nth-of-type(4) { text-align: right; }
/*</nowiki></pre>*/