|
|
(28 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
− | /* Colors not controlled by vector/common */
| |
| | | |
− | .editOptions {
| |
− | background-color: #0f1115;
| |
− | color: #ffffff;
| |
− | border: 1px solid #373b40;
| |
− | }
| |
− |
| |
− | select {
| |
− | background-color: #111;
| |
− | border: 1px solid black;
| |
− | color: white;
| |
− | }
| |
− |
| |
− | div#mw-panel div.portal div.body ul li a:visited, a:visited {
| |
− | color: #8a7fff
| |
− | }
| |
− |
| |
− | div#mw-panel div.portal div.body ul li a, a {
| |
− | color: #5291f9
| |
− | }
| |
− |
| |
− | input, textarea, select, button, .oo-ui-textInputWidget input {
| |
− | color: #ddd;
| |
− | background-color: #111;
| |
− | border: 1px solid black;
| |
− | }
| |
− |
| |
− | .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
| |
− | color: #ddd;
| |
− | background-color: #1f2125;
| |
− | border: 1px solid #1f2125;
| |
− | }
| |
− |
| |
− | .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover {
| |
− | color: #ddd;
| |
− | background-color: #2f3135;
| |
− | border: 1px solid #2f3135;
| |
− | }
| |
− |
| |
− | .mw-body, div#mw-head {
| |
− | color: #ddd;
| |
− | background-color: #222;
| |
− | }
| |
− |
| |
− | *<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: white;
| |
− | background-color: #808000;
| |
− | border: 0.5em solid red;
| |
− | padding: 0.5em;
| |
− | margin: 0.5em;
| |
− | }
| |
− |
| |
− | .previewnote-inner-msg {
| |
− | background-color:#200;
| |
− | 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: #060606;
| |
− | border: 1px #555555 solid;
| |
− | border-collapse: collapse;
| |
− | }
| |
− |
| |
− | table.wikitable th, table.wikitable td,
| |
− | table.prettytable th, table.prettytable td {
| |
− | border: 1px #555555 solid;
| |
− | padding: 0.2em;
| |
− | }
| |
− |
| |
− | table.wikitable th,
| |
− | table.prettytable th {
| |
− | background: #0d0d0d;
| |
− | text-align: center;
| |
− | }
| |
− |
| |
− | table.wikitable caption,
| |
− | table.prettytable caption {
| |
− | margin-left: inherit;
| |
− | margin-right: inherit;
| |
− | }
| |
− |
| |
− | .mw-interwikitable-row:hover {
| |
− | background-color:#1f1f1f;
| |
− | }
| |
− |
| |
− |
| |
− | /* [[Template:Encyclopedia]] */
| |
− | .nhencyclopedia {
| |
− | font-family: Palatino Linotype;
| |
− | font-style: italic;
| |
− | background-color: rgb(113, 113, 64);
| |
− | border: 2px dashed rgb(123, 123, 74);
| |
− | margin: 0.5em;
| |
− | padding: 1em;
| |
− | width: 60%;
| |
− | }
| |
− | /* [[Template:Guidebook]] */
| |
− | .nhguidebook {
| |
− | font-family: monospace, serif;
| |
− | background-color: #0f0707;
| |
− | border: 2px dashed #2f2020;
| |
− | 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:#fff;
| |
− | background:#111;
| |
− | border:2px outset #555;
| |
− | 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: #0f0f0f; }
| |
− | .forumlist tr:nth-child(even):hover td,
| |
− | .forumlist tr:hover td { background-color: #1f1f1f; }
| |
− | .forumlist td.forum_title a { display:block; width:100%; }
| |
− | .forumlist td.forum_edited a { color:white; text-decoration: none; }
| |
− | .forumheader { display:none; }
| |
− |
| |
− |
| |
− | /* Skill tables, [[NetHackWiki:Skill_table_generator]] */
| |
− | .Spell-skilltable .restricted,
| |
− | .Combat-skilltable .restricted,
| |
− | .Weapon-skilltable .restricted { background-color: #910; }
| |
− | .Spell-skilltable .basic,
| |
− | .Combat-skilltable .basic,
| |
− | .Weapon-skilltable .basic { background-color: #830; }
| |
− | .Spell-skilltable .skilled,
| |
− | .Combat-skilltable .skilled,
| |
− | .Weapon-skilltable .skilled { background-color: #750; }
| |
− | .Spell-skilltable .expert,
| |
− | .Combat-skilltable .expert,
| |
− | .Weapon-skilltable .expert { background-color: #670; }
| |
− | .Spell-skilltable .master,
| |
− | .Combat-skilltable .master,
| |
− | .Weapon-skilltable .master { background-color: #590; }
| |
− | .Spell-skilltable .grandmaster,
| |
− | .Combat-skilltable .grandmaster,
| |
− | .Weapon-skilltable .grandmaster { background-color: #490; }
| |
− | .Spell-skilltable .unknown_skill,
| |
− | .Combat-skilltable .unknown_skill,
| |
− | .Weapon-skilltable .unknown_skill { background-color: #077; }
| |
− |
| |
− |
| |
− | /* [[Template:Features]] [[Template:ASCII]] [[Template:items]] */
| |
− | .itemclasses td a:hover,
| |
− | .dungeonfeatures td a:hover,
| |
− | .ASCIItable td a:hover { background-color:#1f1f1f; }
| |
− | .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:#102f00;
| |
− | 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 #330033;
| |
− | background-color: #110011;
| |
− | 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: #808000;
| |
− | text-align: left;
| |
− | padding: 1em;
| |
− | }
| |
− |
| |
− | /* [[Template:Merge]] */
| |
− | .merge {
| |
− | width: 90%;
| |
− | margin-left: auto;
| |
− | margin-right: auto;
| |
− | border: solid 3px white;
| |
− | background-color: #008000;
| |
− | 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: #21210E;
| |
− | border:2px solid #444433;
| |
− | padding: 1em;
| |
− | }
| |
− |
| |
− |
| |
− | .centered {
| |
− | display:table;
| |
− | margin-right:auto;
| |
− | margin-left:auto;
| |
− | }
| |
− |
| |
− |
| |
− | /* Syntax coloring via GeSHi */
| |
− | .mw-geshi {
| |
− | background-color:#060606;
| |
− | border: 1px dashed #173755;
| |
− | padding: 1em;
| |
− | }
| |
− | .mw-geshi li:nth-child(odd) { background-color:#060606; }
| |
− | .mw-geshi li:nth-child(even) { background-color:#0b0b0b; }
| |
− | .mw-geshi li:hover {
| |
− | background-color: #222200;
| |
− | }
| |
− | .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:#808000 !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: #060606;
| |
− | 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: #706700; } /* yellowish */
| |
− |
| |
− | /* [[Template:Resolved top]] */
| |
− | .resolved_issue {
| |
− | border:1px solid #555;
| |
− | padding:0.5em 0.25em 0 0.25em;
| |
− | margin:1em 0;
| |
− | background:#001;
| |
− | }
| |
− |
| |
− | /* Main page boxes */
| |
− | #mainpage-news {
| |
− | width:100%;
| |
− | margin-top:0px;
| |
− | background:#E7FFDF;
| |
− | border:1px solid #209000;
| |
− | vertical-align: top;
| |
− | padding:0.2em;
| |
− | }
| |
− | #mainpage-forum {
| |
− | width:100%;
| |
− | margin-top:5px;
| |
− | background:#07000F;
| |
− | border:1px solid #310B57;
| |
− | 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:#130000;
| |
− | border:1px solid #440000;
| |
− | 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: #000011;
| |
− | border: 2px solid #000044;
| |
− | }
| |
− | #mainpage-objclass-list {
| |
− | background: #000813;
| |
− | border: 2px solid #003054;
| |
− | }
| |
− | #mainpage-indepth-list {
| |
− | background: #090211;
| |
− | border: 2px solid #310B57;
| |
− | }
| |
− | #mainpage-monster-list {
| |
− | background: #082000;
| |
− | border: 2px solid #209000;
| |
− | }
| |
− | /* 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:#0f0f0f;
| |
− | cursor:pointer;
| |
− | }
| |
− |
| |
− | /* [[mw:Extension:Cite]]: Hilight the reference user is looking at */
| |
− | .reference:target,
| |
− | ol.references li:target {
| |
− | background-color: #0f0f0f;
| |
− | }
| |
− |
| |
− | /*</pre>*/
| |
− |
| |
− | /* CSS placed here will affect users of the Vector skin */
| |
− |
| |
− | body, h1, h2, h3, h4, h5, h6 {
| |
− | color: white;
| |
− | }
| |
− |
| |
− | /* 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 #5494D0;
| |
− | background-color: #0f0f0f;
| |
− | }
| |
− | #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: #070707;
| |
− | border: 1px dashed #222;
| |
− | }
| |
− |
| |
− | /* 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:#171717; }
| |
− | /* [[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:#171717; }
| |
− | #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:#0f0f0f; }
| |
− |
| |
− | /* 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:#171717; }
| |
− |
| |
− | /* 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:#171717; }
| |
− |
| |
− | /* actions "popup" menu */
| |
− | #p-cactions .menu li a:hover { background-color: #1f1f1f; }
| |
− |
| |
− |
| |
− | /* 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: #0f0f0f; }
| |
− | #mw-pages ul li:hover { background-color: #1f1f1f; }
| |
− | #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: #070700;
| |
− | outline: 1px solid #7f7f00;
| |
− | }
| |
− |
| |
− | /* disabled fields with labels after them */
| |
− | input:disabled:checked ~ label,
| |
− | input:disabled ~ label {
| |
− | color: #5f5f5f;
| |
− | }
| |
− | /* 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:#1f1f1f;
| |
− | }
| |
− | input[type=radio]:checked ~ label,
| |
− | input[type=checkbox]:checked ~ label {
| |
− | text-shadow: 1px 0 #ffffff; /* 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:#1f1f1f; }
| |
− |
| |
− | /* 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:#1f1f1f; }
| |
− |
| |
− |
| |
− | table.striped tr:nth-child(odd) { background: #020202; }
| |
− | table.striped tr:hover { background:#000000; }
| |
− |
| |
− | /* [[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:#070707;
| |
− | }
| |
− | #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:#0f0f0f;
| |
− | }
| |
− |
| |
− | .redirect-in-category,
| |
− | .watchlistredir,
| |
− | .allpagesredirect { font-style: italic; font-size:90%; }
| |
− | .redirect-in-category a,
| |
− | .watchlistredir a,
| |
− | .allpagesredirect a { color:#7f7f7f; }
| |
− |
| |
− | /* 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: #080808;
| |
− | 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:#0f0f0f;
| |
− | 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: #0f0f0f; }
| |
− | body[class*=page-Special_Contributions] #bodyContent ul li:hover { background-color:#1f1f1f; }
| |
− |
| |
− | /* in Special:RecentChanges : color the "(+X)" or "(-X)" (number of characters added or removed) */
| |
− | .mw-plusminus-pos { color:#bfffbf; }
| |
− | .mw-plusminus-neg { color:#ffbfbf; }
| |
− | body.page-Special_RecentChanges .mw-line-even { background-color:#0f0f0f; }
| |
− | body.page-Special_RecentChanges .mw-line-even:hover,
| |
− | body.page-Special_RecentChanges .mw-line-odd:hover { background-color:#1f1f1f; }
| |
− | /* 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:#1f1f1f; }
| |
− |
| |
− | /* [[Special:NewPages]] */
| |
− | .page-Special_NewPages #bodyContent li:hover { background-color: #1f1f1f; }
| |
− |
| |
− | /* [[Special:Log]] */
| |
− | .page-Special_Log #bodyContent li:nth-child(odd) { background-color: #0f0f0f; }
| |
− | .page-Special_Log #bodyContent li:hover { background-color: #1f1f1f; }
| |
− |
| |
− |
| |
− |
| |
− | /* [[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: #0f0f0f; }
| |
− | #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: #1f1f1f; }
| |
− | #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:#171717;
| |
− | 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: #0F0027;
| |
− | }
| |
− | #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: white;
| |
− | background-color: #123 !important;
| |
− | font-weight: bold;
| |
− | font-size: .9em;
| |
− | text-decoration: none;
| |
− | border: thin #024 outset;
| |
− | padding: 0 .1em .1em;
| |
− | }
| |
− | #editpage-specialchars a:hover,
| |
− | #editpage-specialchars a:active {
| |
− | background-color: #234;
| |
− | border-style: inset;
| |
− | }
| |
− |
| |
− | /* Special:Search */
| |
− | .search-types .current {
| |
− | background-color:#2f2f2f;
| |
− | border-radius:0.5em;
| |
− | }
| |
− |
| |
− | #userloginForm {
| |
− | float:none;
| |
− | background-color: #0f0f0f;
| |
− | width:46em;
| |
− | margin-left: auto;
| |
− | margin-right: auto;
| |
− | }
| |
− | #userlogin {
| |
− | float:none;
| |
− | margin-left: auto;
| |
− | margin-right: auto;
| |
− | background-color: #0f0f0f;
| |
− | }
| |
− |
| |
− | /* page revision history */
| |
− | #pagehistory li:nth-child(odd) {
| |
− | background-color: #060606;
| |
− | }
| |
− | #pagehistory li:hover {
| |
− | background-color: #0f0f0f;
| |
− | }
| |
− | #pagehistory li.selected {
| |
− | background-color: #171717;
| |
− | border: 1px dashed #7f7f7f;
| |
− | }
| |
− |
| |
− | /* targeting a section header */
| |
− | .mw-headline {
| |
− | display:block;
| |
− | float:left;
| |
− | }
| |
− | .mw-editsection {
| |
− | float:right;
| |
− | }
| |
− | .mw-headline:target {
| |
− | background-color:#4f4000;
| |
− | }
| |
− |
| |
− |
| |
− |
| |
− | /* 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 #7ad;
| |
− | padding-left:0.5em;
| |
− | }
| |
− | blockquote::before{
| |
− | content:"\201C";
| |
− | font-size:250%;
| |
− | line-height: 1em;
| |
− | font-weight:bold;
| |
− | color:#7ad;
| |
− | position: relative;
| |
− | }
| |