User:OneTwoThreeFall/global.css

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

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

/* fix header margin on history + diff pages */ .WikiaPageHeaderDiffHistory > h1 { margin-left: 0 }

/* remove padding which squishes history + diff page header at narrow widths */ .wikinav2.oasis-one-column .WikiaPageHeader.WikiaPageHeaderDiffHistory { padding-right: 0; }

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

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

/* fix forum thread starter's username position in monobook */ body.skin-monobook #Wall.Thread .comments > .message > .speech-bubble-message .edited-by { left: 0; top: 0; }

/* firefox: prevent double underline on 'minor edit', etc. indicator in monobook */ @supports (text-decoration: dotted underline) { abbr, acronym, .explain { border-bottom: 0; text-decoration: dotted underline; } }

/** GENERAL **/

/* no custom cursors */ html, body, a { cursor: auto !important; } a[href], .wikia-button, .button, .hubs-entry-point, .notifications-entry-point { cursor: pointer !important; }

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

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

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

/* always show comment tools */ .speech-bubble-message .tools { visibility: visible !important; } .Wall .comments .speech-bubble-message .buttons { display: block; }

/* right-align monobook message wall tools */ width: auto; } float: right; }
 * 1) Wall .timestamp {
 * 1) Wall .buttons-monobook {

/* 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, #ChatHeader, #WikiaPage, #WikiaBarWrapper > .wikia-bar { width: auto; max-width: 1600px; border: 0; } .global-navigation-container { padding: 0 20px; } /* 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 in 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; }

/* don't collapse edit toolbar when empty .EditPageToolbar { min-height: 38px; } */

/* tidy wide-mode edit toolbar */ padding-top: 3px; } padding-left: 0; } font-size: 10px; line-height: inherit; text-align: center; float: none; margin: 0; } padding-top: 0; } padding-top: 2px; } position: absolute; top: -8px; width: 112px; text-align: center; } margin-top: 17px; height: 21px; }
 * 1) EditPage.mode-source.editpage-sourcewidemode-on .checkboxes {
 * 1) EditPage.mode-source.editpage-sourcewidemode-on:not(.toolbar-expanded) .preview_box {
 * 1) EditPage.mode-source.editpage-sourcewidemode-on:not(.toolbar-expanded) .preview_box > h3 {
 * 1) EditPage.mode-source.editpage-sourcewidemode-on .preview_mobile {
 * 1) EditPage.mode-source.editpage-sourcewidemode-on .preview_desktop {
 * 1) EditPage.mode-source.editpage-sourcewidemode-on:not(.toolbar-expanded) .diff-link {
 * 1) EditPage.mode-source.editpage-sourcewidemode-on:not(.toolbar-expanded) .control-button {

/** CHAT **/

/* show everyone in chat module */ .ChatModule .chat-whos-here .carousel-container { height: auto; width: auto; } .ChatModule .chat-whos-here ul.carousel { position: static; width: auto !important; }

/* don't hide me on a chat list */ display: list-item !important; }
 * 1) WikiChatList > .User {

/* always show PM section on a chat list */ overflow: auto; height: calc(70% - 39px); } overflow: auto; height: calc(30% - 39px); } display: block !important; }
 * 1) WikiChatList {
 * 1) PrivateChatList {
 * 1) Rail > .private {

/** GLOBAL NAVIGATION **/

/* smaller global navigation */ .WikiaSiteWrapper { padding-top: 32px; } .global-navigation { margin-top: -32px; height: 32px; } .wikia-logo-container { padding-top: 3px; } .hubs-entry-point { background-position: 13px 10px; } .hubs-entry-point, .notifications-container > .notifications-entry-point { height: 32px; } .hubs-entry-point::after, .notifications-container > .notifications-entry-point::after { margin-top: 14px; } .search-form-wrapper { margin: 1px 0 0; } .search-form-wrapper .autocomplete { margin-top: 6px; } .global-nav-search-input-wrapper .search-icon, .search-select-wrapper .search-select-underlay, .global-nav-search-input-wrapper .search-input { height: 24px; } height: 22px; } .search-select-wrapper .chevron { margin-top: 4px; } .notifications-container > .bubbles { top: 2px; } top: 0; } .global-navigation .start-wikia-container .start-wikia { height: 24px; line-height: inherit; margin: 0; } .hubs-menu-wrapper, .AccountNavigation .user-menu, .banner-notifications-wrapper.float { top: 32px; } @media (max-width: 767px) { .banner-notifications-wrapper.float { top: 0; } }
 * 1) AccountNavigation,
 * 1) searchSubmit {
 * 1) GlobalNavigationWallNotifications {

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