MediaWiki:WikiaPart2.css

/* Header modification */ body { padding: 5px 0; }   .WikiaHeader { background: none; border:none; width: 1000px; margin-left: -500px; top: 5px; height: 36px; }   .WikiaHeader nav { background:blue; border:none; font-size:14px; margin-right: 5px; margin-left: 5px; }   .WikiaHeader li { margin-top: 10px; }   .WikiaHeader .wikia-button { top: -1px; color: white; }   .GlobalNavigation li{ padding-top: 0px; margin-top: 0px; }   .GlobalNavigation li:hover, .AccountNavigation li:hover{ background: none; }   .GlobalNavigation{ line-height: auto; }   .GlobalNavigation .subnav.show, .AccountNavigation .subnav.show { top: 32px; }   .WikiaHeader nav { height: 36px; }   .WikiaHeader nav .WikiaLogo a { display:block; }   .AccountNavigation { top: 0px; }   .AccountNavigation li { padding-top: 0px; }   .WikiaHeader .banner-corner-left, .WikiaHeader .banner-corner-right { display:none; }   .WikiaPage{ padding-top: 35px; }

.WikiaMainPageBanner{ margin-right: -310px; }   .WikiHeader{ background: black; margin-top: 0px; margin-left: -5px; margin-right: -5px; padding-top: 5px; }   .WikiHeader nav{ width: auto; }   .WikiHeader li a { color: white; }   .WikiHeader li a:hover { color: black; }   .WikiHeader .subnav li a { color:black; }   .WikiHeader .shadow-mask{ display:none; }

/* Width */ body { overflow-x: auto; }

.WikiaHeader nav:before { display:none; /* too hard to firebug this, nuke it for now */ }   .GlobalNavigation .subnav{ width: auto; }   .WikiaPage { margin: 0 5px; min-width: 680px; width: auto; padding-right: 310px; }   .WikiaRail { padding: 0 5px; margin-right: -310px; }   .WikiHeader { margin-right: -315px; }   .oasis-one-column .WikiaMainContent, .WikiaMainContent{ width: 100%; }   .oasis-one-column .WikiaPageHeader { padding-right: 0px; }   .WikiaPageHeader details { width: auto; margin-right: -80px; }   .oasis-one-column .WikiaPageHeader details { width: auto; margin-right: 0px; } .activityfeed .activityfeed-inserted-media { width:auto; }   .WikiaFooter { padding-top: 0px; margin-right: -315px; }   .WikiaFooter .toolbar { left: auto; margin-left: -5px; width: auto; position:relative; }   .WikiaFooter .toolbar.float { right: 0; left: 0; }   .WikiaHeader { width: 100%; left: 0; margin-left: 0; }   .CorporateFooter{ left: 0; margin-left: 0; width: 100%; }

.modalWrapper { max-width: 80%; }

/* Content Overflow solution -- Requires Javascript to modify the DOM! */ .WikiHeader { margin-bottom: 0; margin-right: -5px; } .WikiaPage { padding-right: 0; } .WikiaBody { background: white; padding-top: 5px; position:relative; display:table; min-width: 100%; } .WikiaBody .WikiaMainContent{ float:none; display:table-cell; vertical-align:top; } .WikiaBody .WikiaRail{ margin-right: 0; } .WikiaFooter { margin-right: -5px; }

.oasis-one-column .WikiaBody .WikiaMainContent { padding-right: 0; } .oasis-one-column .WikiaMainPageBanner { margin-right: 0; }

/* Styling of swapped Search and Random/Activity buttons (swapping done by js) */

.WikiHeader nav{ right: 300px; } .WikiHeader .WikiaSearch { position: absolute; right: 10px; top: 10px; } .WikiHeaderMigrated { background: black; margin: -5px -10px 5px auto; padding-bottom: 5px; } .WikiaPageHeader .WikiHeaderMigrated { position:absolute; right: -5px; top: 0; width: 320px; } .WikiHeaderMigrated .buttons { text-align: center; } .WikiHeaderMigrated .buttons a { -moz-border-radius:3px 3px 3px 3px; font-size:11px; height:17px; line-height:18px; } .WikiHeaderMigrated .buttons a img { height:16px; left:-2px; position:relative; top:0; vertical-align:text-bottom; } .WikiHeaderMigrated .buttons a[data-id="randompage"] img { background:url("https://images.wikia.nocookie.net/__cb21710/common/skins/oasis/images/sprite.png") no-repeat scroll -1144px -16px transparent; height:13px; width:13px; } .WikiHeaderMigrated .buttons a[data-id="wikiactivity"] img { background:url("https://images.wikia.nocookie.net/__cb21710/common/skins/oasis/images/sprite.png") no-repeat scroll -1128px -48px transparent; height:14px; width:17px; } .WikiHeaderMigrated .buttons a:first-child { margin-right:5px; }