MediaWiki:Wikia.css

/* Extra fonts, Google library * Better fluid layout support * On various devices */ @import url("http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic|Droid+Serif");

/* Import Mediawiki:Common.css */ @import url("/load.php?mode=articles&only=styles&articles=MediaWiki:Common.css");

/* Reposition the AJAX Refresh on Wiki Activity since it looks crappy */ body.page-Special_WikiActivity #ajaxRefresh { position: absolute; right: 0; bottom: 18px; }

/* Make the Edit menu drop open on hover */	display: block; min-width: 100%; /* Wikia's scripts only set this when opened 1st time */ visibility: hidden; /* visibility has a stair-step transition, !=0% is visible, 0% is hidden */ -webkit-transition-property: opacity, visibility; -webkit-transition-duration: 0.4s; -webkit-transition-delay: 0.1s; transition-property: opacity, visibility; transition-duration: 0.4s; transition-delay: 0.1s; opacity: 0; }	visibility: visible; opacity: 1; }
 * 1) WikiaPageHeader > .wikia-menu-button > .WikiaMenuElement {
 * 1) WikiaPageHeader > .wikia-menu-button .drop:hover ~ ul,
 * 2) WikiaPageHeader > .wikia-menu-button > .WikiaMenuElement:hover {

/* Compact the TOC since it's somewhat ridiculous on some pages */ .WikiaArticle .toc { font-size: 90%; }

/* Make the paper icon on image thumbnails not affect layout and be translucent * this avoids empty captions wasting space on pages. */ .WikiaArticle .thumb { position: relative; } .WikiaArticle .thumb > .magnify { position: absolute; /* relative to .thumb */ right: 3px; bottom: 4px; opacity: 0.15; margin: 0; padding: 0; float: none; } .WikiaArticle .thumb > .magnify:hover { /* Reveal on hover */ opacity: 1; }

/* Search box */ border-radius: 3px; border-width: 0 0 1px; box-shadow: 2px 2px 6px inset; }	background: transparent; border: 0; margin-left: 9px; padding-left: 0; padding-right: 0; width: 268px; }	border-radius: 0 3px 3px 0; float: none; height: 24px; position: absolute; right: 1px; top: 1px; }
 * 1) WikiaSearch {
 * 1) WikiaSearch > input[name="search"] {
 * 1) WikiaSearch > button {

/* Change the page fonts to something better suited for screen reading. * This intentionally leaves the area outside of articles unaffected */ .WikiaArticle { font-family: 'Open Sans', Verdana, Arial, sans-serif; line-height: 1.7; } .WikiaArticle .mw-headline, .WikiaPageHeader h1 { font-family: 'Droid Serif', Verdana, Arial, sans-serif; }

/* Fix line-height on lists and headings. It uses pixel values as well which screws it when * the font-size is set smaller or larger. */ .WikiaArticle li { line-height: 1.6; } .WikiaArticle h2 { line-height: 1; }

/* User tags fixes */ a.tag { color: inherit; }