Difference between revisions of "User:Phol ende wodan/vector.css"
Jump to navigation
Jump to search
m (duplicated lines) |
(reset to FIQ version, except all redundant rules from common.css have been struck out) |
||
Line 1: | Line 1: | ||
+ | /* Colors not controlled by vector/common */ | ||
+ | |||
+ | /* Favorite page buttons */ | ||
+ | #ca-watch.icon a, #ca-unwatch.icon a { | ||
+ | filter: hue-rotate(180deg) invert(100%) | ||
+ | } | ||
+ | |||
+ | /* Wiki tables */ | ||
+ | table.wikitable, table.wikitable > tr > th, table.wikitable > * > tr > th { | ||
+ | color: inherit; | ||
+ | background-color: inherit; | ||
+ | } | ||
+ | |||
+ | /* Math images */ | ||
+ | .mwe-math-fallback-image-inline { | ||
+ | filter: invert(85%); | ||
+ | } | ||
+ | |||
+ | .tocnumber { | ||
+ | color:#ddd; | ||
+ | } | ||
+ | |||
+ | /* Diffs */ | ||
+ | td.diff-context { | ||
+ | border-color: inherit; | ||
+ | background-color: inherit; | ||
+ | } | ||
+ | td.diff-context div { | ||
+ | color: white; | ||
+ | } | ||
+ | |||
+ | td.diff-deletedline { | ||
+ | border-color: #634800; | ||
+ | } | ||
+ | td.diff-deletedline .diffchange { | ||
+ | background-color: #372701; | ||
+ | } | ||
+ | |||
+ | td.diff-addedline { | ||
+ | border-color: #00305c; | ||
+ | } | ||
+ | td.diff-addedline .diffchange { | ||
+ | background-color: #001427; | ||
+ | } | ||
+ | |||
+ | /* Table of content lists */ | ||
+ | #toc, .toc, .mw-warning, .toccolours, .catlinks { | ||
+ | border: 1px solid #556; | ||
+ | background-color: #060708; | ||
+ | } | ||
+ | |||
+ | /* Preview warning */ | ||
+ | .previewnote { | ||
+ | color: #f33; | ||
+ | } | ||
+ | |||
+ | /* Header magic, stolen from the dark-mode vector theme */ | ||
+ | #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 | ||
+ | } | ||
+ | #left-navigation div.vectorTabs,#right-navigation div.vectorTabs { | ||
+ | background-image:inherit; | ||
+ | background-color:#250b2d | ||
+ | } | ||
+ | #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- by normal meansgradient(top, #2e2e2e 20%, #222 100%); | ||
+ | background-image:linear-gradient(#2e2e2e 20%, #222 100%) | ||
+ | } | ||
+ | #left-navigation div.vectorTabs li.selected,#right-navigation div.vectorTabs li.selected { | ||
+ | background-color:#333; | ||
+ | background-image:-moz-linear-gradient(top, #5291f9 0, #333 10%); | ||
+ | background-image:-webkit-gradient(linear, left top, left bottom, color-stop(, except a newly added teleport trap0, #5291f9), color-stop(10%, #333)); | ||
+ | background-image:-webkit-linear-gradient(top, #5291f9 0, #333 10%); | ||
+ | background-image:linear-gradient(#5291f9 0, #333 10%) | ||
+ | } | ||
+ | #left-navigation div.vectorTabs span,#right-navigation div.vectorTabs span { | ||
+ | background:transparent | ||
+ | } | ||
+ | div#mw-head #right-navigation div.vectorMenu h3 { | ||
+ | background:inherit | ||
+ | } | ||
+ | div#mw-head div.vectorMenu h3 span { | ||
+ | color:#ffffff | ||
+ | } | ||
+ | div.vectorMenu h3 a { | ||
+ | background:inherit | ||
+ | } | ||
+ | div.vectorMenu ul { | ||
+ | background-color:black; | ||
+ | border:solid 1px #0c0c0c | ||
+ | } | ||
+ | div.vectorMenu li.selected a,div.vectorMenu li.selected a:visited { | ||
+ | color:#8a7f6c; | ||
+ | text-decoration:none | ||
+ | } | ||
+ | div.vectorMenu#p-cactions div.menu { | ||
+ | border-color:#666 | ||
+ | } | ||
+ | div.vectorMenu#p-cactions ul { | ||
+ | border:0; | ||
+ | background-color:#4c4c4c | ||
+ | } | ||
+ | |||
+ | .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, #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: #8a7fff | ||
+ | } | ||
+ | |||
+ | div#mw-panel div.portal div.body ul li a, a, #left-navigation div.vectorTabs li a,#right-navigation div.vectorTabs li a, div.vectorMenu li 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; | ||
+ | } | ||
+ | |||
+ | pre, .mw-code { | ||
+ | color: #fff; | ||
+ | background-color: #333333; | ||
+ | border: 1px solid #0f1113; | ||
+ | } | ||
+ | |||
+ | .mw-body, div#mw-head { | ||
+ | color: #ddd; | ||
+ | background-color: #222; | ||
+ | } | ||
+ | |||
+ | .mw-body { | ||
+ | border: 1px solid #063658; | ||
+ | } | ||
+ | |||
+ | /* things changed in the global common.css */ | ||
+ | |||
+ | #mw-anon-edit-warning, | ||
+ | #mw-read-only-warning { | ||
+ | color: white; | ||
+ | background-color: #808000; | ||
+ | border-color: red; | ||
+ | } | ||
+ | |||
+ | .previewnote-inner-msg { | ||
+ | background-color:#200; | ||
+ | border-color: red; | ||
+ | } | ||
+ | |||
+ | /* PRETTY TABLES | ||
+ | * The wikitable or prettytable class skins normal tables. */ | ||
+ | table.wikitable, | ||
+ | table.prettytable { | ||
+ | background: #060606; | ||
+ | border-color: #555555; | ||
+ | } | ||
+ | |||
+ | table.wikitable th, table.wikitable td, | ||
+ | table.prettytable th, table.prettytable td { | ||
+ | border-color: #555555; | ||
+ | } | ||
+ | |||
+ | table.wikitable th, | ||
+ | table.prettytable th { | ||
+ | background: #0d0d0d; | ||
+ | } | ||
+ | |||
+ | .mw-interwikitable-row:hover { | ||
+ | background-color:#1f1f1f; | ||
+ | } | ||
+ | |||
+ | .nhencyclopedia { | ||
+ | background-color: #717140; | ||
+ | border-color: #7b7b4a; | ||
+ | } | ||
+ | |||
+ | .nhguidebook { | ||
+ | background-color: #0f0707; | ||
+ | border-color: #2f2020; | ||
+ | } | ||
+ | |||
+ | .kbdsym { | ||
+ | color:#fff; | ||
+ | background:#111; | ||
+ | border-color: #555; | ||
+ | } | ||
+ | |||
+ | .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_edited a { | ||
+ | color:white; | ||
+ | } | ||
+ | |||
+ | /* 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; } | ||
+ | |||
+ | |||
+ | .itemclasses td a:hover, | ||
+ | .dungeonfeatures td a:hover, | ||
+ | .ASCIItable td a:hover { | ||
+ | background-color:#1f1f1f; | ||
+ | } | ||
+ | |||
+ | .itemclasses td .selflink, | ||
+ | .dungeonfeatures td .selflink, | ||
+ | .ASCIItable td .selflink { | ||
+ | background-color:#102f00; | ||
+ | } | ||
+ | |||
+ | .todo { | ||
+ | border-color: #330033; | ||
+ | background-color: #110011; | ||
+ | } | ||
+ | |||
+ | .delete { | ||
+ | background-color: #808000; | ||
+ | } | ||
+ | |||
+ | /* [[Template:Merge]] */ | ||
+ | .merge { | ||
+ | border-color: white; | ||
+ | background-color: #008000; | ||
+ | } | ||
+ | |||
+ | /* [[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 { | ||
+ | background-color: #21210E; | ||
+ | border-color: #444433; | ||
+ | padding: 1em; | ||
+ | } | ||
+ | |||
+ | |||
+ | /* Syntax coloring via GeSHi */ | ||
+ | .mw-geshi { | ||
+ | background-color:#060606; | ||
+ | border-color: #173755; | ||
+ | } | ||
+ | .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; | ||
+ | } | ||
+ | /* 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; } | ||
+ | |||
+ | .captioninner { | ||
+ | border-color: #ccc; | ||
+ | background-color: #060606; | ||
+ | } | ||
+ | |||
+ | /* [[Template:Bugstatus]] */ | ||
+ | .bugstatus.open { background:darkred; } | ||
+ | .bugstatus.fixed { background:darkgreen; } | ||
+ | .bugstatus.nextversion { background:darkcyan; } | ||
+ | .bugstatus.help { background:#808000; } | ||
+ | .bugstatus.not_a_bug { background:darkblue; } | ||
+ | |||
+ | .table-yes { background: darkgreen; } | ||
+ | .table-no { background: purple; } | ||
+ | .table-partial { background: #706700; } /* yellowish */ | ||
+ | |||
+ | /* [[Template:Resolved top]] */ | ||
+ | .resolved_issue { | ||
+ | border-color: #555; | ||
+ | background:#001; | ||
+ | } | ||
+ | |||
+ | /* Main page boxes */ | ||
+ | #mainpage-news { | ||
+ | background:#082000; | ||
+ | border-color: #209000; | ||
+ | } | ||
+ | #mainpage-forum { | ||
+ | background:#07000F; | ||
+ | border-color: #310B57; | ||
+ | } | ||
+ | #mainpage-greeting a { | ||
+ | color: white; | ||
+ | } | ||
+ | #mainpage-greeting-rumor { | ||
+ | font-size: 75%; | ||
+ | } | ||
+ | #mainpage-featured { | ||
+ | background:#130000; | ||
+ | border-color: #440000; | ||
+ | } | ||
+ | #mainpage-role-list { | ||
+ | background: #000011; | ||
+ | border-color: #000044; | ||
+ | } | ||
+ | #mainpage-objclass-list { | ||
+ | background: #000813; | ||
+ | border-color: #003054; | ||
+ | } | ||
+ | #mainpage-indepth-list { | ||
+ | background: #090211; | ||
+ | border-color: #310B57; | ||
+ | } | ||
+ | #mainpage-monster-list { | ||
+ | background: #082000; | ||
+ | border-color: #209000; | ||
+ | } | ||
+ | |||
+ | /* [[Special:Search]] has some javascript, see [[Mediawiki:common.js]] */ | ||
+ | .mw-search-results li:hover { | ||
+ | background-color:#0f0f0f; | ||
+ | } | ||
+ | |||
+ | /* [[mw:Extension:Cite]]: Hilight the reference user is looking at */ | ||
+ | .reference:target, | ||
+ | ol.references li:target { | ||
+ | background-color: #0f0f0f; | ||
+ | } | ||
+ | |||
/* CSS placed here will affect users of the Vector skin */ | /* CSS placed here will affect users of the Vector skin */ | ||
− | + | body { | |
− | + | color: white; | |
− | + | background-color: #111; | |
− | + | } | |
− | + | ||
− | + | 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; | |
− | #toc | + | 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; | |
− | + | } | |
− | + | ||
− | #mw- | + | /* For positioning icons at top-right, taken from http://en.wikipedia.org/w/index.php?title=MediaWiki:Vector.css&oldid=395960704 */ |
− | #mw- | + | 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- | + | #mw-panel #p-navigation div.body { |
− | .mw- | + | 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; } |
− | body. | + | .floatleft #toc { margin-right:0.25em; padding-right:0.25em; } |
− | body. | + | |
− | body. | + | /* side panel */ |
− | body. | + | #mw-panel .portal .body { margin-left: 0.75em !important; } |
− | body. | + | #mw-panel .body li { padding:0 !important; margin:0; line-height:1em !important; } |
− | body | + | #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; | ||
+ | } |
Revision as of 16:32, 16 December 2017
/* Colors not controlled by vector/common */
/* Favorite page buttons */
#ca-watch.icon a, #ca-unwatch.icon a {
filter: hue-rotate(180deg) invert(100%)
}
/* Wiki tables */
table.wikitable, table.wikitable > tr > th, table.wikitable > * > tr > th {
color: inherit;
background-color: inherit;
}
/* Math images */
.mwe-math-fallback-image-inline {
filter: invert(85%);
}
.tocnumber {
color:#ddd;
}
/* Diffs */
td.diff-context {
border-color: inherit;
background-color: inherit;
}
td.diff-context div {
color: white;
}
td.diff-deletedline {
border-color: #634800;
}
td.diff-deletedline .diffchange {
background-color: #372701;
}
td.diff-addedline {
border-color: #00305c;
}
td.diff-addedline .diffchange {
background-color: #001427;
}
/* Table of content lists */
#toc, .toc, .mw-warning, .toccolours, .catlinks {
border: 1px solid #556;
background-color: #060708;
}
/* Preview warning */
.previewnote {
color: #f33;
}
/* Header magic, stolen from the dark-mode vector theme */
#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
}
#left-navigation div.vectorTabs,#right-navigation div.vectorTabs {
background-image:inherit;
background-color:#250b2d
}
#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- by normal meansgradient(top, #2e2e2e 20%, #222 100%);
background-image:linear-gradient(#2e2e2e 20%, #222 100%)
}
#left-navigation div.vectorTabs li.selected,#right-navigation div.vectorTabs li.selected {
background-color:#333;
background-image:-moz-linear-gradient(top, #5291f9 0, #333 10%);
background-image:-webkit-gradient(linear, left top, left bottom, color-stop(, except a newly added teleport trap0, #5291f9), color-stop(10%, #333));
background-image:-webkit-linear-gradient(top, #5291f9 0, #333 10%);
background-image:linear-gradient(#5291f9 0, #333 10%)
}
#left-navigation div.vectorTabs span,#right-navigation div.vectorTabs span {
background:transparent
}
div#mw-head #right-navigation div.vectorMenu h3 {
background:inherit
}
div#mw-head div.vectorMenu h3 span {
color:#ffffff
}
div.vectorMenu h3 a {
background:inherit
}
div.vectorMenu ul {
background-color:black;
border:solid 1px #0c0c0c
}
div.vectorMenu li.selected a,div.vectorMenu li.selected a:visited {
color:#8a7f6c;
text-decoration:none
}
div.vectorMenu#p-cactions div.menu {
border-color:#666
}
div.vectorMenu#p-cactions ul {
border:0;
background-color:#4c4c4c
}
.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, #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: #8a7fff
}
div#mw-panel div.portal div.body ul li a, a, #left-navigation div.vectorTabs li a,#right-navigation div.vectorTabs li a, div.vectorMenu li 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;
}
pre, .mw-code {
color: #fff;
background-color: #333333;
border: 1px solid #0f1113;
}
.mw-body, div#mw-head {
color: #ddd;
background-color: #222;
}
.mw-body {
border: 1px solid #063658;
}
/* things changed in the global common.css */
#mw-anon-edit-warning,
#mw-read-only-warning {
color: white;
background-color: #808000;
border-color: red;
}
.previewnote-inner-msg {
background-color:#200;
border-color: red;
}
/* PRETTY TABLES
* The wikitable or prettytable class skins normal tables. */
table.wikitable,
table.prettytable {
background: #060606;
border-color: #555555;
}
table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
border-color: #555555;
}
table.wikitable th,
table.prettytable th {
background: #0d0d0d;
}
.mw-interwikitable-row:hover {
background-color:#1f1f1f;
}
.nhencyclopedia {
background-color: #717140;
border-color: #7b7b4a;
}
.nhguidebook {
background-color: #0f0707;
border-color: #2f2020;
}
.kbdsym {
color:#fff;
background:#111;
border-color: #555;
}
.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_edited a {
color:white;
}
/* 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; }
.itemclasses td a:hover,
.dungeonfeatures td a:hover,
.ASCIItable td a:hover {
background-color:#1f1f1f;
}
.itemclasses td .selflink,
.dungeonfeatures td .selflink,
.ASCIItable td .selflink {
background-color:#102f00;
}
.todo {
border-color: #330033;
background-color: #110011;
}
.delete {
background-color: #808000;
}
/* [[Template:Merge]] */
.merge {
border-color: white;
background-color: #008000;
}
/* [[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 {
background-color: #21210E;
border-color: #444433;
padding: 1em;
}
/* Syntax coloring via GeSHi */
.mw-geshi {
background-color:#060606;
border-color: #173755;
}
.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;
}
/* 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; }
.captioninner {
border-color: #ccc;
background-color: #060606;
}
/* [[Template:Bugstatus]] */
.bugstatus.open { background:darkred; }
.bugstatus.fixed { background:darkgreen; }
.bugstatus.nextversion { background:darkcyan; }
.bugstatus.help { background:#808000; }
.bugstatus.not_a_bug { background:darkblue; }
.table-yes { background: darkgreen; }
.table-no { background: purple; }
.table-partial { background: #706700; } /* yellowish */
/* [[Template:Resolved top]] */
.resolved_issue {
border-color: #555;
background:#001;
}
/* Main page boxes */
#mainpage-news {
background:#082000;
border-color: #209000;
}
#mainpage-forum {
background:#07000F;
border-color: #310B57;
}
#mainpage-greeting a {
color: white;
}
#mainpage-greeting-rumor {
font-size: 75%;
}
#mainpage-featured {
background:#130000;
border-color: #440000;
}
#mainpage-role-list {
background: #000011;
border-color: #000044;
}
#mainpage-objclass-list {
background: #000813;
border-color: #003054;
}
#mainpage-indepth-list {
background: #090211;
border-color: #310B57;
}
#mainpage-monster-list {
background: #082000;
border-color: #209000;
}
/* [[Special:Search]] has some javascript, see [[Mediawiki:common.js]] */
.mw-search-results li:hover {
background-color:#0f0f0f;
}
/* [[mw:Extension:Cite]]: Hilight the reference user is looking at */
.reference:target,
ol.references li:target {
background-color: #0f0f0f;
}
/* CSS placed here will affect users of the Vector skin */
body {
color: white;
background-color: #111;
}
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;
}