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

From NetHackWiki
Jump to navigation Jump to search
m (Forgot to float!)
m (Disable this.)
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* PRETTY INFOBOXES
+
/* <pre> */
* The infobox class only works on tables! */
 
table.infobox {
 
  margin: 0 0 1em 1em;
 
  float: right;
 
  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;
+
* Lines with <ref> ... </ref> had been taller (at least in
   text-align: center;
+
* Firefox and Konqueror). Make them look nicer. FIXME does not work.
 +
sup.reference {
 +
   vertical-align: baseline;
 +
  position: relative;
 +
   bottom: 0.5em;
 +
  font-size: 0.5em;
 
}
 
}
 +
*/
  
table.infobox caption {
+
/* </pre> */
  margin-left: inherit;
 
  margin-right: inherit;
 
}
 

Latest revision as of 17:20, 19 September 2006

/* <pre> */

/*
 * Lines with <ref> ... </ref> had been taller (at least in
 * Firefox and Konqueror). Make them look nicer. FIXME does not work.
sup.reference {
  vertical-align: baseline;
  position: relative;
  bottom: 0.5em;
  font-size: 0.5em;
}
 */

/* </pre> */