|
|
(109 intermediate revisions by the same user not shown) |
Line 4: |
Line 4: |
| #n-Anniversary { display: none; } | | #n-Anniversary { display: none; } |
| .mw-wiki-logo { background-size: 150px; } | | .mw-wiki-logo { background-size: 150px; } |
| a.new[href^="/Mw:"] { color: #36b !important; }
| |
|
| |
|
| .mw-special-Upload .noupload, .useronly, | | .mw-special-Upload .noupload, .useronly, |
Line 11: |
Line 10: |
| } | | } |
| body.anon.ns-content.action-view.mobile #stub, | | body.anon.ns-content.action-view.mobile #stub, |
| body.anon.ns-content.action-view .notice-template:not(.show) { | | body.anon.ns-content.action-view .notice-template:not(.show), |
| | body.anon.ns-content.action-view #mw-hidden-catlinks:nth-of-type(2) { |
| display: none !important; | | display: none !important; |
| } | | } |
Line 18: |
Line 18: |
| } | | } |
|
| |
|
| /* Site notice */ | | /* Tabs fix */ |
| #localNotice a.external {
| | .tabber { display: inline-block; } |
| padding: 0 !important;
| | .tabbertab:first-child { padding: 5px; } |
| background: none !important;
| | .infobox .tabbertab:first-child { padding: 5px 0 0; } |
| } | | .client-js .tabbertab:first-child { margin-top: 22px; } |
| | .client-js .tabbertab:not(:first-of-type) { display: none; } |
| | .mw-parser-output > .tabber, section > .tabber { display: block; width: max-content; margin-bottom: 0.5em; } |
| | .mobile ul.tabbernav li a { padding-top: 4px; padding-bottom: 4px; } |
| | .client-js .mobile .tabbertab:first-child { margin-top: 27px; } |
| | .client-nojs .tabbertab + .tabbertab { margin-top: 2.5px; } |
| | .tabbertab > p:first-child { margin-top: 0.2em; } |
| | .tabbertab > p:last-child { margin-bottom: 0; } |
|
| |
|
| /* Image thumbs */ | | /* Show/hide toggle */ |
| html .thumbimage { background-color: #fff; }
| | .mw-collapsible-toggle { |
| | | font-weight: bold; |
| /* Image/gallery classes */
| |
| img.flipx, img.flipX { transform: scaleX(-1); }
| |
| img.flipy, img.flipY { transform: scaleY(-1); }
| |
| img.invert-light { filter: invert(1) hue-rotate(180deg); }
| |
| img.blackbg, .gallery.blackbg img { background: #000 !important; }
| |
| img.graybg, img.greybg, .gallery.graybg img, .gallery.greybg img {
| |
| background: #808080 !important; | |
| } | | } |
| .pixelated, .pixelart, .sprites, .sprite { | | .infobox .mw-collapsible-toggle { |
| image-rendering: crisp-edges; image-rendering: pixelated;
| | min-width: 41px; |
| }
| | text-align: right; |
| | |
| /* Gallery classes */
| |
| .gallery.center {
| |
| margin-left: auto !important; | |
| margin-right: auto !important;
| |
| }
| |
| .gallery.centertext .gallerytext {
| |
| text-align: center !important; | |
| }
| |
| | |
| /* Gallery slideshow */
| |
| .mw-gallery-slideshow .gallerybox + .gallerybox {
| |
| display: none;
| |
| }
| |
| .mw-gallery-slideshow-thumbnails-toggled ~ .gallerybox {
| |
| display: inline-block !important;
| |
| }
| |
| | |
| /* Media files */
| |
| .gallery video { max-height: 120px; }
| |
| .gallery audio { max-width: calc(100% - 30px) !important; }
| |
| .gallery audio, .gallery video, .thumb audio, .thumb video {
| |
| display: block;
| |
| margin: auto;
| |
| }
| |
| .filehistory audio, .filehistory video {
| |
| width: 120px;
| |
| }
| |
| | |
| /* File pages */
| |
| #file img, #file img:hover, .filehistory a img {
| |
| background: url(https://wiki.gallery/images/checker.svg) repeat;
| |
| }
| |
| | |
| /* Formatting fixes */
| |
| #toc { clear: left; }
| |
| pre { overflow: auto; }
| |
| hr { overflow: hidden; }
| |
| .mw-parser-output table sup { white-space: nowrap; }
| |
| div[style*="column-"] > * { margin-top: 0 !important; margin-bottom: 0 !important; }
| |
| span.comment, .mw-parser-output a.external.free, .filehistory.wikitable td[dir] {
| |
| word-wrap: anywhere;
| |
| } | | } |
| | | .infobox th a.mw-collapsible-text { |
| /* Margin fixes */
| |
| .ns-subject:not(.ns-110) #mw-content-text li > ol, | |
| .ns-subject:not(.ns-110) #mw-content-text li > ul:not(.gallery) {
| |
| margin-top: 0.1em !important;
| |
| }
| |
| .ns-subject:not(.ns-110) #mw-content-text dl + ol,
| |
| .ns-subject:not(.ns-110) #mw-content-text dl + ul:not(.gallery) {
| |
| margin-top: -0.3em !important;
| |
| }
| |
| .ns-subject:not(.ns-110) #mw-content-text ol + dl,
| |
| .ns-subject:not(.ns-110) #mw-content-text ul:not(.gallery) + dl {
| |
| margin-top: 0.3em !important;
| |
| }
| |
| | |
| /* Link fixes */
| |
| body.mediawiki a.mw-selflink {
| |
| color: inherit !important; | | color: inherit !important; |
| cursor: inherit !important;
| |
| text-decoration: inherit !important;
| |
| font-weight: bold !important;
| |
| } | | } |
| a font:hover, a span:hover {
| | .infobox .mw-made-collapsible > tbody > tr > th:not([style*="text-align"]) { |
| text-decoration: inherit;
| | padding-left: 45px !important; |
| }
| |
| .autocomment a:hover {
| |
| color: inherit;
| |
| }
| |
| | |
| /* Explain text */
| |
| .explain[title] {
| |
| cursor: help;
| |
| border-bottom: 1px dotted;
| |
| text-decoration: none;
| |
| }
| |
| | |
| /* Scrollable tables */
| |
| table.scrollable {
| |
| display: block;
| |
| max-width: max-content;
| |
| overflow: auto;
| |
| border: 0;
| |
| }
| |
| | |
| /* Content boxes */
| |
| .contentbox.mw-collapsible > .mw-collapsible-toggle { | |
| float: none !important;
| |
| }
| |
| .client-js body:not(.skin-minerva) .contentbox.mw-collapsible:not(.mw-made-collapsible) {
| |
| display: none !important;
| |
| }
| |
| | |
| /* Show/hide toggles */
| |
| .navbox .mw-collapsible-toggle {
| |
| text-align: right;
| |
| min-width: 3.729em;
| |
| }
| |
| .wikitable.mw-collapsed .mw-collapsible-toggle {
| |
| margin-left: 10px;
| |
| }
| |
| | |
| /* Hide help indicator */
| |
| #mw-indicator-mw-helplink { display: none; }
| |
| | |
| /* Special:Preferences */
| |
| #mw-htmlform-mobile .oo-ui-inline-help { display: none; }
| |
| | |
| /* Special:RecentChanges */
| |
| .mw-special-Recentchanges .mw-changeslist-time { display: initial; }
| |
| .client-js .mw-enhanced-rc td:not(:first-of-type) { min-width: 18px; }
| |
| | |
| /* Special:Contact */
| |
| .mw-special-Contact fieldset div[data-ooui*="wpCCme"],
| |
| .mw-special-Contact fieldset div[data-ooui*="wpSubject"] {
| |
| display: none;
| |
| }
| |
| .mw-special-Contact #wpCaptchaWord,
| |
| .mw-special-Contact fieldset div[data-ooui*="HTMLInfoField"] {
| |
| margin-top: 2px;
| |
| }
| |
| .mw-special-Contact fieldset div[data-ooui*="CAPTCHA"] {
| |
| margin-top: 1em;
| |
| }
| |
| | |
| /* Sortable arrows for white text */
| |
| tr[style*="color:#fff"] > th.headerSort,
| |
| tr[style*="color:white"] > th.headerSort, | |
| .sortable th.headerSort[style*="color:#fff"],
| |
| .sortable th.headerSort[style*="color:white"] {
| |
| background-image: url(/images/sort_both-white.svg);
| |
| }
| |
| tr[style*="color:#fff"] > th.headerSortUp,
| |
| tr[style*="color:white"] > th.headerSortUp,
| |
| .sortable th.headerSortUp[style*="color:#fff"],
| |
| .sortable th.headerSortUp[style*="color:white"] {
| |
| background-image: url(/images/sort_up-white.svg)
| |
| }
| |
| tr[style*="color:#fff"] > th.headerSortDown,
| |
| tr[style*="color:white"] > th.headerSortDown,
| |
| .sortable th.headerSortDown[style*="color:#fff"],
| |
| .sortable th.headerSortDown[style*="color:white"] {
| |
| background-image: url(/images/sort_down-white.svg);
| |
| }
| |
| | |
| /* Watchlist expiry (icon fix) */
| |
| .oo-ui-icon-clock, .mw-ui-icon-clock::before {
| |
| background-image: linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3Eclock%3C/title%3E%3Cpath d=%22M10 0a10 10 0 1010 10A10 10 0 0010 0zm2.5 14.5L9 11V4h2v6l3 3z%22/%3E%3C/svg%3E"); | |
| }
| |
| .mw-changesList-watchlistExpiry.oo-ui-iconElement-icon {
| |
| height: 13px;
| |
| min-height: 13px;
| |
| position: relative;
| |
| top: -1px;
| |
| opacity: 0.51;
| |
| } | | } |
| | | table:not(.wikitable) .mw-collapsible-toggle { |
| /* Pixelated gallery/interface image upscaling */
| | padding-right: 0.3em; |
| ul.gallery img, table.filehistory img, table.listfiles img, table.searchResultImage img {
| |
| image-rendering: crisp-edges;
| |
| image-rendering: pixelated;
| |
| }
| |
| | |
| /* Root category */
| |
| body.page-Category_Super_Mario_Wiki.action-view #catlinks,
| |
| body.page-Category_Super_Mario_Wiki.action-view #mw-subcategories .mw-category-group:last-of-type {
| |
| display: none; | |
| } | | } |
|
| |
|
| /* Infobox templates */ | | /* Infobox templates */ |
| .infobox,
| |
| .infobox-wide { | | .infobox-wide { |
| | width: 100%; |
| | border-spacing: 0; |
| | } |
| | .infobox, .infobox-wide { |
| color: #000; | | color: #000; |
| | padding: 4px; |
| border: 1px solid; | | border: 1px solid; |
| } | | } |
| .infobox audio + br { | | .infobox th a, .infobox-wide th a { |
| | color: inherit !important; |
| | } |
| | .infobox audio + br, |
| | .infobox .mw-tmh-player.audio + br { |
| content: ''; | | content: ''; |
| display: block; | | display: block; |
| margin-top: 2px; | | margin-top: 3px; |
| } | | } |
| .infobox td > audio:first-child { | | .infobox td > audio:first-child, |
| | .infobox td > .mw-tmh-player.audio:first-child { |
| margin-top: 2px; | | margin-top: 2px; |
| } | | } |
| .infobox .mw-made-collapsible > tbody > tr > th:not([style*="text-align"]) { | | .infobox div[style*="column"] br + a { |
| padding-left: 43px !important; | | display: inline-block; |
| } | | } |
| .infobox > tbody > tr > td:first-of-type:not(:last-of-type) { | | .infobox > tbody > tr > td:first-of-type:not(:last-of-type) { |
Line 279: |
Line 128: |
| } | | } |
|
| |
|
| /* DK tables */ | | /* Reception tables */ |
| table.dktable, | | table.wikitable.reviews { |
| table.dktable-brown {
| | width: 100%; |
| color: #000; | | text-align: center; |
| background: #fff; | | border: 2px solid #000 !important; |
| border: 1pt solid #000; | | margin-bottom: 5px; |
| border-collapse: collapse;
| |
| margin: 1em 0; | |
| }
| |
| table.dktable > * > tr > td,
| |
| table.dktable > * > tr > th,
| |
| table.dktable-brown > * > tr > td,
| |
| table.dktable-brown > * > tr > th {
| |
| border: 1pt solid #000;
| |
| padding: 0.2em 0.4em;
| |
| }
| |
| table.dktable-brown > * > tr > th {
| |
| background: #BB8855;
| |
| }
| |
| table.dktable-brown > * > tr:nth-child(odd) > td {
| |
| background: #FFF8DC;
| |
| }
| |
| table.dktable-brown > * > tr:nth-child(even) > td {
| |
| background: wheat;
| |
| } | | } |
| | |
| | /* Donkey Kong tables */ |
| | table.wikitable.dk { color: #000; } |
| | table.wikitable.dk > * > tr > * { border-color: #000; } |
| | table.wikitable.dk > * > tr > th { background-color: #BB8855; } |
| | table.wikitable.dk > * > tr:not([bgcolor]):nth-child(even) { background: wheat; } |
| | table.wikitable.dk > * > tr:not([bgcolor]):nth-child(odd) { background: #FFF8DC; } |
|
| |
|
| /* Fake headings */ | | /* Fake headings */ |
| #fh1, #fh2, #fh3, | | #fh1 { font-size: 193%; } |
| #fh4, #fh5, #fh6 { | | #fh2 { font-size: 166%; } |
| color: #000;
| | #fh3 { font-size: 142%; } |
| font-weight: normal;
| | #fh4 { font-size: 126%; } |
| background: none;
| | #fh5 { font-size: 111%; } |
| | #fh1, #fh2 { |
| border-bottom: 1px solid #aaa; | | border-bottom: 1px solid #aaa; |
| padding-top: 0.5em;
| |
| padding-bottom: 0.17em;
| |
| margin: 0;
| |
| } | | } |
| #fh1 { font-size: 188%; }
| |
| #fh2 { font-size: 150%; }
| |
| #fh3 { font-size: 132%; }
| |
| #fh4 { font-size: 116%; }
| |
| #fh5 { font-size: 100%; }
| |
| #fh6 { font-size: 80%; }
| |
| #fh3, #fh4, #fh5, #fh6 { | | #fh3, #fh4, #fh5, #fh6 { |
| font-weight: bold; | | font-weight: bold; |
| border-bottom: none; | | } |
| | #fh1, #fh2, #fh3, #fh4, #fh5, #fh6 { |
| | padding: 0.5em 0 0.17em; |
| } | | } |
| #bodyContent #fh1, #bodyContent #fh2 { | | #bodyContent #fh1, #bodyContent #fh2 { |