Difference between revisions of "User:FIQ/vector.css"
< User:FIQ
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 */ | ||
− | /* | + | 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; | |
− | div. | + | background-color: #f0f0f0; |
− | #toc | + | } |
− | + | #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; | |
− | #mw- | + | 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; | |
− | + | } | |
− | .mw- | + | |
− | + | /* 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; } |
− | 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; } |
− | body. | + | #mw-panel .body li a:hover { background-color:#e8e8e8; } |
− | body. | + | #mw-panel .body a.feedlink { padding-left:16px !important; } |
− | body | + | |
− | + | /* my profile/talk/prefs/watchlist/contribs/logout links up top */ | |
− | body. | + | #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; | ||
+ | } |
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;
}