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/modifying 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);

/** * highlightOverride * Alters default GeSHi syntax highlighting * Currently only supports js */ @import url(http://camtest.wikia.com/index.php?title=MediaWiki:HighlightOverride.css&action=raw&ctype=text/css&maxage=0&smaxage=0); /** * 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; }

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

/* */