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 */ padding-right: 0; }
 * 1) WikiaPageHeader.WikiaPageHeaderDiffHistory {

/* special pages in admin view have unneeded padding */ .WikiaArticle.AdminDashboardChromedArticle { padding: 0; }

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

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

/* fix forum thread starter's username position in monobook by matching oasis padding */ padding: 10px; }
 * 1) Wall .comments > .message > .speech-bubble-message {

/* prevent modal buttons from squishing together in monobook */ .modalToolbar > a { margin-left: 10px; }

/* prevent double underline on 'minor edit', etc. indicator in monobook, for browsers using text-decoration */ @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], .voting-controls > a, .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 */ body { -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 .MiniEditorWrapper:not(.editor-open) .buttons { display: block; }

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

/* on message walls/forum, move "reply to #" message up to take less space */ position: absolute; top: 0; right: 100px; } top: 11px; }
 * 1) Wall .quote-of {
 * 1) bodyContent #Wall .quote-of {

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

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

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

/* floating personal toolbar in monobook */ width: auto; position: fixed; top: 0 !important; right: 0 !important; left: auto; padding: 0 0.5em 0.3em 0; background-color: rgba(250,250,250,0.9); border-bottom-left-radius: 5px; box-shadow: 0 0 2px #555; } padding: 0; }
 * 1) p-personal {
 * 1) p-personal > .pBody > ul {

/* 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; padding: 0 10px; }

/* 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 */ .gamestar-logo,        /* probably sponsor for German wikis? */ .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 */ .EditPageHeader > h1 { overflow: visible; }

/* slightly smaller edit page font */ font-size: 12px; line-height: 15px; }
 * 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; }

/* 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; } .ChatModule .arrow-left, .ChatModule .arrow-right { z-index: 1; }

/* 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, .AccountNavigation, .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) searchSubmit {
 * 1) GlobalNavigationWallNotifications {

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