MediaWiki:Monobook.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(added main page stuff) |
||
Line 1: | Line 1: | ||
/* CSS placed here will affect users of the Monobook skin */ | /* 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; | |||
} | |||
/* Featured star displayer */ | /* Featured star displayer */ |
Revision as of 15:27, February 13, 2007
/* 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;
}
/* Featured star displayer */
div.topicon {
position:absolute;
z-index:100;
top:10px;
display: block !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;
}