Difference between revisions of "MediaWiki:Common.css"

Jump to navigation Jump to search
from wp -- 12:03, 7 April 2010 TheDJ
(from wp -- 23:55, 27 April 2010 TheDJ)
 
(from wp -- 12:03, 7 April 2010 TheDJ)
Line 61: Line 61:




/* deprecated prettytable class (should match wikitable class) */
/* wikitable/prettytable class for skinning normal tables */
table.wikitable,
table.prettytable {
table.prettytable {
     margin: 1em 1em 1em 0;
     margin: 1em 1em 1em 0;
Line 68: Line 69:
     border-collapse: collapse;
     border-collapse: collapse;
}
}
.wikitable th, .wikitable td,
.prettytable th, .prettytable td {
.prettytable th, .prettytable td {
     border: 1px #aaa solid;
     border: 1px #aaa solid;
     padding: 0.2em;
     padding: 0.2em;
}
}
.wikitable th,
.prettytable th {
.prettytable th {
     background: #f2f2f2;
     background: #f2f2f2;
     text-align: center;
     text-align: center;
}
}
.wikitable caption,
.prettytable caption {
.prettytable caption {
     font-weight: bold;
     font-weight: bold;

Navigation menu