MediaWiki:Pivot.css: Difference between revisions

add remtable class
mNo edit summary
(add remtable class)
Line 497:
 
/******************************
* BasicBasictable of (plain white) table
for clean look general use
******************************/
table.basictable {
Line 528 ⟶ 529:
 
/******************************
* Infotable for infoboxes
* Pivot table
on soldier pages
******************************/
table.pivot-table {
background-color: #f2f2f2;
color: #444;
margin: 1em 0;
border: 1px solid #fff;
text-align: center;
}
 
table.pivot-table > tr > th,
table.pivot-table > tr > td,
table.pivot-table > * > tr > th,
table.pivot-table > * > tr > td {
border: 2px solid #fff;
padding: 0.4em;
text-align: center;
}
 
table.pivot-table > tr > th,
table.pivot-table > * > tr > th {
background-color: #517398;
text-align: center;
color: #fff;
padding: 10px 5px;
}
 
table.pivot-table > caption {
font-weight: bold;
}
 
/******************************
* Infotable (Infoboxes)
******************************/
table.infotable {
Line 589 ⟶ 559:
 
table.infotable > caption {
font-weight: bold;
}
 
/*********************************
* Remtable for full-width tables
on soldier remembrance pages
*********************************/
table.remtable {
background-color: #f7f7f7;
color: #444;
margin: 0;
border: 1px solid #fff;
text-align: left;
}
 
table.remtable > tr > th,
table.remtable > tr > td,
table.remtable > * > tr > th,
table.remtable > * > tr > td {
background-color: #f7f7f7;
border: 1px solid #fff;
padding: 0.2em 0.4em;
text-align: left;
}
 
table.remtable > tr > th,
table.remtable > * > tr > th {
background-color: #f7f7f7;
text-align: center;
}
 
table.remtable > caption {
font-weight: bold;
}
 
/******************************
* Pivot-table used on the
transcribing projects page
******************************/
table.pivot-table {
background-color: #f2f2f2;
color: #444;
margin: 1em 0;
border: 1px solid #fff;
text-align: center;
}
 
table.pivot-table > tr > th,
table.pivot-table > tr > td,
table.pivot-table > * > tr > th,
table.pivot-table > * > tr > td {
border: 2px solid #fff;
padding: 0.4em;
text-align: center;
}
 
table.pivot-table > tr > th,
table.pivot-table > * > tr > th {
background-color: #517398;
text-align: center;
color: #fff;
padding: 10px 5px;
}
 
table.pivot-table > caption {
font-weight: bold;
}