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

From NetHackWiki
Jump to navigation Jump to search
(Experimental CSS: logo override, firstHeading test, pre overflow test.)
 
m (Disable this.)
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* LOGO OVERRIDES
+
/* <pre> */
* Namespaces: 2 is User, 4 is Project */
 
body #p-logo a {
 
  background-image: url(/images/a/a0/Wikihack_logo.png)
 
    ! important;
 
}
 
body[class="ns-2"] #p-logo a {
 
  background-image: url(/images/d/d2/Wikihack-cursed-logo.png)
 
    ! important;
 
}
 
body[class="ns-3"] #p-logo a {
 
  background-image: url(/images/d/d2/Wikihack-cursed-logo.png)
 
    ! important;
 
}
 
body[class="ns-4"] #p-logo a {
 
  background-image: url(/images/d/d2/Wikihack-cursed-logo.png)
 
    ! important;
 
}
 
body[class="ns-5"] #p-logo a {
 
  background-image: url(/images/d/d2/Wikihack-cursed-logo.png)
 
    ! important;
 
}
 
 
 
/* HEADING TEST
 
* Put square brackets around titles */
 
h1.firstHeading:before {
 
  content: "[[";
 
}
 
  
h1.firstHeading:after {
+
/*
   content: "]]";
+
* 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 OVERFLOW TEST
+
/* </pre> */
* Scroll wide "pre" boxes */
 
pre {
 
  overflow: auto;
 
}
 

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> */