Difference between revisions of "User:FIQ/vector.css"

From NetHackWiki
Jump to navigation Jump to search
(maybe now?)
(Maybe starting from scratch using NetHackWiki's common+vector works better?)
Line 1: Line 1:
 +
/*<pre>*/
 +
/* edit this file to customise CSS for all skins */
 +
 +
/* prevent blurry images, such as 16x16 tiles being scaled up */
 +
img {
 +
  image-rendering:optimizeSpeed;            /* Legal fallback */
 +
  image-rendering:-moz-crisp-edges;          /* Firefox        */
 +
  image-rendering:-o-crisp-edges;            /* Opera          */
 +
  image-rendering:-webkit-optimize-contrast; /* Safari        */
 +
  image-rendering:optimize-contrast;        /* CSS3 Proposed  */
 +
  -ms-interpolation-mode:nearest-neighbor;  /* IE8+          */
 +
  image-rendering:pixelated;                /* Chrome        */
 +
}
 +
 +
.ui-draggable-handle { cursor:move; }
 +
 +
 +
div.thumb { border-color:transparent; }
 +
 +
#mw-anon-edit-warning,
 +
#mw-read-only-warning {
 +
  color: black;
 +
  background-color: #770;
 +
  border: 0.5em solid red;
 +
  padding: 0.5em;
 +
  margin: 0.5em;
 +
}
 +
 +
.previewnote-inner-msg {
 +
  background-color:#022;
 +
  border: 0.2em solid red;
 +
  padding: 0.5em;
 +
}
 +
 +
/* PRE OVERFLOW
 +
* If "pre" text overflows, provide a scrollbar. */
 +
pre {
 +
  overflow: auto;
 +
}
 +
 +
 +
 +
/* PRETTY TABLES
 +
* The wikitable or prettytable class skins normal tables. */
 +
table.wikitable,
 +
table.prettytable {
 +
  margin: 1em 1em 1em 0;
 +
  background: #111;
 +
  border: 1px #555 solid;
 +
  border-collapse: collapse;
 +
}
 +
 +
table.wikitable th, table.wikitable td,
 +
table.prettytable th, table.prettytable td {
 +
  border: 1px #555 solid;
 +
  padding: 0.2em;
 +
}
 +
 +
table.wikitable th,
 +
table.prettytable th {
 +
  background: #111;
 +
  text-align: center;
 +
}
 +
 +
table.wikitable caption,
 +
table.prettytable caption {
 +
  margin-left: inherit;
 +
  margin-right: inherit;
 +
}
 +
 +
.mw-interwikitable-row:hover {
 +
  background-color:#222;
 +
}
 +
 +
 +
/* [[Template:Encyclopedia]] */
 +
.nhencyclopedia {
 +
  font-family: Palatino Linotype;
 +
  font-style: italic;
 +
  background-color: rgb(63, 63, 31);
 +
  border: 2px dashed rgb(74, 74, 42);
 +
  margin: 0.5em;
 +
  padding: 1em;
 +
  width: 60%;
 +
}
 +
/* [[Template:Guidebook]] */
 +
.nhguidebook {
 +
  font-family: monospace, serif;
 +
  background-color: #100808;
 +
  border: 2px dashed #322;
 +
  margin: 0.25em;
 +
  padding: 0.5em;
 +
  width: 60%;
 +
}
 +
 +
 +
/* Basic style for NetHack screen symbol templates
 +
* http://nethackwiki.com/wiki/Category:Function_templates
 +
*/
 +
 +
span.nhsym {
 +
  font-family: "Courier New","Menlo","DejaVu Sans Mono","Courier",monospace;
 +
  font-weight: bold;
 +
  font-size: large;
 +
  background-color: black;
 +
  padding: 1px;
 +
}
 +
 +
.ttyscreen, .ttymap {
 +
  padding: 2px;
 +
  line-height: 100%;
 +
  margin-bottom: 0.25em;
 +
  white-space: nowrap;
 +
  background: black;
 +
  display: inline-block;
 +
  font-size: 110%;
 +
}
 +
 +
.ttyscreen p, .ttymap p { line-height: 100%; }
 +
 +
.ttyscreen .nhsym,
 +
.ttymap .nhsym {
 +
  font-size: 100%;
 +
  background: inherit;
 +
  padding: 0;
 +
}
 +
 +
.ttymap a:hover .nhsym,
 +
.monsters a:hover .nhsym,
 +
.ttyscreen a:hover .nhsym {
 +
  background-color:#aaaaaa;
 +
  color:#000000;
 +
}
 +
 +
/* combine ttyscreen with preformatted text (a space at the beginning of line) */
 +
.ttyscreen > pre {
 +
  background-color:black;
 +
  border: none;  /* pre have dashed border */
 +
  color:#AAAAAA;  /* same as clr-lightgray */
 +
}
 +
.ttyscreen a {
 +
  color:#AAAAAA;  /* same as clr-lightgray */
 +
  text-decoration: none;
 +
}
 +
.ttyscreen a:hover {
 +
  background-color:#AAAAAA;
 +
  color:black;
 +
  text-decoration: none;
 +
}
 +
 +
 +
/* Colors for NetHack screen symbol templates
 +
* Users with personal stylesheets may override these colors.
 +
*  For example      span class="nhsym clr-blue"
 +
*  Alternatively    span class="nhsym" style="color:#0000AA;"
 +
*/
 +
.clr-blue          { color:#0000AA; }
 +
.clr-green        { color:#00AA00; }
 +
.clr-cyan          { color:#00AAAA; }
 +
.clr-red          { color:#AA0000; }
 +
.clr-magenta      { color:#AA00AA; }
 +
.clr-brown        { color:#AA5500; }
 +
.clr-lightgray    { color:#AAAAAA; }
 +
.clr-darkgray      { color:#555555; }
 +
.clr-brightblue    { color:#5555FF; }
 +
.clr-brightgreen  { color:#55FF55; }
 +
.clr-brightcyan    { color:#55FFFF; }
 +
.clr-orange        { color:#FF5555; }
 +
.clr-brightmagenta { color:#FF55FF; }
 +
.clr-yellow        { color:#FFFF55; }
 +
.clr-white        { color:#FFFFFF; }
 +
 +
/* invert colors in symbol picker on hover (see MediaWiki:Common.js/nhsympopup.js) */
 +
.nhw-color-symbol-picker .nhsym:not(.sampleDisplay):hover { color: black }
 +
.nhw-color-symbol-picker .nhsym:not(.sampleDisplay).clr-blue:hover          { background-color:#0000AA; }
 +
.nhw-color-symbol-picker .nhsym:not(.sampleDisplay).clr-green:hover        { background-color:#00AA00; }
 +
.nhw-color-symbol-picker .nhsym:not(.sampleDisplay).clr-cyan:hover          { background-color:#00AAAA; }
 +
.nhw-color-symbol-picker .nhsym:not(.sampleDisplay).clr-red:hover          { background-color:#AA0000; }
 +
.nhw-color-symbol-picker .nhsym:not(.sampleDisplay).clr-magenta:hover      { background-color:#AA00AA; }
 +
.nhw-color-symbol-picker .nhsym:not(.sampleDisplay).clr-brown:hover        { background-color:#AA5500; }
 +
.nhw-color-symbol-picker .nhsym:not(.sampleDisplay).clr-lightgray:hover    { background-color:#AAAAAA; }
 +
.nhw-color-symbol-picker .nhsym:not(.sampleDisplay).clr-darkgray:hover      { background-color:#555555; }
 +
.nhw-color-symbol-picker .nhsym:not(.sampleDisplay).clr-brightblue:hover    { background-color:#5555FF; }
 +
.nhw-color-symbol-picker .nhsym:not(.sampleDisplay).clr-brightgreen:hover  { background-color:#55FF55; }
 +
.nhw-color-symbol-picker .nhsym:not(.sampleDisplay).clr-brightcyan:hover    { background-color:#55FFFF; }
 +
.nhw-color-symbol-picker .nhsym:not(.sampleDisplay).clr-orange:hover        { background-color:#FF5555; }
 +
.nhw-color-symbol-picker .nhsym:not(.sampleDisplay).clr-brightmagenta:hover { background-color:#FF55FF; }
 +
.nhw-color-symbol-picker .nhsym:not(.sampleDisplay).clr-yellow:hover        { background-color:#FFFF55; }
 +
.nhw-color-symbol-picker .nhsym:not(.sampleDisplay).clr-white:hover        { background-color:#FFFFFF; }
 +
 +
/*
 +
* Keyboard key symbol.
 +
* See http://nethackwiki.com/wiki/Template:Kbd
 +
*/
 +
.kbdsym {
 +
font-family:monospace;
 +
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;
 +
}
 +
 +
/* Hide forum_talk link for forum pages */
 +
body.ns-110 li#ca-talk { display:none; }
 +
 +
/* Forum formatting -Algorithm & -Splaka */
 +
/*.forumheader { border: 1px solid #aaa; background-color: #f9f9f9; margin-top: 1em; padding: 12px; }*/
 +
.forumlist td span { display: block; padding-left: 10px; font-size: smaller }
 +
.forumlist td span a { text-decoration: none; }
 +
.forumlist td span.forum_author { padding-left: 30px; }
 +
.forumlist td.forum_edited a { text-decoration: none }
 +
.forumlist td.forum_title a { padding-left: 20px; }
 +
.forumlist td.forum_title span a { padding-left: 0px }
 +
.forumlist td.forum_title a.forum_new { font-weight: bold; background: url(/images/4/4e/Forum_new.gif)
 +
center left no-repeat; padding-left: 20px; }
 +
.forumlist td.forum_title a.forum_new:visited { font-weight: normal; background: none; padding-left: 20px; }
 +
.forumlist th.forum_title { padding-left: 20px; }
 +
/* More forum formatting -paxed */
 +
.forumlist tr:hover th { }
 +
.forumlist tr:nth-child(even) td { background-color: #f0f0f0; }
 +
.forumlist tr:nth-child(even):hover td,
 +
.forumlist tr:hover td { background-color: #e0e0e0; }
 +
.forumlist td.forum_title a { display:block; width:100%; }
 +
.forumlist td.forum_edited a { color:black; text-decoration: none; }
 +
.forumheader { display:none; }
 +
 +
 +
/* Skill tables, [[NetHackWiki:Skill_table_generator]] */
 +
.Spell-skilltable .restricted,
 +
.Combat-skilltable .restricted,
 +
.Weapon-skilltable .restricted    { background-color: #f76; }
 +
.Spell-skilltable .basic,
 +
.Combat-skilltable .basic,
 +
.Weapon-skilltable .basic        { background-color: #e96; }
 +
.Spell-skilltable .skilled,
 +
.Combat-skilltable .skilled,
 +
.Weapon-skilltable .skilled      { background-color: #db6; }
 +
.Spell-skilltable .expert,
 +
.Combat-skilltable .expert,
 +
.Weapon-skilltable .expert        { background-color: #cd6; }
 +
.Spell-skilltable .master,
 +
.Combat-skilltable .master,
 +
.Weapon-skilltable .master        { background-color: #bf6; }
 +
.Spell-skilltable .grandmaster,
 +
.Combat-skilltable .grandmaster,
 +
.Weapon-skilltable .grandmaster  { background-color: #af6; }
 +
.Spell-skilltable .unknown_skill,
 +
.Combat-skilltable .unknown_skill,
 +
.Weapon-skilltable .unknown_skill { background-color: #8ff; }
 +
 +
 +
/* [[Template:Features]] [[Template:ASCII]] [[Template:items]] */
 +
.itemclasses td a:hover,
 +
.dungeonfeatures td a:hover,
 +
.ASCIItable td a:hover { background-color:#e0e0e0; }
 +
.itemclasses td a,
 +
.dungeonfeatures td a,
 +
.ASCIItable td a { display: block; padding:0.2em; }
 +
.itemclasses td .selflink,
 +
.dungeonfeatures td .selflink,
 +
.ASCIItable td .selflink {
 +
      display: block;
 +
      background-color:#e0ffd0;
 +
      padding:0.2em;
 +
}
 +
.ASCIItable td a,
 +
.ASCIItable td .selflink { text-align:center; }
 +
.dungeonfeatures td,
 +
.itemclasses td,
 +
.ASCIItable td { padding:0 !important; }
 +
 +
 +
/* [[Template:Todo]] */
 +
.todo {
 +
  width: 90%;
 +
  border: solid 3px #FFCCFF;
 +
  background-color: #FFEEFF;
 +
  text-align: left;
 +
  padding: 1em;
 +
  margin-left:auto;
 +
  margin-right:auto;
 +
}
 +
 +
/* [[Template:Delete]] */
 +
.delete {
 +
  width: 90%;
 +
  margin-left: auto;
 +
  margin-right: auto;
 +
  border: solid 3px black;
 +
  background-color: yellow;
 +
  text-align: left;
 +
  padding: 1em;
 +
}
 +
 +
/* [[Template:Merge]] */
 +
.merge {
 +
  width: 90%;
 +
  margin-left: auto;
 +
  margin-right: auto;
 +
  border: solid 3px black;
 +
  background-color: lightgreen;
 +
  text-align: left;
 +
  padding: 1em;
 +
}
 +
 +
/* [[Template:Fairuse]], [[Template:NGPL]], [[Template:CWI]], [[Template:Rodney]], [[Template:Basedon]], [[Template:JAH]], [[Template:DOD]] */
 +
.license_fairuse,
 +
.license_ngpl,
 +
.license_cwi,
 +
.license_rodney,
 +
.license_basedon,
 +
.license_jah,
 +
.license_dod {
 +
  width: 80%;
 +
  margin-left:auto;
 +
  margin-right:auto;
 +
  background-color: #F1F1DE;
 +
  border:2px solid #999966;
 +
  padding: 1em;
 +
}
 +
 +
 +
.centered {
 +
  display:table;
 +
  margin-right:auto;
 +
  margin-left:auto;
 +
}
 +
 +
 +
/* Syntax coloring via GeSHi */
 +
.mw-geshi {
 +
  background-color:#f9f9f9;
 +
  border: 1px dashed #2F6FAB;
 +
  padding: 1em;
 +
}
 +
.mw-geshi li:nth-child(odd) { background-color:#f9f9f9; }
 +
.mw-geshi li:nth-child(even) { background-color:#f4f4f4; }
 +
.mw-geshi li:hover {
 +
  background-color: #ffffdd;
 +
}
 +
.mw-geshi pre {
 +
  overflow:visible;
 +
}
 +
.mw-geshi .geshiline {
 +
  overflow:auto;
 +
  padding-bottom:0.5em;
 +
}
 +
/* Hilight a line of source code. This relies on javascript, in [[MediaWiki:Common.js]] */
 +
.mw-geshi ol li:target,
 +
.source-line-hilite { background-color:yellow !important; }
 +
 +
/* fix rendering bug where insufficient line height causes characters to be clipped, */
 +
/* making e.g. underscores look like spaces */
 +
.mw-geshi #line .de1, .mw-geshi #line .de2,
 +
.mw-geshi .geshiline .de1, .mw-geshi .geshiline .de2 {
 +
  font: 1em/1.6em monospace; margin: -0.4em 0;
 +
}
 +
 +
/* normal ol margin (3.2em) may not be enough when the line count hits the thousands */
 +
.mw-geshi ol { margin-left: 4.2em; }
 +
 +
/* [[Template:Caption]], like thumbnail images */
 +
.caption {
 +
margin-bottom: .5em;
 +
border-style: solid;
 +
border-color: transparent;
 +
width: auto;
 +
background-color: transparent;
 +
}
 +
.captioninner {
 +
        display:inline-block;
 +
border: 1px solid #ccc;
 +
padding: 3px !important;
 +
background-color: #f9f9f9;
 +
font-size: 94%;
 +
text-align: center;
 +
overflow: hidden;
 +
}
 +
.captiontext {
 +
border: none;
 +
text-align: left;
 +
line-height: 1.4em;
 +
padding: 3px !important;
 +
font-size: 94%;
 +
}
 +
 +
 +
/* [[Template:Bugstatus]] */
 +
.bugstatus.open { background:red; }
 +
.bugstatus.fixed { background:lightgreen; }
 +
.bugstatus.nextversion { background:darkcyan; }
 +
.bugstatus.help { background:yellow; }
 +
.bugstatus.not_a_bug { background:lightblue; }
 +
.bugstatus.superseded {}
 +
 +
.table-yes { background: lightgreen; }
 +
.table-no { background: pink; }
 +
.table-partial { background: #FFF68F; } /* yellowish */
 +
 +
/* [[Template:Resolved top]] */
 +
.resolved_issue {
 +
  border:1px solid #aaa;
 +
  padding:0.5em 0.25em 0 0.25em;
 +
  margin:1em 0;
 +
  background:#eef;
 +
}
 +
 +
/* Main page boxes */
 +
#mainpage-news {
 +
  width:100%;
 +
  margin-top:0px;
 +
  background:#E7FFDF;
 +
  border:1px solid #8FFF6F;
 +
  vertical-align: top;
 +
  padding:0.2em;
 +
}
 +
#mainpage-forum {
 +
  width:100%;
 +
  margin-top:5px;
 +
  background:#F5EEFD;
 +
  border:1px solid #CEA8F4;
 +
  vertical-align: top;
 +
  padding:0.2em;
 +
}
 +
#mainpage-greeting {
 +
  width:100%;
 +
  text-align: center;
 +
  font-family: monospace;
 +
  font-size: 150%;
 +
  color: white;
 +
  background-color: black;
 +
  padding:0.5em 0;
 +
}
 +
#mainpage-greeting a {
 +
  color: white;
 +
}
 +
#mainpage-greeting-rumor {
 +
  font-size: 75%;
 +
}
 +
#mainpage-featured {
 +
  width:100%;
 +
  margin-top:5px;
 +
  background:#FFECEC;
 +
  border:1px solid #FFBBBB;
 +
  vertical-align: top;
 +
  padding:0.2em;
 +
  box-sizing:border-box;
 +
}
 +
#mainpage-featured img {
 +
  max-width: 100%;
 +
  height: auto;
 +
}
 +
#mainpage-featured h3, #mainpage-news h3, #mainpage-forum h3 {
 +
  padding-top: 0;
 +
  margin-top: 0;
 +
}
 +
#mainpage-role-list {
 +
  background: #EEEEFF;
 +
  border: 2px solid #BBBBFF;
 +
}
 +
#mainpage-objclass-list {
 +
  background: #ECF4FF;
 +
  border: 2px solid #ABCFFF;
 +
}
 +
#mainpage-indepth-list {
 +
  background: #F5EEFD;
 +
  border: 2px solid #CEA8F4;
 +
}
 +
#mainpage-monster-list {
 +
  background: #E7FFDF;
 +
  border: 2px solid #8FFF6F;
 +
}
 +
/* Hide main page category box */
 +
.page-Main_Page #catlinks {
 +
  display:none;
 +
}
 +
 +
/* [[Special:Search]] has some javascript, see [[Mediawiki:common.js]] */
 +
.mw-search-results li:hover {
 +
  background-color:#f0f0f0;
 +
  cursor:pointer;
 +
}
 +
 +
/* [[mw:Extension:Cite]]: Hilight the reference user is looking at */
 +
.reference:target,
 +
ol.references li:target {
 +
  background-color: #f0f0f0;
 +
}
 +
 +
/*</pre>*/
 
/* CSS placed here will affect users of the Vector skin */
 
/* CSS placed here will affect users of the Vector skin */
  
/* Override Vector colour scheme to make it dark (compiled from modified LESS code) */
+
body {
.mw-headline:target{background-color:#440}
+
  color: black;
ul:hover{background-color:inherit}
+
}
li:hover{background-color:inherit}
+
 
input:focus{background-color:inherit}
+
/* keep superscript and subscript text from breaking the line-spacing */
.todo{background-color:#313;border:3px solid #626}
+
#bodyContent sup {
table.prettytable,table.wikitable th,table.wikitable td,table.prettytable th,table.prettytable td,table.prettytable:hover,table.wikitable th:hover,table.wikitable td:hover,table.prettytable th:hover,table.prettytable td:hover{background:#111 !important}
+
    font-size: smaller;
table.wikitable th,table.prettytable th{background:#161616}
+
    vertical-align: baseline;
table.wikitable:hover,table.prettytable:hover{background:#111}
+
    position: relative;
.nhencyclopedia{background-color:#4f4944;font-style:normal}
+
    bottom: 0.33em;
fieldset{background-color:#222}
+
}
h1,h2,h3,h4,h5,h6{color:#c1c1c1}
+
#bodyContent sub {
hr{color:#222}
+
    font-size: smaller;
.editOptions{background-color:#333;border-color:#4c4c4c}
+
    vertical-align: baseline;
input,textarea{background-color:#4c4c4c;border-color:#4c4c4c;color:#c1c1c1}
+
    position: relative;
textarea:focus{background-color:#4c4c4c;border-color:#4c4c4c;color:#c1c1c1}
+
    bottom: -0.25em;
a,.mw-body a.external,.mw-body a.extiw{color:#e69710}
+
}
a:visited,.mw-body a.external:visited,.mw-body a.extiw:visited{color:#8a7f6c}
+
 
a.new,#p-personal a.new{color:#d44}
+
fieldset {
ul{list-style-image:none}
+
    border:1px solid #2F6FAB;
div.thumbinner,.catlinks{background-color:#4c4c4c;border-color:#666}
+
    background-color: #f0f0f0;
#toc,div.toc,ul#filetoc,li.gallerybox div.thumb{background-color:#4c4c4c;border-color:#666}
+
}
code{border:none;background-color:inherit;color:inherit}
+
#preferences fieldset { background-color:inherit; }
table.mw_metadata td,table.mw_metadata th,table.wikitable,table.wikitable>*>tr>th,table.wikitable>*>tr>td,pre{color:#c1c1c1;background-color:#4c4c4c;border-color:#666}
+
 
table.mw_metadata th,table.wikitable>*>tr>th{background-color:#595959}
+
/* https://bugzilla.wikimedia.org/show_bug.cgi?id=23708 */
table.diff{background-color:#4c4c4c}
+
pre.css.source-css,               /* MediaWiki:*.css, User:*.css */
td .diffchange{color:#4c4c4c}
+
pre.javascript.source-javascript, /* MediaWiki:*.js, User:*.js */
#pagehistory li.selected,td.diff-context{background-color:inherit;color:inherit}
+
div.mw-geshi pre,                /* source enclose="pre" */
#pagehistory li{border:0}
+
div.mw-geshi div,                /* source enclose="div" */
ul.mw-gallery-packed-hover li.gallerybox:hover div.gallerytextwrapper,ul.mw-gallery-packed-overlay li.gallerybox div.gallerytextwrapper,ul.mw-gallery-packed-hover li.gallerybox.mw-gallery-focused div.gallerytextwrapper{background-color:rgba(0,0,0,0.8)}
+
span.mw-geshi                    /* source enclose="none" */ {
#left-navigation div.vectorTabs,#right-navigation div.vectorTabs{background-image:inherit;background-color:#250b2d}
+
    font-family: monospace, sans-serif !important;
#left-navigation div.vectorTabs ul,#right-navigation div.vectorTabs ul{background-color:#250b2d}
+
}
#left-navigation div.vectorTabs ul li,#right-navigation div.vectorTabs ul li{background-color:#222;background-image:-moz-linear-gradient(top, #2e2e2e 20%, #222 100%);background-image:-webkit-gradient(linear, left top, left bottom, color-stop(20%, #2e2e2e), color-stop(100%, #222));background-image:-webkit-linear-gradient(top, #2e2e2e 20%, #222 100%);background-image:linear-gradient(#2e2e2e 20%, #222 100%)}
+
tt, code, pre, textarea {
#left-navigation div.vectorTabs li.new a,#right-navigation div.vectorTabs li.new a,#left-navigation div.vectorTabs li.new a:visited,#right-navigation div.vectorTabs li.new a:visited{color:#d44}
+
  font-family: monospace, sans-serif;
#left-navigation div.vectorTabs li.selected,#right-navigation div.vectorTabs li.selected{background-color:#333;background-image:-moz-linear-gradient(top, #e69710 0, #333 10%);background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0, #e69710), color-stop(10%, #333));background-image:-webkit-linear-gradient(top, #e69710 0, #333 10%);background-image:linear-gradient(#e69710 0, #333 10%)}
+
}
#left-navigation div.vectorTabs li.selected a,#right-navigation div.vectorTabs li.selected a,#left-navigation div.vectorTabs li.selected a:visited,#right-navigation div.vectorTabs li.selected a:visited{color:#8a7f6c}
+
 
#left-navigation div.vectorTabs li a,#right-navigation div.vectorTabs li a{color:#e69710}
+
tt {
#left-navigation div.vectorTabs span,#right-navigation div.vectorTabs span{background:transparent}
+
  background: #f8f8f8;
div#mw-head #right-navigation div.vectorMenu h3{background:inherit}
+
  border: 1px dashed #ddd;
div#mw-head div.vectorMenu h3 span{color:#e69710}
+
}
div.vectorMenu h3 a{background:inherit}
+
 
div.vectorMenu ul{background-color:black;border:solid 1px #0c0c0c}
+
/* For positioning icons at top-right, taken from http://en.wikipedia.org/w/index.php?title=MediaWiki:Vector.css&oldid=395960704 */
div.vectorMenu li a{color:#e69710}
+
div.topicon {
div.vectorMenu li.selected a,div.vectorMenu li.selected a:visited{color:#8a7f6c;text-decoration:none}
+
  position: absolute;
div.vectorMenu#p-cactions div.menu{border-color:#666}
+
  top: -2em;
div.vectorMenu#p-cactions ul{border:0;background-color:#4c4c4c}
+
  margin-right: -10px;
#mw-navigation div#mw-panel div.portal{background-image:none;border-top:1px solid #4c4c4c}
+
  display: block !important;
#mw-navigation div#mw-panel div.portal#p-logo,#mw-navigation div#mw-panel div.portal#p-navigation{border-top:none}
+
}
html{font-size:100%}
+
 
html,body{height:100%;margin:0;padding:0;font-family:sans-serif}
+
#mw-panel {
body{background-color:#2a2a2a}
+
  padding-top: 0 !important;
.mw-body{margin-left:10em;padding:1em;border:1px solid #250b2d;border-right-width:0;margin-top:-1px;background-color:#333;color:#c1c1c1;direction:ltr}
+
}
.mw-body .mw-editsection,.mw-body .mw-editsection-like{font-family:sans-serif}
+
#mw-panel #p-navigation h3 {
.mw-body p{line-height:inherit;margin:.5em 0}
+
  display: none;
.mw-body h1,.mw-body h2,.mw-body #firstHeading{font-family:"Linux Libertine",Georgia,Times,serif;line-height:1.3;margin-bottom:.25em;padding:0}
+
}
.mw-body h1,.mw-body #firstHeading{font-size:1.8em}
+
#mw-panel #p-navigation div.body {
.mw-body h2{font-size:1.5em;margin-top:1em}
+
  background-image: none;
.mw-body h3,.mw-body h4,.mw-body h5,.mw-body h6{line-height:1.6;margin-top:.3em;margin-bottom:0;padding-bottom:0}
+
}
.mw-body h3{font-size:1.17em}
+
 
.mw-body h3,.mw-body h4{font-weight:bold}
+
/* TOC */
.mw-body h4,.mw-body h5,.mw-body h6{font-size:100%}
+
#toc li a { display:inline-block; width: 100%; border-radius:0.5em; -moz-border-radius:0.5em; }
.mw-body #toc h2,.mw-body .toc h2{font-size:100%;font-family:sans-serif}
+
#toc li a:hover { background-color:#e8e8e8; }
div.emptyPortlet{display:none}
+
/* [[Template:Float left]] and [[Template:Float right]] + TOC */
ul{list-style-type:disc;list-style-image:/* @embed */ url('skins/Vector/images/bullet-icon.png')}
+
.floatright #toc { margin-left:0.25em; padding-left:0.25em; }
pre,.mw-code{line-height:1.3em; color:#c1c1c1; background-color:#444; border:1px solid #111;}
+
.floatleft #toc { margin-right:0.25em; padding-right:0.25em; }
#siteNotice{font-size:.8em}
+
 
.redirectText{font-size:140%}
+
/* side panel */
.redirectMsg img{vertical-align:text-bottom}
+
#mw-panel .portal .body { margin-left: 0.75em !important; }
.mw-body-content{position:relative;line-height:1.6;font-size:.875em}
+
#mw-panel .body li { padding:0 !important; margin:0; line-height:1em !important; }
body.vector-animateLayout .mw-body,body.vector-animateLayout div#footer,body.vector-animateLayout #left-navigation{-webkit-transition:margin-left 250ms,padding 250ms;-moz-transition:margin-left 250ms,padding 250ms;-o-transition:margin-left 250ms,padding 250ms;transition:margin-left 250ms,padding 250ms}
+
#mw-panel .body li a { display:inline-block; width:90%; padding:0.25em; margin:0; border-radius:0.5em; -moz-border-radius:0.5em; }
body.vector-animateLayout #p-logo{-webkit-transition:left 250ms;-moz-transition:left 250ms;-o-transition:left 250ms;transition:left 250ms}
+
#mw-panel .body li a:hover { background-color:#e8e8e8; }
body.vector-animateLayout #mw-panel{-webkit-transition:padding-right 250ms;-moz-transition:padding-right 250ms;-o-transition:padding-right 250ms;transition:padding-right 250ms}
+
#mw-panel .body a.feedlink { padding-left:16px !important; }
body.vector-animateLayout #p-search{-webkit-transition:margin-right 250ms;-moz-transition:margin-right 250ms;-o-transition:margin-right 250ms;transition:margin-right 250ms}
+
 
body.vector-animateLayout #p-personal{-webkit-transition:right 250ms;-moz-transition:right 250ms;-o-transition:right 250ms;transition:right 250ms}
+
/* my profile/talk/prefs/watchlist/contribs/logout links up top */
body.vector-animateLayout #mw-head-base{-webkit-transition:margin-left 250ms;-moz-transition:margin-left 250ms;-o-transition:margin-left 250ms;transition:margin-left 250ms}
+
#mw-head #p-personal li { margin-left:0; }
#p-personal{position:absolute;top:.33em;right:.75em;z-index:100}
+
#mw-head #p-personal li a { padding:0.25em; border-radius:0.5em; -moz-border-radius:0.5em; }
#p-personal h3{display:none}
+
#mw-head #p-personal li.active a,
#p-personal ul{list-style-type:none;list-style-image:none;margin:0;padding-left:10em}
+
#mw-head #p-personal li a:hover { background-color:#f0f0f0; }
#p-personal li{line-height:1.125em;float:left;margin-left:.75em;margin-top:.5em;font-size:.75em;white-space:nowrap}
+
 
#pt-userpage,#pt-anonuserpage{background-position:left top;background-repeat:no-repeat;background-image:url('skins/Vector/images/user-icon.png');background-image:-webkit-linear-gradient(transparent, transparent),/* @embed */ url('skins/Vector/images/user-icon.svg');background-image:linear-gradient(transparent, transparent),/* @embed */ url('skins/Vector/images/user-icon.svg');padding-left:15px !important}
+
/* footer stuff */
#p-search{float:left;margin-right:.5em;margin-left:.5em}
+
#footer-info li { display: inline; }
#p-search h3{display:none}
+
#footer-places li a { padding:0.25em; border-radius:0.5em; -moz-border-radius:0.5em; }
#p-search form,#p-search input{margin:0;margin-top:.4em}
+
.page-NetHackWiki_About #footer-places-about a,
div#simpleSearch{display:block;width:12.6em;padding-right:1.4em;height:1.4em;margin-top:.65em;position:relative;min-height:1px;border:solid 1px #aaa;color:black;background-color:white;background-image:/* @embed */ url('skins/Vector/images/search-fade.png');background-position:top left;background-repeat:repeat-x}
+
.page-NetHackWiki_General_disclaimer #footer-places-disclaimer a,
div#simpleSearch input{margin:0;padding:0;border:0;background-color:#111;color:#eee}
+
#footer-places li a:hover { background-color:#e8e8e8; }
div#simpleSearch #searchInput{width:100%;padding:.2em 0 .2em .2em;font-size:13px;direction:ltr;-webkit-appearance:textfield}
+
 
div#simpleSearch #searchInput:focus{outline:none}
+
/* side panel, perm hilite when on particular page */
div#simpleSearch #searchInput.placeholder{color:#999}
+
body.page-Dungeon_feature #n-Dungeon-Features a,
div#simpleSearch #searchInput:-ms-input-placeholder{color:#999}
+
body.page-Monster #n-Monsters a,
div#simpleSearch #searchInput:-moz-placeholder{color:#999}
+
body.page-Property #n-In\.2FExtrinsics a,
div#simpleSearch #searchInput::-webkit-search-decoration,div#simpleSearch #searchInput::-webkit-search-cancel-button,div#simpleSearch #searchInput::-webkit-search-results-button,div#simpleSearch #searchInput::-webkit-search-results-decoration{-webkit-appearance:textfield}
+
body.page-Item #n-Items a,
div#simpleSearch #searchButton,div#simpleSearch #mw-searchButton{position:absolute;top:0;right:0;width:1.65em;height:100%;cursor:pointer;text-indent:-99999px;line-height:1;direction:ltr;white-space:nowrap;overflow:hidden;background-image:url('skins/Vector/images/search-ltr.png');background-image:-webkit-linear-gradient(transparent, transparent),/* @embed */ url('skins/Vector/images/search-ltr.svg');background-image:linear-gradient(transparent, transparent),/* @embed */ url('skins/Vector/images/search-ltr.svg');background-position:center center;background-repeat:no-repeat}
+
body.page-Spellbook #n-Spells a,
div#simpleSearch #mw-searchButton{z-index:1}
+
body.page-Options #n-Game-options a,
div.vectorTabs h3{display:none}
+
body.page-Websites #n-Websites a,
div.vectorTabs{float:left;height:2.5em;background-image:/* @embed */ url('skins/Vector/images/tab-break.png');background-position:bottom left;background-repeat:no-repeat;padding-left:1px}
+
body.page-Special_SpecialPages #t-specialpages a,
div.vectorTabs ul{float:left;height:100%;list-style-type:none;list-style-image:none;margin:0;padding:0;background-image:/* @embed */ url('skins/Vector/images/tab-break.png');background-position:right bottom;background-repeat:no-repeat}
+
body.page-Special_Upload #t-upload a,
div.vectorTabs ul li{float:left;line-height:1.125em;display:inline-block;height:100%;margin:0;padding:0;background-color:#f3f3f3;background-image:/* @embed */ url('skins/Vector/images/tab-normal-fade.png');background-position:bottom left;background-repeat:repeat-x;white-space:nowrap}
+
body.page-NetHackWiki_Current_projects #n-Current-projects a,
div.vectorTabs ul>li{display:block}
+
body.page-NetHackWiki_How_to_help #n-help a,
div.vectorTabs li.new a,div.vectorTabs li.new a:visited{color:#a55858}
+
body.page-NetHackWiki_Style_guide #n-Style-guide a,
div.vectorTabs li.selected{background-image:/* @embed */ url('skins/Vector/images/tab-current-fade.png')}
+
body.page-Main_Page #p-navigation #n-NetHack-Wiki a,
div.vectorTabs li.selected a,div.vectorTabs li.selected a:visited{color:#333;text-decoration:none}
+
body.ns-110 #p-navigation #n-Forum a,
div.vectorTabs li.icon a{background-position:bottom right;background-repeat:no-repeat}
+
body.page-NetHackWiki_Community_Portal #p-navigation #n-portal a,
div.vectorTabs li a{display:inline-block;height:1.9em;padding-left:.5em;padding-right:.5em;color:#e69710;cursor:pointer;font-size:.8em}
+
body.page-Special_RecentChanges #p-navigation #n-recentchanges a { background-color:#e8e8e8; }
div.vectorTabs li>a{display:block}
+
 
div.vectorTabs span{display:inline-block;background-image:/* @embed */ url('skins/Vector/images/tab-break.png');background-position:bottom right;background-repeat:no-repeat}
+
/* actions "popup" menu */
div.vectorTabs span a{display:inline-block;padding-top:1.25em}
+
#p-cactions .menu li a:hover { background-color: #e0e0e0; }
div.vectorTabs span>a{float:left;display:block}
+
 
div.vectorMenu{direction:ltr;float:left;cursor:pointer;position:relative}
+
 
body.rtl div.vectorMenu{direction:rtl}
+
/* category list pages, eg [[Category:Todo]] */
div#mw-head div.vectorMenu h3{float:left;background-image:/* @embed */ url('skins/Vector/images/tab-break.png');background-repeat:no-repeat;background-position:bottom right;margin-left:-1px;font-size:1em;height:2.5em;padding-right:1px;margin-right:-1px}
+
#mw-pages h3 { padding-left:1em; padding-top:1em; font-size:1.75em; }
div.vectorMenu h3 span{display:block;font-size:.8em;padding-left:.7em;padding-top:1.375em;margin-right:20px;font-weight:normal;color:#4d4d4d}
+
#mw-pages td h3:first-child { border:none; }
div.vectorMenu h3 a{position:absolute;top:0;right:0;width:20px;height:2.5em;background-image:url('skins/Vector/images/arrow-down-icon.png');background-image:-webkit-linear-gradient(transparent, transparent),/* @embed */ url('skins/Vector/images/arrow-down-icon.svg');background-image:linear-gradient(transparent, transparent),/* @embed */ url('skins/Vector/images/arrow-down-icon.svg');background-position:100% 70%;background-repeat:no-repeat;-webkit-transition:background-position 250ms;-moz-transition:background-position 250ms;-o-transition:background-position 250ms;transition:background-position 250ms}
+
#mw-pages ul { list-style:none; }
div.vectorMenu.menuForceShow h3 a{background-position:100% 100%}
+
#mw-pages ul li { padding:0.1em; margin:0; }
div.vectorMenuFocus h3 a{background-image:url('skins/Vector/images/arrow-down-focus-icon.png');background-image:-webkit-linear-gradient(transparent, transparent),/* @embed */ url('skins/Vector/images/arrow-down-focus-icon.svg');background-image:linear-gradient(transparent, transparent),/* @embed */ url('skins/Vector/images/arrow-down-focus-icon.svg')}
+
#mw-pages ul li:nth-child(odd) { background-color: #f0f0f0; }
div.vectorMenu div.menu{min-width:100%;position:absolute;top:2.5em;left:-1px;background-color:white;border:solid 1px silver;border-top-width:0;clear:both;text-align:left;display:none}
+
#mw-pages ul li:hover { background-color: #e0e0e0; }
div.vectorMenu:hover div.menu,div.vectorMenu.menuForceShow div.menu{display:block}
+
#mw-pages ul li a { display:inline-block; width:100%; padding-left:1em; }
div.vectorMenu ul{list-style-type:none;list-style-image:none;padding:0;margin:0;text-align:left}
+
#mw-pages td ul { margin:0.25em; margin-bottom:1em; }
div.vectorMenu ul,x:-moz-any-link{min-width:5em}
+
 
div.vectorMenu ul,x:-moz-any-link,x:default{min-width:0}
+
/* input fields */
div.vectorMenu li{padding:0;margin:0;text-align:left;line-height:1em}
+
select:focus,
div.vectorMenu li a{display:inline-block;padding:.5em;white-space:nowrap;color:#e69710;cursor:pointer;font-size:.8em}
+
textarea:focus,
div.vectorMenu li>a{display:block}
+
input:focus {
div.vectorMenu li.selected a,div.vectorMenu li.selected a:visited{color:#333;text-decoration:none}
+
  background-color: #fffff8;
@-webkit-keyframes rotate{from{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);transform:rotate(0deg)}
+
  outline: 1px solid #ffff80;
to{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);transform:rotate(360deg)}
+
}
}@-moz-keyframes rotate{from{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);transform:rotate(0deg)}
+
 
to{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);transform:rotate(360deg)}
+
/* disabled fields with labels after them */
}@-o-keyframes rotate{from{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);transform:rotate(0deg)}
+
input:disabled:checked ~ label,
to{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);transform:rotate(360deg)}
+
input:disabled ~ label {
}@keyframes rotate{from{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);transform:rotate(0deg)}
+
  color: #a0a0a0;
to{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);transform:rotate(360deg)}
+
}
}#ca-unwatch.icon a,#ca-watch.icon a{margin:0;padding:0;display:block;width:26px;padding-top:3.1em;margin-top:0;height:0;overflow:hidden;background-position:5px 60%}
+
/* better UI for checkboxes and radio buttons labels */
#ca-unwatch.icon a{background-image:url('skins/Vector/images/unwatch-icon.png');background-image:-webkit-linear-gradient(transparent, transparent),/* @embed */ url('skins/Vector/images/unwatch-icon.svg');background-image:linear-gradient(transparent, transparent),/* @embed */ url('skins/Vector/images/unwatch-icon.svg')}
+
input[type=radio] ~ label,
#ca-watch.icon a{background-image:url('skins/Vector/images/watch-icon.png');background-image:-webkit-linear-gradient(transparent, transparent),/* @embed */ url('skins/Vector/images/watch-icon.svg');background-image:linear-gradient(transparent, transparent),/* @embed */ url('skins/Vector/images/watch-icon.svg')}
+
input[type=checkbox] ~label {
#ca-unwatch.icon a:hover,#ca-unwatch.icon a:focus{background-image:url('skins/Vector/images/unwatch-icon-hl.png');background-image:-webkit-linear-gradient(transparent, transparent),/* @embed */ url('skins/Vector/images/unwatch-icon-hl.svg');background-image:linear-gradient(transparent, transparent),/* @embed */ url('skins/Vector/images/unwatch-icon-hl.svg')}
+
  padding:0.1em 0.5em;
#ca-watch.icon a:hover,#ca-watch.icon a:focus{background-image:url('skins/Vector/images/watch-icon-hl.png');background-image:-webkit-linear-gradient(transparent, transparent),/* @embed */ url('skins/Vector/images/watch-icon-hl.svg');background-image:linear-gradient(transparent, transparent),/* @embed */ url('skins/Vector/images/watch-icon-hl.svg')}
+
  border-radius:0.5em;
#ca-unwatch.icon a.loading,#ca-watch.icon a.loading{background-image:url('skins/Vector/images/watch-icon-loading.png');background-image:-webkit-linear-gradient(transparent, transparent),/* @embed */ url('skins/Vector/images/watch-icon-loading.svg');background-image:linear-gradient(transparent, transparent),/* @embed */ url('skins/Vector/images/watch-icon-loading.svg');-webkit-animation:rotate 700ms infinite linear;-moz-animation:rotate 700ms infinite linear;-o-animation:rotate 700ms infinite linear;animation:rotate 700ms infinite linear;outline:none;cursor:default;pointer-events:none;background-position:50% 60%;-webkit-transform-origin:50% 57%;transform-origin:50% 57%}
+
  -moz-border-radius:0.5em;
#ca-unwatch.icon a span,#ca-watch.icon a span{display:none}
+
}
#mw-navigation h2{position:absolute;top:-9999px}
+
input[type=radio] ~ label:hover,
#mw-page-base{height:5em;background-position:bottom left;background-repeat:repeat-x;background-image:url('skins/Vector/images/page-fade.png');background-color:#2a2a2a;background-image:-moz-linear-gradient(top, #333 50%, #2a2a2a 100%);background-image:-webkit-gradient(linear, left top, left bottom, color-stop(50%, #333), color-stop(100%, #2a2a2a));background-image:-webkit-linear-gradient(top, #333 50%, #2a2a2a 100%);background-image:linear-gradient(#333 50%, #2a2a2a 100%);background-color:#333}
+
input[type=checkbox] ~ label:hover {
#mw-head-base{margin-top:-5em;margin-left:10em;height:5em}
+
  background-color:#e0e0e0;
div#mw-head{position:absolute;top:0;right:0;width:100%}
+
}
div#mw-head h3{margin:0;padding:0}
+
input[type=radio]:checked ~ label,
#left-navigation{float:left;margin-left:10em;margin-top:2.5em;margin-bottom:-2.5em;display:inline}
+
input[type=checkbox]:checked ~ label {
#right-navigation{float:right;margin-top:2.5em}
+
  text-shadow: 1px 0 #000000; /* fake bold */
#p-logo{position:absolute;top:-160px;left:0;width:10em;height:160px}
+
}
#p-logo a{display:block;width:10em;height:160px;background-repeat:no-repeat;background-position:center center;text-decoration:none}
+
 
div#mw-panel{font-size:inherit;position:absolute;top:160px;padding-top:1em;width:10em;left:0}
+
 
div#mw-panel div.portal{margin:0 .6em 0 .7em;padding:.25em 0;direction:ltr;background-position:top left;background-repeat:no-repeat;background-image:/* @embed */ url('skins/Vector/images/portal-break.png')}
+
/* used by eg. [[Template:Religion]] and [[Special:SpecialPages]] */
div#mw-panel div.portal h3{font-size:.75em;color:#4d4d4d;font-weight:normal;margin:0;padding:.25em 0 .25em .25em;cursor:default;border:none}
+
.page-Special_SpecialPages #bodyContent li a,
div#mw-panel div.portal div.body{margin:0 0 0 1.25em;padding-top:0}
+
.hoverlist li a { display:inline-block; width: 100%; border-radius:0.5em; -moz-border-radius:0.5em; }
div#mw-panel div.portal div.body ul{list-style-type:none;list-style-image:none;margin:0;padding:0}
+
.page-Special_SpecialPages #bodyContent li a:hover,
div#mw-panel div.portal div.body ul li{line-height:1.125em;margin:0;padding:.25em 0;font-size:.75em;word-wrap:break-word}
+
.hoverlist li a:hover { background-color:#e0e0e0; }
div#mw-panel div.portal div.body ul li a{color:#e69710}
+
 
div#mw-panel div.portal div.body ul li a:visited{color:#8a7f6c}
+
/* turn all links inside class="hoverlinks" into rounded ones */
div#mw-panel div.portal.first{background-image:none;margin-top:0}
+
.hoverlinks a { padding:0.25em; border-radius:0.5em; -moz-border-radius:0.5em; }
div#mw-panel div.portal.first h3{display:none}
+
.hoverlinks a:hover { background-color:#e0e0e0; }
div#mw-panel div.portal.first div.body{margin-left:.5em}
+
 
div#footer{margin-left:10em;margin-top:0;padding:.75em;direction:ltr}
+
 
div#footer ul{list-style-type:none;list-style-image:none;margin:0;padding:0}
+
table.striped tr:nth-child(odd) { background: #fdfdfd; }
div#footer ul li{margin:0;padding:0;padding-top:.5em;padding-bottom:.5em;color:#333;font-size:.7em}
+
table.striped tr:hover { background:#ffffff; }
div#footer #footer-icons{float:right}
+
 
div#footer #footer-icons li{float:left;margin-left:.5em;line-height:2em;text-align:right}
+
/* [[Special:AllPages]] and [[Special:PrefixIndex]] */
div#footer #footer-info li{line-height:1.4em}
+
#mw-prefixindex-list-table tr:nth-child(even) td:nth-child(even),
div#footer #footer-places li{float:left;margin-right:1em;line-height:2em}
+
#mw-prefixindex-list-table tr:nth-child(odd) td:nth-child(odd),
body.ltr div#footer #footer-places{float:left}
+
.mw-allpages-table-chunk tr:nth-child(even) td:nth-child(even),
.mw-body .external{background-position:center right;background-repeat:no-repeat;background-image:url('skins/Vector/images/external-link-ltr-icon.png');background-image:-webkit-linear-gradient(transparent, transparent),/* @embed */ url('skins/Vector/images/external-link-ltr-icon.svg');background-image:linear-gradient(transparent, transparent),/* @embed */ url('skins/Vector/images/external-link-ltr-icon.svg');padding-right:13px}
+
.mw-allpages-table-chunk tr:nth-child(odd) td:nth-child(odd) {
.oo-ui-textInputWidget input { color:inherit; background-color:inherit }
+
  background:#f8f8f8;
#editpage-specialchars a { color:inherit; background-color: #444 !important; border: thin #222 outset; }
+
}
.nhguidebook { background-color:#666; color:#ddd; border: 2px solid #444; }
+
#mw-prefixindex-list-table a,
#mainpage-featured { background-color:#504848; border-color: #704848; }
+
.mw-allpages-table-chunk a {
#mainpage-news { background-color:#485048; border-color:#487048; }
+
  display:block;
#mainpage-forum { background-color:#484850; border-color:#484870; }
+
  width:100%;
#mainpage-role-list, #mainpage-objclass-list, #mainpage-indepth-list, #mainpage-monster-list { background:#444; border-color:#777; }
+
}
.captioninner { background-color:inherit; }
+
#mw-prefixindex-list-table a:hover,
 +
.mw-allpages-table-chunk a:hover {
 +
  font-weight:bold;
 +
  background:#f0f0f0;
 +
}
 +
 
 +
.redirect-in-category,
 +
.watchlistredir,
 +
.allpagesredirect { font-style: italic; font-size:90%; }
 +
.redirect-in-category a,
 +
.watchlistredir a,
 +
.allpagesredirect a { color:#808080; }
 +
 
 +
/* talk page and forum page "responses" */
 +
body.page-NetHackWiki_Community_Portal dd,
 +
body.page-NetHackWiki_Community_Portal dd dd dd dd,
 +
body.page-NetHackWiki_Community_Portal dd dd dd dd dd dd dd,
 +
body.page-NetHackWiki_Community_Portal dd dd dd dd dd dd dd dd dd dd,
 +
body.ns-talk dd,
 +
body.ns-talk dd dd dd dd,
 +
body.ns-talk dd dd dd dd dd dd dd,
 +
body.ns-talk dd dd dd dd dd dd dd dd dd dd,
 +
body.ns-110 dd,
 +
body.ns-110 dd dd dd dd,
 +
body.ns-110 dd dd dd dd dd dd dd,
 +
body.ns-110 dd dd dd dd dd dd dd dd dd dd {
 +
  background-color: #f7f7f7;
 +
  margin-bottom:0;
 +
  padding:0.25em;
 +
}
 +
body.page-NetHackWiki_Community_Portal dd dd,
 +
body.page-NetHackWiki_Community_Portal dd dd dd dd dd,
 +
body.page-NetHackWiki_Community_Portal dd dd dd dd dd dd dd dd,
 +
body.page-NetHackWiki_Community_Portal dd dd dd dd dd dd dd dd dd dd dd,
 +
body.ns-talk dd dd,
 +
body.ns-talk dd dd dd dd dd,
 +
body.ns-talk dd dd dd dd dd dd dd dd,
 +
body.ns-talk dd dd dd dd dd dd dd dd dd dd dd,
 +
body.ns-110 dd dd,
 +
body.ns-110 dd dd dd dd dd,
 +
body.ns-110 dd dd dd dd dd dd dd dd,
 +
body.ns-110 dd dd dd dd dd dd dd dd dd dd dd {
 +
  background-color:#f0f0f0;
 +
  margin-bottom:0;
 +
  padding:0.25em;
 +
}
 +
body.page-NetHackWiki_Community_Portal dl,
 +
body.ns-talk dl,
 +
body.ns-110 dl {
 +
  margin-bottom:0.5em;
 +
}
 +
 
 +
 
 +
/* [[Special:Contributions]] */
 +
body[class*=page-Special_Contributions] #bodyContent ul li:nth-child(odd) { background-color: #f0f0f0; }
 +
body[class*=page-Special_Contributions] #bodyContent ul li:hover { background-color:#e0e0e0; }
 +
 
 +
/* in Special:RecentChanges : color the "(+X)" or "(-X)" (number of characters added or removed) */
 +
.mw-plusminus-pos { color:#004000 !important; }
 +
.mw-plusminus-neg { color:#400000 !important; }
 +
body.page-Special_RecentChanges .mw-line-even { background-color:#f0f0f0; }
 +
body.page-Special_RecentChanges .mw-line-even:hover,
 +
body.page-Special_RecentChanges .mw-line-odd:hover { background-color:#e0e0e0; }
 +
/* Special:RecentChanges with enhanced RC */
 +
.page-Special_RecentChanges table.mw-enhanced-rc.mw-collapsible td:first-child { width: 15px; }
 +
.page-Special_RecentChanges table.mw-enhanced-rc td.mw-enhanced-rc { width: 0 /* as narrow as the content allows */ }
 +
.page-Special_RecentChanges table.mw-enhanced-rc td.mw-enhanced-rc::before { display: inline-block; width: 0; font-family: sans-serif; content: '\00A0' } /* kluge to fix time stamp vertical alignment */
 +
.page-Special_RecentChanges table.mw-enhanced-rc { width: 100% }
 +
.page-Special_RecentChanges table.mw-enhanced-rc tr:hover { background-color:#e0e0e0; }
 +
 
 +
/* [[Special:NewPages]] */
 +
.page-Special_NewPages #bodyContent li:hover { background-color: #e0e0e0; }
 +
 
 +
/* [[Special:Log]] */
 +
.page-Special_Log #bodyContent li:nth-child(odd) { background-color: #f0f0f0; }
 +
.page-Special_Log #bodyContent li:hover { background-color: #e0e0e0; }
 +
 
 +
 
 +
 
 +
/* [[Special:PopularPages]], [[Special:MostLinkedTemplates]], [[Special:MostLinkedCategories]], [[Special:MostLinkedPages]],
 +
  [[Special:MostCategories]], [[Special:MostRevisions]], [[Special:ProtectedPages]] */
 +
#bodyContent ul#mw-whatlinkshere-list li:nth-child(odd),
 +
#bodyContent .mw-spcontent ol li:nth-child(odd),
 +
#bodyContent .mw-spcontent ul li:nth-child(odd),
 +
.page-Special_ProtectedPages #bodyContent ul li:nth-child(odd),
 +
.page-Special_Categories #bodyContent ul li:nth-child(odd),
 +
.page-Special_ActiveUsers #bodyContent ul li:nth-child(odd),
 +
.page-Special_ListUsers #bodyContent ul li:nth-child(odd),
 +
.templatesUsed ul li:nth-child(odd),
 +
.page-Special_PopularPages ol li:nth-child(odd) { background-color: #f0f0f0; }
 +
#bodyContent ul#mw-whatlinkshere-list li:hover,
 +
#bodyContent .mw-spcontent ol li:hover,
 +
#bodyContent .mw-spcontent ul li:hover,
 +
.page-Special_ProtectedPages #bodyContent ul li:hover,
 +
.page-Special_Categories #bodyContent ul li:hover,
 +
.page-Special_ActiveUsers #bodyContent ul li:hover,
 +
.page-Special_ListUsers #bodyContent ul li:hover,
 +
.templatesUsed ul li:hover,
 +
.page-Special_PopularPages ol li:hover { background-color: #e0e0e0; }
 +
#bodyContent ul#mw-whatlinkshere-list:first-child > li,
 +
#bodyContent .mw-spcontent ol li,
 +
#bodyContent .mw-spcontent ul li,
 +
.page-Special_Categories #bodyContent ul li,
 +
.templatesUsed ul li,
 +
.page-Special_PopularPages ol li { width:40%; }
 +
.page-Special_ListUsers #bodyContent .mw-spcontent ul li,
 +
.page-Special_DoubleRedirects ol li { width:100% !important; }
 +
.page-Special_ListUsers #bodyContent ul li a:first-child,
 +
.page-Special_ActiveUsers #bodyContent ul li a.mw-userlink { display:inline-block; width:10em; }
 +
.page-Special_Categories #bodyContent ul li a:first-child,
 +
.page-Special_UnusedTemplates ol li a:first-child,
 +
.templatesUsed ul li a:first-child,
 +
.page-Special_MostLinkedTemplates ol li a:first-child,
 +
.page-Special_MostLinkedCategories ol li a,
 +
.page-Special_MostLinkedPages ol li a:first-child,
 +
.page-Special_MostCategories ol li a,
 +
.page-Special_MostRevisions ol li a:first-child,
 +
.page-Special_PopularPages ol li a { display:inline-block; width:75%; }
 +
.page-Special_DoubleRedirects ol li a:first-child,
 +
.page-Special_DoubleRedirects ol li a:nth-child(3) { display:inline-block; width:25%; }
 +
.page-Special_UncategorizedTemplates ol li a { display:inline-block; width:100%; }
 +
 
 +
/* [[Special:AllPages]] */
 +
.allpageslist a {
 +
  display:block;
 +
  padding-left:0.25em;
 +
  padding-right:0.25em;
 +
}
 +
.allpageslist a:hover {
 +
  background-color:#e8e8e8;
 +
  border-radius:0.5em;
 +
}
 +
 
 +
/* [[Special:LonelyPages]], [[Special:DeadendPages]], [[Special:WithoutInterwiki]], [[Special:UncategorizedPages]], [[Special:UnusedCategories]] */
 +
.page-Special_LonelyPages .mw-spcontent ol.special li a,
 +
.page-Special_WithoutInterwiki .mw-spcontent ol.special li a,
 +
.page-Special_UncategorizedPages .mw-spcontent ol.special li a,
 +
.page-Special_UnusedCategories .mw-spcontent ol.special li a,
 +
.page-Special_DeadendPages .mw-spcontent ol.special li a {
 +
  display:block;
 +
}
 +
 
 +
 
 +
/* Main page forum box */
 +
#mainpage-forum a.forum_new {
 +
  font-weight: bold;
 +
}
 +
#mainpage-forum h3 a { display:block; }
 +
#mainpage-forum h3 a:hover,
 +
#mainpage-forum li:hover {
 +
  border-radius: 0.5em 0.5em 0.5em 0.5em;
 +
  background-color: #F0D8FF;
 +
}
 +
#mainpage-forum li {
 +
  font-size: 80%;
 +
  padding-left: 1.5em;
 +
}
 +
#mainpage-forum li a:first-child {
 +
  display: block;
 +
  font-size: 125%;
 +
  margin: 0.25em 0 -0.25em -1em;
 +
}
 +
 
 +
 
 +
/* Hide the main page title */
 +
body.page-Main_Page h1.firstHeading { display:none !important; }
 +
 
 +
/* extra buttons for edit dialog (from commons:MediaWiki:Common.css) */
 +
#editpage-specialchars {
 +
padding: .5em;
 +
}
 +
#editpage-specialchars a {
 +
color: black;
 +
background-color: #cde !important;
 +
font-weight: bold;
 +
font-size: .9em;
 +
text-decoration: none;
 +
border: thin #069 outset;
 +
padding: 0 .1em .1em;
 +
}
 +
#editpage-specialchars a:hover,
 +
#editpage-specialchars a:active {
 +
background-color: #bcd;
 +
border-style: inset;
 +
}
 +
 
 +
/* Special:Search */
 +
.search-types .current {
 +
  background-color:#d0d0d0;
 +
  border-radius:0.5em;
 +
}
 +
 
 +
#userloginForm {
 +
  float:none;
 +
  background-color: #f0f0f0;
 +
  width:46em;
 +
  margin-left: auto;
 +
  margin-right: auto;
 +
}
 +
#userlogin {
 +
  float:none;
 +
  margin-left: auto;
 +
  margin-right: auto;
 +
  background-color: #f0f0f0;
 +
}
 +
 
 +
/* page revision history */
 +
#pagehistory li:nth-child(odd) {
 +
  background-color: #f9f9f9;
 +
}
 +
#pagehistory li:hover {
 +
  background-color: #f0f0f0;
 +
}
 +
#pagehistory li.selected {
 +
  background-color: #e8e8e8;
 +
  border: 1px dashed #808080;
 +
}
 +
 
 +
/* targeting a section header */
 +
.mw-headline {
 +
  display:block;
 +
  float:left;
 +
}
 +
.mw-editsection {
 +
  float:right;
 +
}
 +
.mw-headline:target {
 +
  background-color:#fff0b0;
 +
}
 +
 
 +
 
 +
 
 +
/* link icons for telnet and SSH links */
 +
 
 +
div#content a[href^="telnet:"], div#content a.extiw[href^="telnet:"], .link-telnet {
 +
  /* [[File:Telnet-icon.png]] */
 +
  background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAMAAAC67D+PAAAAM1BMVEX///+goKCgoKATExMAAAAqKioDAwMtLS2MjIxmZmY0NDSPj49bW1sRERF1dXV4eHhVVVWcCAENAAAAAnRSTlMAuLMp9oYAAAA3SURBVHheTcxHEgAgCENRDPZ+/9OKDo7+1dsk9GWgGYLzdscghJiOhbnUyyZQCvqYh2x19p+9FkZsAUi9IX9TAAAAAElFTkSuQmCC") no-repeat scroll right center transparent;
 +
  padding-right: 13px;
 +
}
 +
 
 +
div#content a[href^="ssh:"], div#content a.extiw[href^="ssh:"], .link-ssh {
 +
  /* [[File:Ssh-icon.png]] */
 +
  background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAMAAAC67D+PAAAAclBMVEX///+goKCdn5uWl5OgoKAAAAARERFERUJYWViIioW+tm6cnprv3lO4sWk0NDSPj4+MjIyxqmcDAwOxsrAoKCj041gtLS1OT03/+Lv/849mZmZwcW6SlI/j00/Lui+qp4FbW1v/8YFmZ2a5sWm7tGynpIBMSTSHAAAABHRSTlMAv3+/jugUkwAAAFRJREFUeF5NzEUOxEAMRFF3YjcGmWHo/lecamWTv3qyrKJHiu8UEXeNIM3gUC1inWvBorzGYN8hIdYi62ZMSInxmPfTnNW4Rr52MI6BBxg7vf98f3+ohAQc7MJkBQAAAABJRU5ErkJggg==") no-repeat scroll right center transparent;
 +
  padding-right: 13px;
 +
}
 +
 
 +
blockquote {
 +
  border-left:4px solid #258;
 +
  padding-left:0.5em;
 +
}
 +
blockquote::before{
 +
  content:"\201C";
 +
  font-size:250%;
 +
  line-height: 1em;
 +
  font-weight:bold;
 +
  color:#258;
 +
  position: relative;
 +
}

Revision as of 20:41, 15 December 2017

/*<pre>*/
/* edit this file to customise CSS for all skins */

/* prevent blurry images, such as 16x16 tiles being scaled up */
img {
  image-rendering:optimizeSpeed;             /* Legal fallback */
  image-rendering:-moz-crisp-edges;          /* Firefox        */
  image-rendering:-o-crisp-edges;            /* Opera          */
  image-rendering:-webkit-optimize-contrast; /* Safari         */
  image-rendering:optimize-contrast;         /* CSS3 Proposed  */
  -ms-interpolation-mode:nearest-neighbor;   /* IE8+           */
  image-rendering:pixelated;                 /* Chrome         */
}

.ui-draggable-handle { cursor:move; }


div.thumb { border-color:transparent; }

#mw-anon-edit-warning,
#mw-read-only-warning {
  color: black;
  background-color: #770;
  border: 0.5em solid red;
  padding: 0.5em;
  margin: 0.5em;
}

.previewnote-inner-msg {
  background-color:#022;
  border: 0.2em solid red;
  padding: 0.5em;
}

/* PRE OVERFLOW
 * If "pre" text overflows, provide a scrollbar. */
pre {
  overflow: auto;
}



/* PRETTY TABLES
 * The wikitable or prettytable class skins normal tables. */
table.wikitable,
table.prettytable {
  margin: 1em 1em 1em 0;
  background: #111;
  border: 1px #555 solid;
  border-collapse: collapse;
}

table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
  border: 1px #555 solid;
  padding: 0.2em;
}

table.wikitable th,
table.prettytable th {
  background: #111;
  text-align: center;
}

table.wikitable caption,
table.prettytable caption {
  margin-left: inherit;
  margin-right: inherit;
}

.mw-interwikitable-row:hover {
  background-color:#222;
}


/* [[Template:Encyclopedia]] */
.nhencyclopedia {
  font-family: Palatino Linotype;
  font-style: italic;
  background-color: rgb(63, 63, 31);
  border: 2px dashed rgb(74, 74, 42);
  margin: 0.5em;
  padding: 1em;
  width: 60%;
}
/* [[Template:Guidebook]] */
.nhguidebook {
  font-family: monospace, serif;
  background-color: #100808;
  border: 2px dashed #322;
  margin: 0.25em;
  padding: 0.5em;
  width: 60%;
}


/* Basic style for NetHack screen symbol templates
 * http://nethackwiki.com/wiki/Category:Function_templates
 */

span.nhsym {
  font-family: "Courier New","Menlo","DejaVu Sans Mono","Courier",monospace;
  font-weight: bold;
  font-size: large;
  background-color: black;
  padding: 1px;
}

.ttyscreen, .ttymap {
  padding: 2px;
  line-height: 100%;
  margin-bottom: 0.25em;
  white-space: nowrap;
  background: black;
  display: inline-block;
  font-size: 110%;
}

.ttyscreen p, .ttymap p { line-height: 100%; }

.ttyscreen .nhsym,
.ttymap .nhsym {
  font-size: 100%;
  background: inherit;
  padding: 0;
}

.ttymap a:hover .nhsym,
.monsters a:hover .nhsym,
.ttyscreen a:hover .nhsym {
  background-color:#aaaaaa;
  color:#000000;
}

/* combine ttyscreen with preformatted text (a space at the beginning of line) */
.ttyscreen > pre {
  background-color:black;
  border: none;   /* pre have dashed border */
  color:#AAAAAA;  /* same as clr-lightgray */
}
.ttyscreen a {
  color:#AAAAAA;  /* same as clr-lightgray */
  text-decoration: none;
}
.ttyscreen a:hover {
  background-color:#AAAAAA;
  color:black;
  text-decoration: none;
}


/* Colors for NetHack screen symbol templates
 * Users with personal stylesheets may override these colors.
 *   For example      span class="nhsym clr-blue"
 *   Alternatively    span class="nhsym" style="color:#0000AA;"
 */
.clr-blue          { color:#0000AA; }
.clr-green         { color:#00AA00; }
.clr-cyan          { color:#00AAAA; }
.clr-red           { color:#AA0000; }
.clr-magenta       { color:#AA00AA; }
.clr-brown         { color:#AA5500; }
.clr-lightgray     { color:#AAAAAA; }
.clr-darkgray      { color:#555555; }
.clr-brightblue    { color:#5555FF; }
.clr-brightgreen   { color:#55FF55; }
.clr-brightcyan    { color:#55FFFF; }
.clr-orange        { color:#FF5555; }
.clr-brightmagenta { color:#FF55FF; }
.clr-yellow        { color:#FFFF55; }
.clr-white         { color:#FFFFFF; }

/* invert colors in symbol picker on hover (see MediaWiki:Common.js/nhsympopup.js) */
.nhw-color-symbol-picker .nhsym:not(.sampleDisplay):hover { color: black }
.nhw-color-symbol-picker .nhsym:not(.sampleDisplay).clr-blue:hover          { background-color:#0000AA; }
.nhw-color-symbol-picker .nhsym:not(.sampleDisplay).clr-green:hover         { background-color:#00AA00; }
.nhw-color-symbol-picker .nhsym:not(.sampleDisplay).clr-cyan:hover          { background-color:#00AAAA; }
.nhw-color-symbol-picker .nhsym:not(.sampleDisplay).clr-red:hover           { background-color:#AA0000; }
.nhw-color-symbol-picker .nhsym:not(.sampleDisplay).clr-magenta:hover       { background-color:#AA00AA; }
.nhw-color-symbol-picker .nhsym:not(.sampleDisplay).clr-brown:hover         { background-color:#AA5500; }
.nhw-color-symbol-picker .nhsym:not(.sampleDisplay).clr-lightgray:hover     { background-color:#AAAAAA; }
.nhw-color-symbol-picker .nhsym:not(.sampleDisplay).clr-darkgray:hover      { background-color:#555555; }
.nhw-color-symbol-picker .nhsym:not(.sampleDisplay).clr-brightblue:hover    { background-color:#5555FF; }
.nhw-color-symbol-picker .nhsym:not(.sampleDisplay).clr-brightgreen:hover   { background-color:#55FF55; }
.nhw-color-symbol-picker .nhsym:not(.sampleDisplay).clr-brightcyan:hover    { background-color:#55FFFF; }
.nhw-color-symbol-picker .nhsym:not(.sampleDisplay).clr-orange:hover        { background-color:#FF5555; }
.nhw-color-symbol-picker .nhsym:not(.sampleDisplay).clr-brightmagenta:hover { background-color:#FF55FF; }
.nhw-color-symbol-picker .nhsym:not(.sampleDisplay).clr-yellow:hover        { background-color:#FFFF55; }
.nhw-color-symbol-picker .nhsym:not(.sampleDisplay).clr-white:hover         { background-color:#FFFFFF; }

/*
 * Keyboard key symbol.
 * See http://nethackwiki.com/wiki/Template:Kbd
 */
.kbdsym {
 font-family:monospace;
 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;
}

/* Hide forum_talk link for forum pages */
body.ns-110 li#ca-talk { display:none; }

/* Forum formatting -Algorithm & -Splaka */
/*.forumheader { border: 1px solid #aaa; background-color: #f9f9f9; margin-top: 1em; padding: 12px; }*/
.forumlist td span { display: block; padding-left: 10px; font-size: smaller }
.forumlist td span a { text-decoration: none; }
.forumlist td span.forum_author { padding-left: 30px; }
.forumlist td.forum_edited a { text-decoration: none }
.forumlist td.forum_title a { padding-left: 20px; }
.forumlist td.forum_title span a { padding-left: 0px }
.forumlist td.forum_title a.forum_new { font-weight: bold; background: url(/images/4/4e/Forum_new.gif) 
center left no-repeat; padding-left: 20px; }
.forumlist td.forum_title a.forum_new:visited { font-weight: normal; background: none; padding-left: 20px; }
.forumlist th.forum_title { padding-left: 20px; }
/* More forum formatting -paxed */
.forumlist tr:hover th { }
.forumlist tr:nth-child(even) td { background-color: #f0f0f0; }
.forumlist tr:nth-child(even):hover td,
.forumlist tr:hover td { background-color: #e0e0e0; }
.forumlist td.forum_title a { display:block; width:100%; }
.forumlist td.forum_edited a { color:black; text-decoration: none; }
.forumheader { display:none; }


/* Skill tables, [[NetHackWiki:Skill_table_generator]] */
.Spell-skilltable .restricted,
.Combat-skilltable .restricted,
.Weapon-skilltable .restricted    { background-color: #f76; }
.Spell-skilltable .basic,
.Combat-skilltable .basic,
.Weapon-skilltable .basic         { background-color: #e96; }
.Spell-skilltable .skilled,
.Combat-skilltable .skilled,
.Weapon-skilltable .skilled       { background-color: #db6; }
.Spell-skilltable .expert,
.Combat-skilltable .expert,
.Weapon-skilltable .expert        { background-color: #cd6; }
.Spell-skilltable .master,
.Combat-skilltable .master,
.Weapon-skilltable .master        { background-color: #bf6; }
.Spell-skilltable .grandmaster,
.Combat-skilltable .grandmaster,
.Weapon-skilltable .grandmaster   { background-color: #af6; }
.Spell-skilltable .unknown_skill,
.Combat-skilltable .unknown_skill,
.Weapon-skilltable .unknown_skill { background-color: #8ff; }


/* [[Template:Features]] [[Template:ASCII]] [[Template:items]] */
.itemclasses td a:hover,
.dungeonfeatures td a:hover,
.ASCIItable td a:hover { background-color:#e0e0e0; }
.itemclasses td a,
.dungeonfeatures td a,
.ASCIItable td a { display: block; padding:0.2em; }
.itemclasses td .selflink,
.dungeonfeatures td .selflink,
.ASCIItable td .selflink {
      display: block;
      background-color:#e0ffd0;
      padding:0.2em;
}
.ASCIItable td a,
.ASCIItable td .selflink { text-align:center; }
.dungeonfeatures td,
.itemclasses td,
.ASCIItable td { padding:0 !important; }


/* [[Template:Todo]] */
.todo {
  width: 90%;
  border: solid 3px #FFCCFF;
  background-color: #FFEEFF;
  text-align: left;
  padding: 1em;
  margin-left:auto;
  margin-right:auto;
}

/* [[Template:Delete]] */
.delete {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  border: solid 3px black;
  background-color: yellow;
  text-align: left;
  padding: 1em;
}

/* [[Template:Merge]] */
.merge {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  border: solid 3px black;
  background-color: lightgreen;
  text-align: left;
  padding: 1em;
}

/* [[Template:Fairuse]], [[Template:NGPL]], [[Template:CWI]], [[Template:Rodney]], [[Template:Basedon]], [[Template:JAH]], [[Template:DOD]] */
.license_fairuse,
.license_ngpl,
.license_cwi,
.license_rodney,
.license_basedon,
.license_jah,
.license_dod {
  width: 80%;
  margin-left:auto;
  margin-right:auto;
  background-color: #F1F1DE;
  border:2px solid #999966;
  padding: 1em;
}


.centered {
  display:table;
  margin-right:auto;
  margin-left:auto;
}


/* Syntax coloring via GeSHi */
.mw-geshi {
  background-color:#f9f9f9;
  border: 1px dashed #2F6FAB;
  padding: 1em;
}
.mw-geshi li:nth-child(odd) { background-color:#f9f9f9; }
.mw-geshi li:nth-child(even) { background-color:#f4f4f4; }
.mw-geshi li:hover {
  background-color: #ffffdd;
}
.mw-geshi pre {
  overflow:visible;
}
.mw-geshi .geshiline {
  overflow:auto;
  padding-bottom:0.5em;
}
/* Hilight a line of source code. This relies on javascript, in [[MediaWiki:Common.js]] */
.mw-geshi ol li:target,
.source-line-hilite { background-color:yellow !important; }

/* fix rendering bug where insufficient line height causes characters to be clipped, */
/* making e.g. underscores look like spaces */
.mw-geshi #line .de1, .mw-geshi #line .de2,
.mw-geshi .geshiline .de1, .mw-geshi .geshiline .de2 {
  font: 1em/1.6em monospace; margin: -0.4em 0;
}

/* normal ol margin (3.2em) may not be enough when the line count hits the thousands */
.mw-geshi ol { margin-left: 4.2em; }

/* [[Template:Caption]], like thumbnail images */
.caption {
	margin-bottom: .5em;
	border-style: solid;
	border-color: transparent;
	width: auto;
	background-color: transparent;
}
.captioninner {
        display:inline-block;
	border: 1px solid #ccc;
	padding: 3px !important;
	background-color: #f9f9f9;
	font-size: 94%;
	text-align: center;
	overflow: hidden;
}
.captiontext {
	border: none;
	text-align: left;
	line-height: 1.4em;
	padding: 3px !important;
	font-size: 94%;
}


/* [[Template:Bugstatus]] */
.bugstatus.open { background:red; }
.bugstatus.fixed { background:lightgreen; }
.bugstatus.nextversion { background:darkcyan; }
.bugstatus.help { background:yellow; }
.bugstatus.not_a_bug { background:lightblue; }
.bugstatus.superseded {}

.table-yes { background: lightgreen; }
.table-no { background: pink; }
.table-partial { background: #FFF68F; } /* yellowish */

/* [[Template:Resolved top]] */
.resolved_issue {
   border:1px solid #aaa;
   padding:0.5em 0.25em 0 0.25em;
   margin:1em 0;
   background:#eef;
}

/* Main page boxes */
#mainpage-news {
  width:100%;
  margin-top:0px;
  background:#E7FFDF;
  border:1px solid #8FFF6F;
  vertical-align: top;
  padding:0.2em;
}
#mainpage-forum {
  width:100%;
  margin-top:5px;
  background:#F5EEFD;
  border:1px solid #CEA8F4;
  vertical-align: top;
  padding:0.2em;
}
#mainpage-greeting {
  width:100%;
  text-align: center;
  font-family: monospace;
  font-size: 150%;
  color: white;
  background-color: black;
  padding:0.5em 0;
}
#mainpage-greeting a {
  color: white;
}
#mainpage-greeting-rumor {
  font-size: 75%;
}
#mainpage-featured {
  width:100%;
  margin-top:5px;
  background:#FFECEC;
  border:1px solid #FFBBBB;
  vertical-align: top;
  padding:0.2em;
  box-sizing:border-box;
}
#mainpage-featured img {
  max-width: 100%;
  height: auto;
}
#mainpage-featured h3, #mainpage-news h3, #mainpage-forum h3 {
  padding-top: 0;
  margin-top: 0;
}
#mainpage-role-list {
  background: #EEEEFF;
  border: 2px solid #BBBBFF;
}
#mainpage-objclass-list {
  background: #ECF4FF;
  border: 2px solid #ABCFFF;
}
#mainpage-indepth-list {
  background: #F5EEFD;
  border: 2px solid #CEA8F4;
}
#mainpage-monster-list {
  background: #E7FFDF;
  border: 2px solid #8FFF6F;
}
/* Hide main page category box */
.page-Main_Page #catlinks {
  display:none;
}

/* [[Special:Search]] has some javascript, see [[Mediawiki:common.js]] */
.mw-search-results li:hover {
  background-color:#f0f0f0;
  cursor:pointer;
}

/* [[mw:Extension:Cite]]: Hilight the reference user is looking at */
.reference:target,
ol.references li:target {
  background-color: #f0f0f0;
}

/*</pre>*/
/* CSS placed here will affect users of the Vector skin */

body {
  color: black;
}

/* keep superscript and subscript text from breaking the line-spacing */
#bodyContent sup {
    font-size: smaller;
    vertical-align: baseline;
    position: relative;
    bottom: 0.33em;
}
#bodyContent sub {
    font-size: smaller;
    vertical-align: baseline;
    position: relative;
    bottom: -0.25em;
}

fieldset {
    border:1px solid #2F6FAB;
    background-color: #f0f0f0;
}
#preferences fieldset { background-color:inherit; }

/* https://bugzilla.wikimedia.org/show_bug.cgi?id=23708 */
pre.css.source-css,               /* MediaWiki:*.css, User:*.css */
pre.javascript.source-javascript, /* MediaWiki:*.js, User:*.js */
div.mw-geshi pre,                 /* source enclose="pre" */
div.mw-geshi div,                 /* source enclose="div" */
span.mw-geshi                     /* source enclose="none" */ {
    font-family: monospace, sans-serif !important;
}
tt, code, pre, textarea {
   font-family: monospace, sans-serif;
}

tt {
   background: #f8f8f8;
   border: 1px dashed #ddd;
}

/* For positioning icons at top-right, taken from http://en.wikipedia.org/w/index.php?title=MediaWiki:Vector.css&oldid=395960704 */
div.topicon {
  position: absolute;
  top: -2em;
  margin-right: -10px;
  display: block !important;
}

#mw-panel {
  padding-top: 0 !important;
}
#mw-panel #p-navigation h3 {
  display: none;
}
#mw-panel #p-navigation div.body {
  background-image: none;
}

/* TOC */
#toc li a { display:inline-block; width: 100%; border-radius:0.5em; -moz-border-radius:0.5em; }
#toc li a:hover { background-color:#e8e8e8; }
/* [[Template:Float left]] and [[Template:Float right]] + TOC */
.floatright #toc { margin-left:0.25em; padding-left:0.25em; }
.floatleft #toc { margin-right:0.25em; padding-right:0.25em; }

/* side panel */
#mw-panel .portal .body { margin-left: 0.75em !important; }
#mw-panel .body li { padding:0 !important; margin:0; line-height:1em !important; }
#mw-panel .body li a { display:inline-block; width:90%; padding:0.25em; margin:0; border-radius:0.5em; -moz-border-radius:0.5em; }
#mw-panel .body li a:hover { background-color:#e8e8e8; }
#mw-panel .body a.feedlink { padding-left:16px !important; }

/* my profile/talk/prefs/watchlist/contribs/logout links up top */
#mw-head #p-personal li { margin-left:0; }
#mw-head #p-personal li a { padding:0.25em; border-radius:0.5em; -moz-border-radius:0.5em; }
#mw-head #p-personal li.active a,
#mw-head #p-personal li a:hover { background-color:#f0f0f0; }

/* footer stuff */
#footer-info li { display: inline; }
#footer-places li a { padding:0.25em; border-radius:0.5em; -moz-border-radius:0.5em; }
.page-NetHackWiki_About #footer-places-about a,
.page-NetHackWiki_General_disclaimer #footer-places-disclaimer a,
#footer-places li a:hover { background-color:#e8e8e8; }

/* side panel, perm hilite when on particular page */
body.page-Dungeon_feature #n-Dungeon-Features a,
body.page-Monster #n-Monsters a,
body.page-Property #n-In\.2FExtrinsics a,
body.page-Item #n-Items a,
body.page-Spellbook #n-Spells a,
body.page-Options #n-Game-options a,
body.page-Websites #n-Websites a,
body.page-Special_SpecialPages #t-specialpages a,
body.page-Special_Upload #t-upload a,
body.page-NetHackWiki_Current_projects #n-Current-projects a,
body.page-NetHackWiki_How_to_help #n-help a,
body.page-NetHackWiki_Style_guide #n-Style-guide a,
body.page-Main_Page #p-navigation #n-NetHack-Wiki a,
body.ns-110 #p-navigation #n-Forum a,
body.page-NetHackWiki_Community_Portal #p-navigation #n-portal a,
body.page-Special_RecentChanges #p-navigation #n-recentchanges a { background-color:#e8e8e8; }

/* actions "popup" menu */
#p-cactions .menu li a:hover { background-color: #e0e0e0; }


/* category list pages, eg [[Category:Todo]] */
#mw-pages h3 { padding-left:1em; padding-top:1em; font-size:1.75em; }
#mw-pages td h3:first-child { border:none; }
#mw-pages ul { list-style:none; }
#mw-pages ul li { padding:0.1em; margin:0; }
#mw-pages ul li:nth-child(odd) { background-color: #f0f0f0; }
#mw-pages ul li:hover { background-color: #e0e0e0; }
#mw-pages ul li a { display:inline-block; width:100%; padding-left:1em; }
#mw-pages td ul { margin:0.25em; margin-bottom:1em; }

/* input fields */
select:focus,
textarea:focus,
input:focus {
  background-color: #fffff8;
  outline: 1px solid #ffff80;
}

/* disabled fields with labels after them */
input:disabled:checked ~ label,
input:disabled ~ label {
  color: #a0a0a0;
}
/* better UI for checkboxes and radio buttons labels */
input[type=radio] ~ label,
input[type=checkbox] ~label {
  padding:0.1em 0.5em;
  border-radius:0.5em;
  -moz-border-radius:0.5em;
}
input[type=radio] ~ label:hover,
input[type=checkbox] ~ label:hover {
  background-color:#e0e0e0;
}
input[type=radio]:checked ~ label,
input[type=checkbox]:checked ~ label {
  text-shadow: 1px 0 #000000; /* fake bold */
}


/* used by eg. [[Template:Religion]] and [[Special:SpecialPages]] */
.page-Special_SpecialPages #bodyContent li a,
.hoverlist li a { display:inline-block; width: 100%; border-radius:0.5em; -moz-border-radius:0.5em; }
.page-Special_SpecialPages #bodyContent li a:hover,
.hoverlist li a:hover { background-color:#e0e0e0; }

/* turn all links inside class="hoverlinks" into rounded ones */
.hoverlinks a { padding:0.25em; border-radius:0.5em; -moz-border-radius:0.5em; }
.hoverlinks a:hover { background-color:#e0e0e0; }


table.striped tr:nth-child(odd) { background: #fdfdfd; }
table.striped tr:hover { background:#ffffff; }

/* [[Special:AllPages]] and [[Special:PrefixIndex]] */
#mw-prefixindex-list-table tr:nth-child(even) td:nth-child(even),
#mw-prefixindex-list-table tr:nth-child(odd) td:nth-child(odd),
.mw-allpages-table-chunk tr:nth-child(even) td:nth-child(even),
.mw-allpages-table-chunk tr:nth-child(odd) td:nth-child(odd) {
  background:#f8f8f8;
}
#mw-prefixindex-list-table a,
.mw-allpages-table-chunk a {
  display:block;
  width:100%;
}
#mw-prefixindex-list-table a:hover,
.mw-allpages-table-chunk a:hover {
  font-weight:bold;
  background:#f0f0f0;
}

.redirect-in-category,
.watchlistredir,
.allpagesredirect { font-style: italic; font-size:90%; }
.redirect-in-category a,
.watchlistredir a,
.allpagesredirect a { color:#808080; }

/* talk page and forum page "responses" */
body.page-NetHackWiki_Community_Portal dd,
body.page-NetHackWiki_Community_Portal dd dd dd dd,
body.page-NetHackWiki_Community_Portal dd dd dd dd dd dd dd,
body.page-NetHackWiki_Community_Portal dd dd dd dd dd dd dd dd dd dd,
body.ns-talk dd,
body.ns-talk dd dd dd dd,
body.ns-talk dd dd dd dd dd dd dd,
body.ns-talk dd dd dd dd dd dd dd dd dd dd,
body.ns-110 dd,
body.ns-110 dd dd dd dd,
body.ns-110 dd dd dd dd dd dd dd,
body.ns-110 dd dd dd dd dd dd dd dd dd dd {
  background-color: #f7f7f7;
  margin-bottom:0;
  padding:0.25em;
}
body.page-NetHackWiki_Community_Portal dd dd,
body.page-NetHackWiki_Community_Portal dd dd dd dd dd,
body.page-NetHackWiki_Community_Portal dd dd dd dd dd dd dd dd,
body.page-NetHackWiki_Community_Portal dd dd dd dd dd dd dd dd dd dd dd,
body.ns-talk dd dd,
body.ns-talk dd dd dd dd dd,
body.ns-talk dd dd dd dd dd dd dd dd,
body.ns-talk dd dd dd dd dd dd dd dd dd dd dd,
body.ns-110 dd dd,
body.ns-110 dd dd dd dd dd,
body.ns-110 dd dd dd dd dd dd dd dd,
body.ns-110 dd dd dd dd dd dd dd dd dd dd dd {
  background-color:#f0f0f0;
  margin-bottom:0;
  padding:0.25em;
}
body.page-NetHackWiki_Community_Portal dl,
body.ns-talk dl,
body.ns-110 dl {
  margin-bottom:0.5em;
}


/* [[Special:Contributions]] */
body[class*=page-Special_Contributions] #bodyContent ul li:nth-child(odd) { background-color: #f0f0f0; }
body[class*=page-Special_Contributions] #bodyContent ul li:hover { background-color:#e0e0e0; }

/* in Special:RecentChanges : color the "(+X)" or "(-X)" (number of characters added or removed) */
.mw-plusminus-pos { color:#004000 !important; }
.mw-plusminus-neg { color:#400000 !important; }
body.page-Special_RecentChanges .mw-line-even { background-color:#f0f0f0; }
body.page-Special_RecentChanges .mw-line-even:hover,
body.page-Special_RecentChanges .mw-line-odd:hover { background-color:#e0e0e0; }
/* Special:RecentChanges with enhanced RC */
.page-Special_RecentChanges table.mw-enhanced-rc.mw-collapsible td:first-child { width: 15px; }
.page-Special_RecentChanges table.mw-enhanced-rc td.mw-enhanced-rc { width: 0 /* as narrow as the content allows */ }
.page-Special_RecentChanges table.mw-enhanced-rc td.mw-enhanced-rc::before { display: inline-block; width: 0; font-family: sans-serif; content: '\00A0' } /* kluge to fix time stamp vertical alignment */
.page-Special_RecentChanges table.mw-enhanced-rc { width: 100% }
.page-Special_RecentChanges table.mw-enhanced-rc tr:hover { background-color:#e0e0e0; }

/* [[Special:NewPages]] */
.page-Special_NewPages #bodyContent li:hover { background-color: #e0e0e0; }

/* [[Special:Log]] */
.page-Special_Log #bodyContent li:nth-child(odd) { background-color: #f0f0f0; }
.page-Special_Log #bodyContent li:hover { background-color: #e0e0e0; }



/* [[Special:PopularPages]], [[Special:MostLinkedTemplates]], [[Special:MostLinkedCategories]], [[Special:MostLinkedPages]],
   [[Special:MostCategories]], [[Special:MostRevisions]], [[Special:ProtectedPages]] */
#bodyContent ul#mw-whatlinkshere-list li:nth-child(odd),
#bodyContent .mw-spcontent ol li:nth-child(odd),
#bodyContent .mw-spcontent ul li:nth-child(odd),
.page-Special_ProtectedPages #bodyContent ul li:nth-child(odd),
.page-Special_Categories #bodyContent ul li:nth-child(odd),
.page-Special_ActiveUsers #bodyContent ul li:nth-child(odd),
.page-Special_ListUsers #bodyContent ul li:nth-child(odd),
.templatesUsed ul li:nth-child(odd),
.page-Special_PopularPages ol li:nth-child(odd) { background-color: #f0f0f0; }
#bodyContent ul#mw-whatlinkshere-list li:hover,
#bodyContent .mw-spcontent ol li:hover,
#bodyContent .mw-spcontent ul li:hover,
.page-Special_ProtectedPages #bodyContent ul li:hover,
.page-Special_Categories #bodyContent ul li:hover,
.page-Special_ActiveUsers #bodyContent ul li:hover,
.page-Special_ListUsers #bodyContent ul li:hover,
.templatesUsed ul li:hover,
.page-Special_PopularPages ol li:hover { background-color: #e0e0e0; }
#bodyContent ul#mw-whatlinkshere-list:first-child > li,
#bodyContent .mw-spcontent ol li,
#bodyContent .mw-spcontent ul li,
.page-Special_Categories #bodyContent ul li,
.templatesUsed ul li,
.page-Special_PopularPages ol li { width:40%; }
.page-Special_ListUsers #bodyContent .mw-spcontent ul li,
.page-Special_DoubleRedirects ol li { width:100% !important; }
.page-Special_ListUsers #bodyContent ul li a:first-child,
.page-Special_ActiveUsers #bodyContent ul li a.mw-userlink { display:inline-block; width:10em; }
.page-Special_Categories #bodyContent ul li a:first-child,
.page-Special_UnusedTemplates ol li a:first-child,
.templatesUsed ul li a:first-child,
.page-Special_MostLinkedTemplates ol li a:first-child,
.page-Special_MostLinkedCategories ol li a,
.page-Special_MostLinkedPages ol li a:first-child,
.page-Special_MostCategories ol li a,
.page-Special_MostRevisions ol li a:first-child,
.page-Special_PopularPages ol li a { display:inline-block; width:75%; }
.page-Special_DoubleRedirects ol li a:first-child,
.page-Special_DoubleRedirects ol li a:nth-child(3) { display:inline-block; width:25%; }
.page-Special_UncategorizedTemplates ol li a { display:inline-block; width:100%; }

/* [[Special:AllPages]] */
.allpageslist a {
  display:block;
  padding-left:0.25em;
  padding-right:0.25em;
}
.allpageslist a:hover {
  background-color:#e8e8e8;
  border-radius:0.5em;
}

/* [[Special:LonelyPages]], [[Special:DeadendPages]], [[Special:WithoutInterwiki]], [[Special:UncategorizedPages]], [[Special:UnusedCategories]] */
.page-Special_LonelyPages .mw-spcontent ol.special li a,
.page-Special_WithoutInterwiki .mw-spcontent ol.special li a,
.page-Special_UncategorizedPages .mw-spcontent ol.special li a,
.page-Special_UnusedCategories .mw-spcontent ol.special li a,
.page-Special_DeadendPages .mw-spcontent ol.special li a {
  display:block;
}


/* Main page forum box */
#mainpage-forum a.forum_new {
  font-weight: bold;
}
#mainpage-forum h3 a { display:block; }
#mainpage-forum h3 a:hover,
#mainpage-forum li:hover {
  border-radius: 0.5em 0.5em 0.5em 0.5em;
  background-color: #F0D8FF;
}
#mainpage-forum li {
  font-size: 80%;
  padding-left: 1.5em;
}
#mainpage-forum li a:first-child {
  display: block;
  font-size: 125%;
  margin: 0.25em 0 -0.25em -1em;
}


/* Hide the main page title */
body.page-Main_Page h1.firstHeading { display:none !important; }

/* extra buttons for edit dialog (from commons:MediaWiki:Common.css) */
#editpage-specialchars {
	padding: .5em;
}
#editpage-specialchars a {
	color: black;
	background-color: #cde !important;
	font-weight: bold;
	font-size: .9em;
	text-decoration: none;
	border: thin #069 outset;
	padding: 0 .1em .1em;
}
#editpage-specialchars a:hover,
#editpage-specialchars a:active {
	background-color: #bcd;
	border-style: inset;
}

/* Special:Search */
.search-types .current {
  background-color:#d0d0d0;
  border-radius:0.5em;
}

#userloginForm {
  float:none;
  background-color: #f0f0f0;
  width:46em;
  margin-left: auto;
  margin-right: auto;
}
#userlogin {
  float:none;
  margin-left: auto;
  margin-right: auto;
  background-color: #f0f0f0;
}

/* page revision history */
#pagehistory li:nth-child(odd) {
  background-color: #f9f9f9;
}
#pagehistory li:hover {
  background-color: #f0f0f0;
}
#pagehistory li.selected {
  background-color: #e8e8e8;
  border: 1px dashed #808080;
}

/* targeting a section header */
.mw-headline {
  display:block;
  float:left;
}
.mw-editsection {
  float:right;
}
.mw-headline:target {
  background-color:#fff0b0;
}



/* link icons for telnet and SSH links */

div#content a[href^="telnet:"], div#content a.extiw[href^="telnet:"], .link-telnet {
  /* [[File:Telnet-icon.png]] */
  background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAMAAAC67D+PAAAAM1BMVEX///+goKCgoKATExMAAAAqKioDAwMtLS2MjIxmZmY0NDSPj49bW1sRERF1dXV4eHhVVVWcCAENAAAAAnRSTlMAuLMp9oYAAAA3SURBVHheTcxHEgAgCENRDPZ+/9OKDo7+1dsk9GWgGYLzdscghJiOhbnUyyZQCvqYh2x19p+9FkZsAUi9IX9TAAAAAElFTkSuQmCC") no-repeat scroll right center transparent;
  padding-right: 13px;
}

div#content a[href^="ssh:"], div#content a.extiw[href^="ssh:"], .link-ssh {
  /* [[File:Ssh-icon.png]] */
  background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAMAAAC67D+PAAAAclBMVEX///+goKCdn5uWl5OgoKAAAAARERFERUJYWViIioW+tm6cnprv3lO4sWk0NDSPj4+MjIyxqmcDAwOxsrAoKCj041gtLS1OT03/+Lv/849mZmZwcW6SlI/j00/Lui+qp4FbW1v/8YFmZ2a5sWm7tGynpIBMSTSHAAAABHRSTlMAv3+/jugUkwAAAFRJREFUeF5NzEUOxEAMRFF3YjcGmWHo/lecamWTv3qyrKJHiu8UEXeNIM3gUC1inWvBorzGYN8hIdYi62ZMSInxmPfTnNW4Rr52MI6BBxg7vf98f3+ohAQc7MJkBQAAAABJRU5ErkJggg==") no-repeat scroll right center transparent;
  padding-right: 13px;
}

blockquote {
  border-left:4px solid #258;
  padding-left:0.5em;
}
blockquote::before{
  content:"\201C";
  font-size:250%;
  line-height: 1em;
  font-weight:bold;
  color:#258;
  position: relative;
}