Difference between revisions of "User:Kernigh/monobook.css"
Jump to navigation
Jump to search
(End testing.) |
(Some test CSS for experiments in Wikihack:Sandbox... might not work yet!) |
||
Line 1: | Line 1: | ||
− | /* | + | /* PRETTY INFOBOXES |
+ | * The infobox class only works on tables! */ | ||
+ | table.infobox { | ||
+ | margin: 0 0 1em 1em; | ||
+ | background: #f9f9f9; | ||
+ | border: 1px #aaaaaa solid; | ||
+ | border-collapse: collapse; | ||
+ | } | ||
+ | |||
+ | /* below is exactly like prettytable */ | ||
+ | table.infobox th, table.infobox td { | ||
+ | border: 1px #aaaaaa solid; | ||
+ | padding: 0.2em; | ||
+ | } | ||
+ | |||
+ | table.infobox th { | ||
+ | background: #f2f2f2; | ||
+ | text-align: center; | ||
+ | } | ||
+ | |||
+ | table.infobox caption { | ||
+ | margin-left: inherit; | ||
+ | margin-right: inherit; | ||
+ | } |
Revision as of 03:16, 17 August 2006
/* PRETTY INFOBOXES
* The infobox class only works on tables! */
table.infobox {
margin: 0 0 1em 1em;
background: #f9f9f9;
border: 1px #aaaaaa solid;
border-collapse: collapse;
}
/* below is exactly like prettytable */
table.infobox th, table.infobox td {
border: 1px #aaaaaa solid;
padding: 0.2em;
}
table.infobox th {
background: #f2f2f2;
text-align: center;
}
table.infobox caption {
margin-left: inherit;
margin-right: inherit;
}