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 (End logo-override test.)
Line 1: Line 1:
/* LOGO OVERRIDES
 
* 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
 
/* HEADING TEST
 
  * Put square brackets around titles */
 
  * Put square brackets around titles */

Revision as of 02:35, 14 April 2006

/* HEADING TEST
 * Put square brackets around titles */
h1.firstHeading:before {
  content: "[[";
}

h1.firstHeading:after {
  content: "]]";
}

/* PRE OVERFLOW TEST
 * Scroll wide "pre" boxes */
pre {
  overflow: auto;
}