User:Humiebee/fandomdesktop.css - minecraft.fandom.com
Treść tej podstrony pochodzi z artykułu „User:Humiebee/fandomdesktop.css” w domenie minecraft.fandom.com na licencji CC BY-NC-SA 3.0
/** BEGIN FIXES SECTION **/
/* Fix sup tags not working properly with [[mw:Help:Magic words#DISPLAYTITLE|display titles]], and fix sub tags not working properly anywhere */
h1#firstHeading.page-header__title sup {
vertical-align: super;
}
sub {
vertical-align: sub;
}
.page-content sub {
font-size: 10px;
}
/* Prevent <pre> text in page content from overflowing */
.page-content pre {
white-space: pre-wrap;
word-wrap: break-word;
}
/* Partial fixes for [[Template:Archive box]] and [[Template:Director table]] in dark mode; full fixes require editing the templates themselves */
body.theme-fandomdesktop-dark .mcwiki-header {
background-color: var(--custom-background-blue-highlight);
border: 1px solid var(--theme-border-color);
}
/*********** END FIXES SECTION **********/
/** BEGIN PERSONAL PREFERENCES SECTION **/
/* Links in article content are no longer semi-bold by default */
.mw-parser-output a {
font-weight: inherit;
}
/* Make self-links distinguishable from other links/look like bold text */
a.mw-selflink.selflink {
color: var(--theme-page-text-color);
font-weight: bold;
}
a.mw-selflink.selflink:hover {
text-decoration: none;
}
/* Force dark mode styles for the "global navigation" left sidebar */
/* I know not everything looks correct if you hover over it, but it's not like you're ever gonna be doing that anyways :P */
.global-navigation {
background-color: #1e0c1b;
color: #ffc500;
}
.global-navigation__bottom, .global-navigation__top {
background-color: #1e0c1b;
}
.global-navigation__logo, .global-navigation__logo:active, .global-navigation__logo:focus, .global-navigation__logo:hover, .global-navigation__logo:visited, .global-navigation__icon, .global-navigation__icon:active, .global-navigation__icon:focus, .global-navigation__icon:hover, .global-navigation__icon:visited, .global-navigation__link, .global-navigation__label, .global-navigation__label:active, .global-navigation__label:focus, .global-navigation__label:hover, .global-navigation__label:visited {
color: #ffc500;
}
.global-navigation__icon {
border-color: #1e0c1b
}
.global-navigation__icon.has-background, .global-navigation__icon.has-background:active, .global-navigation__icon.has-background:focus, .global-navigation__icon.has-background:hover, .global-navigation__icon.has-background:visited, .global-navigation__icon.has-border, .global-navigation__icon.has-border+.global-navigation__label, .global-navigation__icon.has-border:active, .global-navigation__icon.has-border:focus, .global-navigation__icon.has-border:hover, .global-navigation__icon.has-border:visited, .global-navigation__bottom .wds-dropdown__toggle>.global-navigation__icon, .global-navigation__bottom .wds-dropdown__toggle>.global-navigation__icon:active, .global-navigation__bottom .wds-dropdown__toggle>.global-navigation__icon:focus, .global-navigation__bottom .wds-dropdown__toggle>.global-navigation__icon:hover, .global-navigation__bottom .wds-dropdown__toggle>.global-navigation__icon:visited, .wds-avatar__image {
color: #f5f3f5;
}
.global-navigation__icon.has-background {
background-color: rgba(89, 83, 88, 0.5);
}
.global-navigation__icon.has-border {
border-color: #f5f3f5;
}
.global-navigation .notifications__counter {
background: #f5f3f5;
color: #520044;
}
.global-navigation .wds-avatar {
--wds-avatar-border-color: #f5f3f5;
--wds-avatar-border-color--hover: #f5f3f5;
}
/* Minecraft wiki enhanced v1 by DEJVOSS (thanks to icanttellyou for base css, tweaked to add right sidebar, toolbar, and footer) */
body {
zoom: 95%;
}
#global-wrapper.with-siderail #content #bodyContent {
box-sizing: unset;
float: unset;
width: 100%;
}
.global-navigation {
display: none;
}
.main-container {
margin-left: 0;
width: 100%;
}
.fandom-sticky-header {
left: 0;
}
.fandom-community-header__background {
width: 100%;
}
.ad-slot-placeholder {
display: none !important;
}
.mcf-wrapper {
display: none;
}
.search-modal {
width: 100%;
}
/* Color adjustments for different namespaces (MCW (Magenta), User (Green), Template (Red), Special (Purple)) */
body.rootpage-User.theme-fandomdesktop-light,
body.ns-2.theme-fandomdesktop-light,
body.ns-3.theme-fandomdesktop-light {
--theme-page-background-color: #cef2ce;
--theme-page-background-color--secondary: #f0fff0;
--theme-accent-color: #50ca50;
--theme-accent-color--rgb: 80, 202, 80;
--theme-accent-color--hover: #78cc78;
--theme-sticky-nav-background-color: #7ec87e;
--theme-sticky-nav-text-color--hover: #d8f3d8;
}
body.rootpage-Special.theme-fandomdesktop-light,
body.ns--1.theme-fandomdesktop-light {
--theme-page-background-color: #f5caf5;
--theme-page-background-color--secondary: #fff3ff;
--theme-accent-color: #cc60cc;
--theme-accent-color--rgb: 204, 96, 204;
--theme-accent-color--hover: #cd79cd;
--theme-sticky-nav-background-color: #c971c9;
--theme-sticky-nav-text-color--hover: #f5daf5;
}
body.rootpage-Template.theme-fandomdesktop-light,
body.ns-10.theme-fandomdesktop-light,
body.ns-11.theme-fandomdesktop-light {
--theme-page-background-color: #ffd0d0;
--theme-page-background-color--secondary: #fff5f5;
--theme-accent-color: #cb6565;
--theme-accent-color--rgb: 203, 101, 101;
--theme-accent-color--hover: #ce8585;
--theme-sticky-nav-background-color: #ca8585;
--theme-sticky-nav-text-color--hover: #f5dada;
}
body.rootpage-Minecraft_Wiki.theme-fandomdesktop-light,
body.ns-4.theme-fandomdesktop-light,
body.ns-5.theme-fandomdesktop-light {
--theme-page-background-color: #ffd0e5;
--theme-page-background-color--secondary: #fff5fa;
--theme-accent-color: #cb6595;
--theme-accent-color--rgb: 203, 101, 165;
--theme-accent-color--hover: #ce85a5;
--theme-sticky-nav-background-color: #ca85a5;
--theme-sticky-nav-text-color--hover: #f5daea;
}