User:OneTwoThreeFall/global.css

/** FIXING WIKIA'S BUGS… **/

/* stop edit button making margin down side of talk pages */ clear: both; }
 * 1) WikiaArticle {

/* remove unnecessary padding which squishes headers at narrow widths */ .wikinav2.oasis-one-column .WikiaPageHeader.WikiaPageHeaderDiffHistory { padding-right: 0; }

/* remove extra-large margins on notifications in monobook */ .banner-notification p { margin: 0; line-height: inherit; }

/* remove arbitrary comment box width restriction */ width: 100%; }
 * 1) WikiaArticleComments .article-comm-form textarea {

/* don't apply unit (px, em, etc.) styling within other css styling */ span > .re3 { color: inherit !important; }

/** GENERAL **/

/* redirects in green */ .allpagesredirect > a, .mw-redirect { color: #373; }

/* not-existing category pages in brown */ .newcategory { color: #CA0; }

/* remove unneeded margin */ .emptymwmsg { margin-top: 0 !important; }

/* because 8-space tabs are ridiculous */ pre { -moz-tab-size: 2; tab-size: 2; }

/* wider left margin on special pages + numbered whatlinkshere */ .WikiaArticle ol.special, #mw-whatlinkshere-list, #mw-whatlinkshere-list ul, .mw-spcontent ul { list-style: decimal; margin-left: 3.5em; }

/* auto-open dropdown menus on hover - source: w:c:dev:Talk:AutoEditDropdown */ .wikia-menu-button > .drop:hover ~ ul, ul.WikiaMenuElement:hover { min-width: 100%; display: block; }

/* smaller spacing + honour white space in diff view */ .diff { border-spacing: 1px !important; white-space: pre-wrap; }

/* highlighting on changes */ .diff-deletedline .diffchange { padding: 4px 0; background-color: #FC0; color: #000; } .diff-addedline .diffchange { padding: 4px 0; background-color: #4F4; color: #000; }

/* show all sections on file pages */ .ns-6 .tabs > li { display: none; } .ns-6 .tabBody { display: block; }

/* small, equal shadows on globalnav + toolbar */ .global-navigation, .WikiaBarWrapper { box-shadow: 0 0 3px 2px rgba(0, 0, 0, 0.3) !important; }

/* top border on footer + keep under other content */ .global-footer { border-top: 1px solid #CCC; clear: both; }

/* not-so-big footer */ .global-footer > nav { margin: 12px 0; } .global-footer > nav > .branding { vertical-align: middle; } .global-footer > nav > ul { display: inline-block; } .global-footer > nav > ul > li { margin-top: 0; }

/* full-width page + remove border */ .global-navigation > .global-navigation-container, #WikiaPage, #WikiaBarWrapper > .wikia-bar { width: auto; max-width: 1600px; border: 0; } /* grid-based pages (e.g. hubs) don't work with full-width page */ width: 1030px; } /* edit preview exceeds window width with full-width page */ margin-left: 0 !important; width: 95% !important; left: 2% !important; }
 * 1) WikiaPage.WikiaGrid {
 * 1) EditPageDialog.preview {

/* things to hide */ .WikiaFooter > section, /* around Wikia */ .wikia-ad, /* and various ad panels */ .home-top-right-ads, .SelfServeUrl, .WikiaAdInContentPlaceHolder, .WikiaAdInContent, .ad-in-content, .bottom-ads, .pagefair-acceptable { display: none !important; }
 * 1) PageShareContainer, /* share buttons */
 * 1) recommendations, /* recommended content */
 * 2) videosModule, /* "must watch" videos */
 * 1) WikiaTopAds,
 * 2) WikiaArticleBottomAd,

/** EDIT PAGE **/

/* show full edit page title + no float */ .EditPageHeader > h1 { overflow: visible; float: none; }

/* slightly smaller edit page font + smaller tab size */ font-size: 12px; line-height: 15px; -moz-tab-size: 2; tab-size: 2; }
 * 1) wpTextbox1, #wpTextbox1.highlighted, #wpTextbox0 {

/* no border on syntax highlight mode */ border: 0; }
 * 1) wpTextbox1.highlighted {

/* hide preview warning */ .preview-modal-msg-wrapper { display: none; height: 0; }

/* full edit summary preview */ white-space: normal; }
 * 1) EditPagePreviewEditSummary {

/* allow changes window to close before finishing loading - credit to User:452 */ .modal > header .close { z-index: 3; position: relative; }

/* transparent edit save page */ background-color: rgba(255,255,255,0.6); }
 * 1) editarea .loading-background {

/* hide hidden categories on edit page */ .hiddencats { display: none; }

/* wide-mode edit panel changes */ .EditPage .module_page_controls .checkboxes > label { margin: 4px 0 0; } .mode-source.editpage-sourcewidemode-on .EditPageToolbar { min-height: 40px; } .mode-source.editpage-sourcewidemode-on .text-links { display: inherit !important; cursor: pointer; font-size: 10px; } .mode-source.editpage-sourcewidemode-on .text-links:only-child { margin-top: 10px; } @media (min-width:989px) { #EditPage.mode-source.editpage-sourcewidemode-on .preview_box { padding-left: 0; } #EditPage.mode-source.editpage-sourcewidemode-on .preview_box h3 { font-size: 10px; line-height: inherit; text-align: center; float: none; margin: 0; } #EditPage.mode-source.editpage-sourcewidemode-on .preview_mobile { padding-top: 0; padding-left: 1px; } #EditPage.mode-source.editpage-sourcewidemode-on .preview_desktop { padding-top: 2px; } #EditPage.mode-source.editpage-sourcewidemode-on .diff-link { width: 70px; margin: 3px -92px 0 0; padding-left: 30px; } #EditPage.mode-source.editpage-sourcewidemode-on .control-button { margin-top: 18px; height: 21px; } }

/** GLOBAL NAVIGATION **/

/* make globalnav stuff smaller */ .WikiaSiteWrapper { padding-top: 32px; } .global-navigation { margin-top: -32px; height: 32px; /* uncomment to make globalnav scroll away position: relative; */ } .global-navigation .wikia-logo-container { padding: 3px 20px 0; } .global-navigation-container:last-child { padding-right: 23px; } .hubs-entry-point { height: 26px; background-position: 13px 7px; } .hubs-entry-point::after { margin-top: 11px; } .hubs-menu, .notifications-container .bubbles { top: 2px; } .search-form-wrapper, .global-navigation .start-wikia-container .start-wikia { margin: 0; } .search-select-wrapper .search-select-underlay, .global-nav-search-input-wrapper .search-icon, .global-nav-search-input-wrapper .search-input, height: 24px; line-height: inherit; } .search-select-wrapper .chevron { margin-top: 4px; } .global-nav-search-input-wrapper .search-button { height: 22px; } height: 32px; } .notifications-container .notifications-entry-point { height: 32px; background-size: 26px auto; } .notifications-container .notifications-entry-point::after { margin-top: 14px; } top: 0; } .AccountNavigation .user-menu, .banner-notifications-wrapper.float { top: 32px; } @media (max-width: 767px) { .banner-notifications-wrapper.float { top: 0; } }
 * 1) globalNavigation .start-wikia-container .start-wikia {
 * 1) AccountNavigation {
 * 1) GlobalNavigationWallNotifications {

/* not-so-big menu */ .AccountNavigation .user-menu > li { height: auto; } .AccountNavigation .user-menu > li > a { padding: 4px 20px; }