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

.useronly, .autoconfonly { 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:not(.mobile) .notice-template.show { margin-top: 0 !important; }

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

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

/* Image classes */ img.blackbg { background: #000 !important; } img.graybg, img.greybg { background: #808080 !important; }

/* Image/gallery classes */ .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; }

/* Show/hide toggles */ .navbox .mw-collapsible-toggle { text-align: right; min-width: 3.729em; } .wikitable.mw-collapsed .mw-collapsible-toggle { margin-left: 10px; }

/* Horizontal rule */ hr { overflow: hidden; }

/* Self-link color */ a.mw-selflink { color: inherit !important; }

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

/* Special:Contact */ .mw-special-Contact fieldset div[data-ooui*="wpSubject"] { display: none; } .mw-special-Contact #wpCaptchaWord, .mw-special-Contact fieldset div[data-ooui*="HTMLInfoField"], .mw-special-Contact:not(.mobile) fieldset div[data-ooui*="wpCCme"] { 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, .ext-related-articles-card-thumb:not(.ext-related-articles-card-thumb-placeholder), .results .list-thumb:not(.list-thumb-none) { 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 { 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; }

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

/* Scrolling text */ .scroll { display: inline-block; animation: 20s linear 3s infinite scroll; } .scroll-container { line-height: 1; text-align: left; overflow: hidden; white-space: nowrap; } @keyframes scroll { 0% { transform: translateX(0) } 100% { transform: translateX(-50%) translateX(-50px) } }

/* DFGSoGei font */ @font-face { font-family: DFGSoGei; src: url(https://kh.wiki.gallery/images/DFGSoGei.woff2); }

/* Template:Listen */ .tabbertab .listen-template { float: none !important; margin: 0 auto !important; }