MediaWiki:Monobook.css: Difference between revisions
Jump to navigation
Jump to search
(modified monobook to display featured article stars) |
(added wikitable class) |
||
Line 1: | Line 1: | ||
/* CSS placed here will affect users of the Monobook skin */ | /* CSS placed here will affect users of the Monobook skin */ | ||
/* | <nowiki>/* | ||
/* Featured star displayer */ | /* Featured star displayer */ | ||
div.topicon { | div.topicon { | ||
Line 17: | Line 9: | ||
display: block !important; | 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; | |||
} | |||
/*</nowiki> |
Revision as of 13:43, January 18, 2007
/* CSS placed here will affect users of the Monobook skin */
<nowiki>/*
/* 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;
}
/*</nowiki>