User:Anttil/monobook.css

From NetHackWiki
Jump to navigation Jump to search

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
body {
 background-color:#f0f0f0;
}


.page-Main_Page .firstHeading,
#siteSub { display:none; }



/* Hide the footer and Google ads */
#footer, #column-google-topright, #column-google-right, #column-google-botright {
 display:none;
}


li#pt-userpage { background: none }
#p-personal li {
 display:inline;
 line-height:1.1em;
 padding:.25em 1em .2em 1em;
 background-color:#ffffff;
 border:1px solid #a0a0a0;
 border-top:none;
 color:#002BB8;
 text-decoration:none;
}
#p-personal li.active,
#p-personal li:hover,
#p-personal a:link,
#p-personal a:hover {
 border-color:#FABD23;
 text-decoration: none;
}

#p-cactions li:hover,
#p-cactions a:link {
 border-color:#FABD23;
}

/* Hide the navigation blocks until we hover over them */
#p-navigation > h5:first-letter,
#p-contributing > h5:first-letter,
#p-search > h5:first-letter,
#p-tb > h5:first-letter,
#p-wikicities-nav > h5:first-letter { text-transform:uppercase; }

#p-navigation > h5,
#p-contributing > h5,
#p-search > h5,
#p-tb > h5,
#p-wikicities-nav > h5 {
 display:block;
 padding:.25em;
 background-color:#ffffff;
 border:1px solid #a0a0a0;
 border-left:none;
 color:#002BB8;
 text-decoration:none;
}

#p-navigation:hover > h5,
#p-contributing:hover > h5,
#p-search:hover > h5,
#p-tb:hover > h5,
#p-wikicities-nav:hover > h5 { display:none; }

#p-navigation > .pBody,
#p-contributing > .pBody,
#p-search > .pBody,
#p-tb > .pBody,
#p-wikicities-nav > .pBody { display:none; }

#p-navigation:hover > .pBody,
#p-contributing:hover > .pBody,
#p-search:hover > .pBody,
#p-tb:hover > .pBody,
#p-wikicities-nav:hover > .pBody {
 display:block;
 border-left:none;
 border-color:#FABD23;
}



/* Recent changes */
.mw-plusminus-pos { color: #007000; }
.mw-plusminus-neg { color: #700000; }
.mw-plusminus-null { color: #707000; }



/* Images */
#catlinks {
 background-image: url(http://images.wikia.com/nethack/images/9/9c/NetHackWiki_bar.png);
 background-repeat: no-repeat;
 background-position: center right;
}

.portlet ul {
 list-style-image:url(http://images.wikia.com/nethack/images/c/c5/NetHackWiki_goldring_bullet.png);
}

#bodyContent ul {
 list-style-image:url(http://images.wikia.com/nethack/images/9/95/NetHackWiki_silverring_bullet.png);
}
#toc ul {
 list-style-image:none;
}

/* Unfortunately this doesn't work
.editsection {
 height:0;
 overflow:hidden;
 background-image:url(http://images.wikia.com/nethack/images/9/9b/Magic_marker.png);
 padding-top:16px;
 width: 16px;
}
*/
.editsection {
 display:none;
 float:right;
 text-align:left;
}
h1:hover .editsection,
h2:hover .editsection,
h3:hover .editsection,
h4:hover .editsection,
h5:hover .editsection,
h6:hover .editsection {
 display:inline;
}
h3, h4, h5, h6 { border-bottom: 1px solid transparent; }
h1:hover, h2:hover { border-bottom: 1px solid #202020; }
h3:hover, h4:hover, h5:hover, h6:hover { border-bottom: 1px solid #e0e0e0; }


/* Code and other fixed-width text */
tt {
 background-color:#e8e8e8;
 padding:.25em;
}

pre {
 background-color:#e0e0e0;
 margin-right: 1em;
}




/* Table of Contents */
#toc {
 float: right;
 background-color:#f0f0ff;
 background-image: url(http://images.wikia.com/nethack/images/b/bd/Web_corner.png);
 background-repeat: no-repeat;
 background-position: top right;
}


/* Keyboard key symbol, see User:Paxed/Template:kbdsym */
.kbdsym {
 white-space:nowrap;
 color:#000;
 background:#eee;
 border:2px outset #aaa;
 text-align:center;
 vertical-align:middle;
 line-height:1.6em;
 padding:.1em .2em .1em .2em;
}