Difference between revisions of "User:Kernigh/monobook.css"

From NetHackWiki
Jump to navigation Jump to search
m (Try something else...)
m (Test Jayt's code.)
Line 1: Line 1:
/* PRETTY INFOBOXES
+
h2, h3, h4, h5, h6 {
  * The infobox class only works on tables! */
+
  clear: both;
table.infobox {
 
  margin: 0;
 
  background: #f9f9f9;
 
  border: 1px #aaaaaa solid;
 
  border-collapse: collapse;
 
 
}
 
}
  
/* below is exactly like prettytable */
+
div.editsection {
table.infobox th, table.infobox td {
+
clear:right;
  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:26, 17 August 2006

h2, h3, h4, h5, h6 {
 clear: both;
}

div.editsection {
 clear:right;
}