User:Cåm/global.css

/** * --- 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. * * by User:Cåm */

/* 'Ubuntu Mono' font import */ @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, /* Spotlights */ /* Siderail modules: Achievements, Wiki activity */ .module.AchievementsModule.UserProfileAchievementsModule, /* 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; }
 * 1) WikiaTopAds,
 * 1) WikiaFooter,
 * 1) WikiaRecentActivity,

/* Add a gap to the bottom of the page * 0px has no gap, 1px has ~10px * Might be something in the soptlights 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 */ font-family: 'Ubuntu Mono', monospace; }
 * 1) EditPageEditor textarea {

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

/* Kill 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 */ .oasis-one-column pre { width: 984px; }

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

/* */