User:Thundercraft5/global.css

/** User:Thundercraft5/common.css * This is my personal global css page, you are free to copy anything from here * as long as you attribute this page. * * Note that most css on this page is imported from subpages. * /

//#============================================================================# // IMPORTS //#============================================================================#

/* #============[ IMPORTS ]============# */ /* Dev */ @import "/load.php?mode=articles&articles=u:dev:MediaWiki:DarkModuleConsole.css|u:dev:MediaWiki:UCPEditorMinimal/code.css|u:dev:MediaWiki:AdBlocker.css|u:dev:MediaWiki:OldWikiaBar.css|u:dev:MediaWiki:UCPEditorMinimal/code.css|u:dev:MediaWiki:CollapseGlobalNavButton.css/compatibility.css|u:dev:MediaWiki:CollapseGlobalNavButton.css|u:dev:MediaWiki:UCXSearchBar.css&only=styles";

/* Personal */ @import "/load.php?mode=articles&articles=u:c:User:Thundercraft5/global.css/CodeHighlight.css|u:c:User:Thundercraft5/global.css/AceEditor.css|u:c:User:Thundercraft5/global.css/2010WikiEditor.css|u:c:User:Thundercraft5/global.css/JSConsole.css|u:c:User:Thundercraft5/global.css/LuaConsole.css|u:c:User:Thundercraft5/global.css/NoCategoryDropdown.css&only=styles";

/* //#============================================================================# // MISC //#============================================================================# /* Fake search box to prevent content shift */ .wiki-tools__search-input::placeholder { visibility: hidden !important; }

/* Match placeholder with fake input */ .wiki-tools__search-input:placeholder-shown { background: url("data:image/svg+xml;utf8,Search... ") no-repeat left center; }

.wiki-tools__search-input:focus:placeholder-shown { background: url("data:image/svg+xml;utf8,Search... ") no-repeat left center; }

.wiki-tools.wds-button-group:not(.wiki-tools__ucxsearch)::before { border-right: 0; border-bottom-left-radius: 3px; border-top-left-radius: 3px; content: "Search..."; width: 100%; padding: 0 10px; border: 1px solid; padding: 6px 5px 4px 5px; border-right: none; background-color: transparent; text-overflow: inherit; line-height: initial; white-space: pre; vertical-align: center; overflow-wrap: normal; font: 400 13.3333px Arial; cursor: text; }

.wiki-tools { max-width: 330px !important; }

width: auto !important; }
 * 1) quicktoolsadvancedcontainer input {

.global-navigation__search-input { width: auto !important; }

.wds-button wds-global-navigation__search-submit { display:flex !important; }

/* Remove unwanted items */ .wds-global-navigation__user-menu > div ~ div > ul > li:nth-of-type(6), .license-description, .wds-global-navigation__logo, .unified-search__community, .wds-dropdown__toggle.push-dropdown-down, .wds-global-navigation__search-toggle-text, .wds-global-navigation__search-toggle-text, body.action-submit #WikiaRailWrapper, body.action-edit #WikiaRailWrapper, .wds-global-navigation__search-scope, .activity-summary__help-link, .unified-search__layout__right-rail, #share-button, .wds-global-footer, #mw-usercssyoucanpreview, .mw-newarticletext, .gpt-ad, .rail-sponsored-content, .mw-changeslist-legend, body.action-history #WikiaRailWrapper, .mw-cascadeprotectedwarning, .global-navigation__bottom ul.wds-list.wds-is-linked > li > a[href*="bingebot"], .content-size-toggle, .wiki-tools__search-button, .wiki-tools__search, .ad-slot-placeholder, .top-leaderboard, .search-modal, .global-navigation__search { display: none !important; }
 * 1) mixed-content-footer,
 * 2) ShareEntryPoint,
 * 3) FounderProgressWidget,
 * 1) ca-ve-edit, #editpage-copywarn, .cancelLink, #msupload-div,

.wds-banner-notification.wds-warning.warn { display: none !important; }

width: 90%; }   margin-left: 5px; } .AjaxBlockExpiryWrapper, .AjaxBlockReasonWrapper { margin-bottom: 5px; } .qdmodal-button { cursor: pointer !important; }   overflow: visible; }
 * 1) AjaxBlockReasonInput, #AjaxUnblockReasonInput, #AjaxBlockExpiryInput {
 * 1) AaxBlockReasonSelect, #AjaxBlockExpirySelect {
 * 1) AjaxBlockLinks {

.WikiaArticle, .mw-parser-output { overflow-y: hidden !important; }

input:not(:checked) + label[for="AjaxBlockRangeBlock"] + div { max-height: 0; opacity: 0; transition: opacity 0.2s ease-out, max-height 0.2s cubic-bezier(1, 0, 1, 0); } input:checked + label[for="AjaxBlockRangeBlock"] + div { max-height: 20px; transition: opacity 0.2s ease-in; }

.mw-parser-output li, .WikiaArticle li { font-size: inherit !important; }

/* Tag markers */ .mw-tag-markers { font-size: 75%; font-style: italic; }

/* Font size */ .WikiaMainContent { font-size: 14px !important; }

/* Wall Text */ a.mw-usertoollinks-wall { visibility: hidden; word-spacing: -999px; letter-spacing: -999px; }

a.mw-usertoollinks-wall::after { content: "wall"; visibility: visible; word-spacing: normal; letter-spacing: normal; }

/* Lists */ .WikiaArticle > ul/* */:not(.wds-tabs)/* Ignore certain classes */:not(.controls)/* */:not(.scribunto-trace)/* */:not(.pi-section-navigation)/* */:not(.template-documentation-langs), .WikiaArticle *:not(.unified-search-pagination):not(.plainlist) > ul/* */:not(.wds-tabs)/* Ignore certain classes */:not(.controls)/* */:not(.scribunto-trace)/* */:not(.pi-section-navigation)/* */:not(.template-documentation-langs), */:not(.wds-tabs)/* Ignore certain classes */:not(.controls)/* */:not(.scribunto-trace)/* */:not(.pi-section-navigation)/* */:not(.template-documentation-langs), */:not(.wds-tabs)/* Ignore certain classes */:not(.controls)/* */:not(.scribunto-trace)/* */:not(.pi-section-navigation)/* */:not(.template-documentation-langs), .WikiaArticle ol:not(.scribunto-trace), margin: 0.4em 0px 0.5em 2.5em; list-style: square; }
 * 1) mw-content-text > ul/*
 * 1) mw-content-text *:not(.unified-search-pagination):not(.plainlist) > ul/*
 * 1) mw-content-text ol:not(.scribunto-trace) {

.WikiaArticle ol:not(.scribunto-trace), list-style: decimal }
 * 1) mw-content-text ol:not(.scribunto-trace) {

.WikiaArticle ol.special, margin-left: 3.2em }
 * 1) mw-content-text ol.special {

.WikiaArticle *:not(.scribunto-trace) > li, line-height: 20px; margin: 3px 0px; }
 * 1) mw-content-text *:not(.scribunto-trace) > li {

.WikiaArticle dl, margin: 1em 0px; }
 * 1) mw-content-text dl {

/* Block List */ .TablePager_col_ipb_params > ul > li:not(:last-child)::after { content: "," }

.TablePager_col_ipb_params > ul { list-style: none !important; margin: 0 !important }

.TablePager_col_ipb_reason { font-style: italic }

.TablePager_col_ipb_reason::before { content: "(" }

.TablePager_col_ipb_reason { font-style: italic }

.TablePager_col_ipb_reason::after { content: ")" }

.mw-plusminus-pos, .mw-plusminus-neg, .mw-plusminus-null { display: initial !important; }

body.page-Special_AbuseFilter .mw-datatable.mw-abusefilter-list-scrollable > thead > tr:first-of-type > th:nth-of-type(3) { width: 50px !important; }

body > div.WikiaSiteWrapper > div.WikiaPage > header > nav > ul > li:nth-child(6) > div > div.wds-is-not-scrollable.wds-dropdown__content > ul > li.wds-is-sticked-to-parent.wds-dropdown-level-2 { display: none !important; }

width: 250px !important; }
 * 1) mw-content-text > table > thead > tr > th:nth-child(2) {

/** ============================================================================================ * UCX */ body.skin-fandomdesktop .fandom-sticky-header { margin-top: -1px; z-index: 300 }

body.skin-fandomdesktop .mw-history-subtitle { display: inline-block; }

body.skin-fandomdesktop h2.rail-module__header.has-icon { background: none; }

body.skin-fandomdesktop #WikiaRail { display: none !important; }

body.skin-fandomdesktop #page-tools-module h2::before { background-image: url("data:image/svg+xml;utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='rgba(var(--theme-page-text-color--rgb),.75)' viewBox='0 0 24 24' class='wds-icon wds-icon-small'%3E%3Cg clip-path='url(%23wrench_clip0)'%3E%3Cpath d='M23 4c-.265 0-.52.105-.707.293C22.105 4.48 22 4.735 22 5v2h-5V2h2c.265 0 .52-.105.707-.293C19.895 1.52 20 1.265 20 1c0-.265-.105-.52-.293-.707C19.52.105 19.265 0 19 0h-5c-.132 0-.262.024-.384.074-.122.05-.233.123-.326.216l-4 4c-.093.093-.166.204-.216.326C9.024 4.738 9 4.868 9 5v4.59l-7.71 7.7C.571 18.009.167 18.984.167 20c0 1.017.404 1.991 1.123 2.71.719.719 1.694 1.122 2.71 1.122s1.991-.403 2.71-1.122l7.7-7.71H19c.132 0 .262-.024.384-.074.122-.05.233-.123.326-.216l4-4c.093-.093.166-.204.216-.326.05-.122.075-.252.074-.384V5c0-.265-.105-.52-.293-.707C23.52 4.105 23.265 4 23 4zm-1 5.59L18.59 13H14c-.132 0-.262.024-.384.074-.122.05-.233.123-.326.216l-8 8c-.342.342-.806.534-1.29.534s-.948-.192-1.29-.534c-.342-.342-.534-.806-.534-1.29s.192-.948.534-1.29l8-8c.093-.093.166-.204.216-.326.05-.122.075-.252.074-.384V5.41L14.41 2H15v6c0 .265.105.52.293.707.187.188.442.293.707.293h6v.59z'%3E%3C/path%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='wrench_clip0'%3E%3Cpath fill='%23fff' d='M0 0H24V24H0z'%3E%3C/path%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E"); content: ""; width: 16px; margin-right: 5px; height: 16px; min-width: 16px; }

body.skin-fandomdesktop #page-tools-module ul > li { display: list-item !important; overflow: inherit !important; margin: -10px 0px; }

body.skin-fandomdesktop #page-tools-module ul { list-style-type: square !important; list-style: square !important; display: block !important; margin-left: 25px; grid-gap: unset !important; grid-template-columns: unset !important; line-height: 1.8 !important; }

body.skin-fandomdesktop .rail-module { border-bottom: none !important; }

body.skin-fandomdesktop .rail-module h2 { border-bottom: 1px solid var(--theme-border-color); padding: 5px; width: 97% !important; content: ""; }

/* Fix excessive margins on ` ` elements */ body.skin-fandomdesktop .page-content p { display: block; margin: 0 !important; }

/* Fix fieldsets/legends */ body.skin-fandomdesktop fieldset:not(.oo-ui-fieldsetLayout) { border: 1px solid var(--theme-border-color); margin: 1em 0; padding: 0 1em 1em; }

body.skin-fandomdesktop legend { padding: .5em; }

/* Add divider after page header */ body.skin-fandomdesktop .page-header::after { background-color: var(--theme-border-color); border-color: var(--theme-border-color); border-style: solid; border-width: 1px; border: 0; content: ""; display: block; height: 1px; margin-bottom: 0; margin-inline-end: auto; margin-inline-start: auto; margin-top: 5px; overflow: hidden; unicode-bidi: isolate; width: 100%; }

/* Fix font styling of the page categories */ body.skin-fandomdesktop .page-header__categories { font-style: italic; }

/* Change accent of "Edit" button to be more visible */ body.skin-fandomdesktop .page-header__actions > .wds-button, .page-header__actions > .wds-dropdown { color: var(--theme-accent-label-color) !important; background-color: var(--theme-accent-color); margin-right: 10px; transition: all .2s ease-in; }

body.skin-fandomdesktop .page-header__actions .wds-dropdown > .page-header__action-button { color: var(--theme-accent-label-color); cursor: pointer; }

body.skin-fandomdesktop .page-header__actions > .wds-button:hover, .page-header__actions > .wds-dropdown:hover { background-color: var(--theme-accent-color--hover); transition: all .2s ease-out; color: var(--theme-accent-label-color); }

body.skin-fandomdesktop .page-header__actions > .wds-dropdown { border-radius: 30px; }

body.skin-fandomdesktop .page-header__actions > .wds-button { left: -5px; }

body.skin-fandomdesktop .page-header__actions > .wds-dropdown > div::before { left: -10px; margin-right: 10px; }

/* Also fix article comments button */ body.skin-fandomdesktop #article-comments-button { background-color: var(--theme-accent-label-color); color: var(--theme-link-label-color); }

body.skin-fandomdesktop a.page-header__action-button:first-of-type + a#ca-edit::before { left: -8px; }

body.skin-fandomdesktop a.page-header__action-button:first-of-type + a#ca-edit { margin-left: 6px; }

/* Make rail completely hidden when collapsed */ body.skin-fandomdesktop .page__right-rail.is-rail-hidden { width: 0 !important; }

body.skin-fandomdesktop .page__main { border-radius: 3px !important; }

@media only screen and (max-width: 1690px) { body.skin-fandomdesktop .page__main { font-size: 16px; } }

@media only screen and (min-width: 1980px) { body.skin-fandomdesktop .page__main { font-size: 14px; } }

body.skin-fandomdesktop .error, .success, .warning { font-size: larger !important; }

/* Reduce size of right rail */ .page__right-rail { width: 250px !important; }

/* Reduce size of collapsed global nav */ .global-navigation__bottom.open { width: 60px; }

.global-navigation .notifications .wds-dropdown__content { margin-left: -8px; }

.global-navigation .notifications .wds-dropdown.is-attached-to-bottom:after { bottom: 50px; }

.global-navigation .notifications .wds-dropdown.is-attached-to-bottom:before { bottom: 48px; }

.notifications ~ .wds-dropdown > .wds-dropdown__content { margin-left: -3px; border-radius: 3px !important; }

/* Fix redlinks having wrong attribute */ a[classname*="new"]:hover { color: var(--theme-alert-color--hover) !important; -webkit-text-decoration-style: dashed !important; text-decoration-style: dashed !important; }

a[classname*="new"] { color: var(--theme-alert-color) !important; -webkit-text-decoration-style: dashed !important; text-decoration-style: dashed !important; }