MediaWiki:Gadget-GlobalStyle.css

/* CSS placed here will be applied to all skins on both desktop and mobile The "mobile" body class can be used to target mobile specifically */

.mw-special-Upload .noupload, .useronly, .autoconfonly, .editprotected, .editinterface { display: none; } body.anon.ns-content.action-view.mobile #stub, body.anon.ns-content.action-view .notice-template:not(.show) { display: none !important; } body.anon.ns-content.action-view.desktop .notice-template.show { margin-top: 0 !important; }

/* Site notice */ padding: 0 !important; background: none !important; }
 * 1) localNotice a.external {

/* Image thumbs */ html .thumbimage { background-color: #fff; }

/* Image/gallery classes */ 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 { image-rendering: crisp-edges; image-rendering: pixelated; }

/* 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; }

/* File pages */ background: url(https://kh.wiki.gallery/resources/src/mediawiki.action/images/checker.png) repeat; }
 * 1) file img, .filehistory a img {

/* Media player */ .thumb .video-js { margin-left: auto; margin-right: auto; } .video-js .vjs-progress-control .vjs-mouse-display { z-index: 2; } .infobox .video-js { margin-top: 1px; min-width: 200px; width: auto !important; } .video-js .vjs-volume-vertical, .vjs-mouse-display .vjs-time-tooltip { background: #111; } .video-js { overflow-x: clip; display: block !important; } .video-js .vjs-control-bar { background: #000; } /* Chrome bug fix */ body.newbie.desktop .video-js { overflow: hidden !important; } body.newbie.desktop .vjs-time-tooltip { display: none !important; } body.newbie.desktop .infobox .video-js { width: 250px !important; margin-left: auto; margin-right: auto; }
 * 1) file > .video-js { display: inline-block !important; }

/* Formatting fixes */ pre { overflow: auto; } hr { overflow: hidden; } div[style*="column-"] > p { margin: 0 !important; } .mw-parser-output table sup { white-space: nowrap; } span.comment, .mw-parser-output a.external.free, .filehistory.wikitable td[dir] { word-wrap: anywhere; }

/* Margin fixes */ .ns-subject:not(.ns-110) #mw-content-text li > ul, .ns-subject:not(.ns-110) #mw-content-text li > ol { margin-top: 0.1em !important; } .ns-subject:not(.ns-110) #mw-content-text dl + ul, .ns-subject:not(.ns-110) #mw-content-text dl + ol { margin-top: -0.3em !important; } .ns-subject:not(.ns-110) #mw-content-text ul + dl, .ns-subject:not(.ns-110) #mw-content-text ol + dl { margin-top: 0.3em !important; }

/* Link fixes */ body.mediawiki a.mw-selflink { color: inherit !important; cursor: inherit !important; text-decoration: inherit !important; font-weight: bold !important; } a font:hover, a span:hover { text-decoration: inherit; } .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 */
 * 1) mw-indicator-mw-helplink { display: none; }

/* Special:Preferences */
 * 1) mw-htmlform-mobile .oo-ui-inline-help { display: none; }

/* 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; }

/* 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; }

/* Pixelated gallery/interface image upscaling */ ul.gallery img, table.filehistory img, table.listfiles img, table.searchResultImage img { image-rendering: crisp-edges; image-rendering: pixelated; }

/* Root category */ body.page-Category_Root.action-view #mw-subcategories h3:last-of-type, body.page-Category_Root.action-view #mw-subcategories ul:last-of-type, body.page-Category_Root.action-view #catlinks { display: none; }

/* Tabs fix */ .tabber { display: inline-block; } .tabbertab:not(:first-of-type) { display: none; } .tabbertab:first-child { padding: 6px; margin-top: 26px; } .mw-parser-output > .tabber, section > .tabber { display: table; margin-bottom: 0.5em; } .infobox .tabbertab:first-child, .infobox p.mw-empty-elt:first-child + .tabbertab { padding: 6px; margin-top: 24px; } .infobox .tabber:not(.tabberlive) { display: block; } .tabbertab > p:first-child { margin-top: 0.2em; } .tabbertab > p:last-child { margin-bottom: 0; }

.mobile .tabbertab:first-child { margin-top: 0; padding-top: 31.5px; } .mobile.skin-timeless .tabbertab:first-child { padding-top: 33.6px; } .mobile.skin-timeless .infobox .tabbertab:first-child { padding-top: 31px; } .mobile .infobox .tabbertab:first-child { padding-top: 29px; }

/* Hide subpages navigation for non-subpages */ .page-Zero_One .subpages { display: none !important; }

/* Hide redundant sidebar item */ body:not(.skin-monobook) li#n-Literature-\&-music, body:not(.skin-monobook) li#n-Literature-\.26-music { display: none !important; }

/* Infobox templates */ .infobox .mw-collapsible-text, .infobox .mw-collapsible-toggle { color: inherit !important; font-weight: bold !important; } .infobox:not(.rowspan-left) > tbody > tr:last-of-type > :first-child { border-bottom-left-radius: 0.5em; } .infobox:not(.rowspan-right) > tbody > tr:last-of-type > :last-child { border-bottom-right-radius: 0.5em; } .infobox.rowspan-left > tbody > tr:nth-last-child(2) > :first-child[rowspan="2"] { border-bottom-left-radius: 0.5em; } .infobox.rowspan-right > tbody > tr:nth-last-child(2) > :last-child[rowspan="2"] { border-bottom-right-radius: 0.5em; }

/* Notice templates */ .notice-template { color: #000; font-size: 95%; border-radius: 10px; }

/* Sortable arrows for white text */ tr[style*="color:#fff"] > th.headerSort, tr[style*="color:white"] > th.headerSort { background-image: url(https://kh.wiki.gallery/images/sort_both-white.svg); } tr[style*="color:#fff"] > th.headerSortUp, tr[style*="color:white"] > th.headerSortUp { background-image: url(https://kh.wiki.gallery/images/sort_up-white.svg) } tr[style*="color:#fff"] > th.headerSortDown, tr[style*="color:white"] > th.headerSortDown { background-image: url(https://kh.wiki.gallery/images/sort_down-white.svg); }