User:Cåm/global.css

/** * ====================================================== * The majority of the CSS here is for personal use * as it either violates ToU or is fixing something * caused by removing parts of the Oasis skin. * ====================================================== * @author Cåm */

/** * Ubuntu Mono font import * Used in editor, see below */ @import url(http://fonts.googleapis.com/css?family=Ubuntu+Mono);

/** * Removing various bit of Oasis */

/* Contribute and share buttons */ .wikia-menu-button.contribute.secondary.combined, .wikia-button.share-button.secondary,

/* Adverts: Mainpage left column, Wikinav */ .home-top-right-ads,
 * 1) WikiaTopAds,

/* Spotlights */
 * 1) WikiaFooter,

/* Siderail modules: Achievements, Wiki activity */ .module.AchievementsModule.UserProfileAchievementsModule,
 * 1) WikiaRecentActivity,

/* User masthead: Favourite wikis, Details */ .wikis, .UserProfileMasthead .details,

/* Global nav dropdowns */ .topNav.Video_Games.video-games-vertical-color, .topNav.Entertainment.entertainment-vertical-color, .topNav.Lifestyle.lifestyle-vertical-color { display: none; }

/** * Add a gap to the bottom of the page * 0px has no gap, 1px has ~10px * Might be something in the spotlights doing this */ .CorporateFooter { padding-top: 1px; }

/** * Wall notifications always visible on both Oasis and Monobook */	visibility: visible; }
 * 1) pt-wall-notifications .prehide,
 * 2) WallNotifications.prehide {

/** * Changing source text-editor font to ubuntu mono * Requires google fonts import above */	font-family: 'Ubuntu Mono', monospace; }
 * 1) EditPageEditor textarea {

/** * Force text-wrapping in pre tags */ pre { white-space: pre-wrap; }

/** * Remove sidebar on js/css pages for easier code reading */ [class*="_js"] .WikiaGrid .grid-2, [class*="_css"] .WikiaGrid .grid-2 { width: 0; }

[class*="_js"] #LatestPhotosModule, [class*="_js"] .ChatModule.module, [class*="_css"] #LatestPhotosModule, [class*="_css"] .ChatModule.module { display: none; }

[class*="_js"] #WikiaMainContent, [class*="_css"] #WikiaMainContent { width: 1010px; }

/* Keep the search, hardcoded top/right as it's just for me */ [class*="_js"] #WikiaSearch, [class*="_css"] #WikiaSearch { position: absolute; z-index: 1; top: 110px; right: 20px; }

/* Don't move it when viewing diffs */ [class*="_js"].oasis-one-column #WikiaSearch, [class*="_css"].oasis-one-column #WikiaSearch { top:0; }

/* Kill the tally to make more room for search */ [class*="_js"] .tally, [class*="_css"] .tally { display: none; }

/* Fix to stop this affecting the editor */ [class*="_js"].editor #WikiaMainContent, [class*="_css"].editor #WikiaMainContent { width: 1030px; }

/** * Full width on page diffs * @todo Fix for nested tags due to syntax highlights */ .oasis-one-column pre { width: 984px; }

/** * Merge the oasis search into the profile masthead to save room */ .UserProfileMastheadSearch #WikiaSearch { position: absolute; z-index: 1; margin-top: 13px; margin-left: -10px; }

/* Add a darker border to the search button so it stands out more */ .UserProfileMastheadSearch .WikiaSearch .wikia-button { border: 1px solid #333; }

/* Remove the aka part from the masthead to have more room for search */ .UserProfileMasthead .masthead-info h2 { display: none; }

/** * Fixing wiki nav * Seems to be styled inline * Possibly a side effect from removing the header adverts */ .WikiNav .nav li:hover > ul.subnav-3 { top: 28px; }

/** * Adding namespaces to page headers * Only add standard namespaces here, add custom namespaces locally */ .ns-6 #WikiaPageHeader h1:before { content: 'File:'; }

.ns-8 #WikiaPageHeader h1:before { content: 'MediaWiki:'; }

.ns-10 #WikiaPageHeader h1:before { content: 'Template'; }

.ns-14 #WikiaPageHeader h1:before { content: 'Category:'; }

/** * For header links script in global.js */ .mw-head-link { float: right; font-size: small; }

/* */