MediaWiki:Monobook.css: Difference between revisions
Jump to navigation
Jump to search
(added main page stuff) |
Greenpickle (talk | contribs) (A wikipedia thing...) |
||
Line 9: | Line 9: | ||
} | } | ||
/* wikitable/prettytable class for skinning normal tables */ | /* wikitable/prettytable class for skinning normal tables */ | ||
Revision as of 15:59, March 22, 2008
/* CSS placed here will affect users of the Monobook skin */
/* Don't display some stuff on the main page */
body.page-Main_Page #lastmod,
body.page-Main_Page #siteSub,
body.page-Main_Page #contentSub,
body.page-Main_Page h1.firstHeading {
display: none !important;
}
/* wikitable/prettytable class for skinning normal tables */
table.wikitable,
table.prettytable {
background: #f9f9f9;
border: 1px #aaa solid;
}
table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
border: 1px #aaa solid;
padding: 0.2em;
}
table.wikitable th,
table.prettytable th {
background: #f2f2f2;
}
/* Infobox template style */
.infobox {
border: 1px solid #aaa;
background-color: #f9f9f9;
color: black;
}
.infobox.bordered td,
.infobox.bordered th {
border: 1px solid #aaa;
}
/* styles for bordered infobox with merged rows */
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
border-top: 1px solid #aaa;
border-right: 1px solid #aaa;
}
.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
border-right: 1px solid #aaa;
}