User:Master Fredcerique/wikia.css

/* Personal imports */ /* @import "http://starwars.wikia.com/index.php?title=MediaWiki:Common.css&action=raw&ctype=text/css"; */ @import "http://community.wikia.com/index.php?title=User:Tm_T/global.css&action=raw&ctype=text/css";

/* To have adaptive width */ width: auto; max-width: 1216px; /* sensible maximum width, adjust to your liking */ float: woohoo-free-space-floating; /* anything else but right/left goes, roight? */  margin-left: 32px; /* to have some gap from window edges */ margin-right: 32px; }
 * 1) WikiaPage {

.WikiaHeader, #WikiaFooter .toolbar { width: auto; max-width: 1226px; /* Following the max-width above, +10 px difference required */ left: 0; right: 0; margin-left: 28px; /* same gaps as above, but -4 px (4+4=10 here) */ margin-right: 28px; }


 * 1) WikiaMainContent { width: 99%; } /* use ~whole width */

/* Hide the sidebar items and unwanted links in the toolbar, more below */
 * 1) WikiaHeader .GlobalNavigation, #WikiaFooter > h1, #WikiaFooter > a, #WikiaFooter > ul, .LatestPhotosModule, .WikiaActivityModule { display:none; }
 * 2) WikiaSpotlightsModule { display:none !important; } /* I wonder why _this_ needs force */

/* .WikiaRail { display:none; } to hide the sidebar entirely, or what is below to keep only the search */ .WikiaRail { float: none; position: absolute; left: 70%; top: 30px; z-index:999; }

/* Place the search box to some nice spot */
 * 1) wikiaRail .WikiaSearch { top: 44px; }

/* Show eraicons until title-rewrite or similar trick does the job... needed? */ width: 250; float: right; display: block !important; margin-left: 1em; margin-top: 0px; }
 * 1) title-eraicons {

/** Experimenting with wordmark */ .wordmark { width: 200px; height: 50px; background: url(http://images.wikia.com/starwars/images/7/72/Wordmark-logo.png) center left no-repeat !important; }

.wordmark.medium.text a { color: transparent; }

/*** Totally my personal stuff below */

/* Some border niftyness to infobox */ .WikiaArticle .infobox { border: 1px solid #888888 !important; /* I want that infobox border */ /* Firefox needs it's own version for rounded borders */ -moz-border-radius-bottomleft:8px; -moz-border-radius-bottomright:8px; /* So does (older?) WebKit browsers */ -webkit-border-bottom-left-radius: 8px; -webkit-border-bottom-right-radius: 8px; /* ...when they all should use this, KHTML <3 */ border-bottom-left-radius: 8px; border-bottom-right-radius: 8px; }

border: 1px solid #A2A1A0; -moz-border-radius-topleft: 0.5em; -moz-border-radius-topright: 0.5em; -moz-border-radius-bottomleft: 0.5em; -moz-border-radius-bottomright: 0.5em; -webkit-border-radius: 0.5em; }
 * toc, .toc {

.toccolours { border: 1px solid #A2A1A0; background-color: #f2f1f0; padding: 5px; font-size: 95%; }

body { font-family: "Liberation Sans", sans-serif !important; font-size: medium; }

.WikiaArticle a.new:visited { color: darkred; }