User:Catwater/common.css

/* Portable infobox tweaks */ /* OVERALL INFOBOX */ /* background */ .pi-background { background: none; }

/* width */ .portable-infobox { width: 22em; }

/* TITLE - FONT SIZE, FONT COLOR, BACKGROUND */ .pi-title { color: #FFFFFF; background: #337800; text-align: center; }

/* HEADER ONLY */ /* background */ .pi-header { color: #FFFFFF; background: #337800; }

/* NAVIGATION ONLY */ /* background */ .pi-navigation { background: #DAD6B8; }

/* Left column width and align */ .pi-data-label { flex-basis: 10em; text-align: left; }

/* Right column align */ .pi-data-value { text-align: left; }

/*~ Cleans Main page heading ~*/ .page-Dofus_Wiki #lastmod, .page-Dofus_Wiki #siteSub, .page-Dofus_Wiki #contentSub, .page-Dofus_Wiki h1.firstHeading { display: none !important; } /*~ styling for MediaWiki:Edittools ~*/ border:1px solid #F0F0F0; background:#F9F9F9; } /* wikitable/prettytable class for skinning normal tables */ margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse; } table.wikitable th, table.wikitable td { border: 1px #aaa solid; padding: 0.2em; } table.wikitable th { background: #f2f2f2; text-align: center; } table.wikitable caption { font-weight: bold; } /*~ Something about plain links ~*/ /*Add formatting to make sure that "external references" from Template:Ref do not get URL expansion, not even when printed. The mechanism up to MediaWiki 1.4 was that the HTML code contained a SPAN following the anchor A; this SPAN had the class "urlexpansion", which was not displayed on screen, but was shown when the medium was "print". The rules below ensure (a) that there is no extra padding to the right of the anchor (displayed as "[ ]"), (b) that there is no "external link arrow" for the link, and (c) that this SPAN of class "urlexpansion" is never shown. -- Wendy (talk ) 04:56, September 30, 2010 (UTC) .plainlinksneverexpand { background: none !important; padding: 0 !important; } .plainlinksneverexpand .urlexpansion { display: none ! important; } /* Make sure that ext links displayed within "plainlinksneverexpand" don't get the arrow... .plainlinksneverexpand a { background: none !important; padding: 0 !important; } /* With MediaWiki 1.5, the mechanism has changed: instead of a SPAN of class "urlexpansion" following the anchor A, the anchor itself now has class "external autonumber" and the expansion is inserted when printing (see the common printing style sheet at  http://en.wikipedia.org/skins-1.5/common/commonPrint.css) using the ":after" pseudo- element of CSS. We have to switch this off for links due to Template:Ref! -- Wendy (talk ) 04:56, September 30, 2010 (UTC) .plainlinksneverexpand a.external.text:after { display: none !important; } .plainlinksneverexpand a.external.autonumber:after { display: none !important; }
 * 1) edittools,
 * 2) editpage-specialchars {
 * 1) content table.wikitable,
 * 2) article table.wikitable {

/* ~ spoiler class ~*/ .spoiler a { text-decoration: none; color: #f9f9f9; background: none; } /* Standard Navigationsleisten, aka box hiding thingy from .de. Documentation at NavFrame. */ div.Boxmerge, div.NavFrame { margin: 0px; padding: 4px; border: 1px solid #aaa; text-align: center; border-collapse: collapse; font-size: 100%; } div.Boxmerge div.NavFrame { border-style: none; border-style: hidden; } div.NavFrame + div.NavFrame { border-top-style: none; border-top-style: hidden; } div.NavPic { background-color: #fff; margin: 0px; padding: 2px; float: left; } div.NavFrame div.NavHead { height: 1.6em; font-weight: bold; background-color: #ccccff; position:relative; } div.NavFrame p { font-size: 100%; } div.NavFrame div.NavContent { font-size: 100%; text-align: left; } div.NavFrame div.NavContent p { font-size: 100%; text-align: left; } div.NavEnd { margin: 0px; padding: 0px; line-height: 1px; clear: both; } a.NavToggle { position:absolute; top:0px; right:3px; font-weight:normal; font-size:smaller; } /* Users Bot name coloring */ table.diff a[title="User:CizBot"],	ul#pagehistory li a[title="User:CizBot"],ul.special li a[title="User:CizBot"], table.diff a[title="User:LiriBot"],	ul#pagehistory li a[title="User:LiriBot"],ul.special li a[title="User:LiriBot"] { color: Gray;} /* Users Admins name coloring */ table.diff a[title="User:Cizagna"],	ul#pagehistory li a[title="User:Cizagna"], ul.special li a[title="User:Cizagna"], table.diff a[title="User:Lirielle"],	ul#pagehistory li a[title="User:Lirielle"], ul.special li a[title="User:Lirielle"], table.diff a[title="User:GroundZzero"],	ul#pagehistory li a[title="User:GroundZzero"], ul.special li a[title="User:GroundZzero"], table.diff a[title="User:Galrauch"],	ul#pagehistory li a[title="User:Galrauch"], ul.special li a[title="User:Galrauch"], table.diff a[title="User:Squirrelladventures"],	ul#pagehistory li a[title="User:Squirrelladventures"], ul.special li a[title="User:Squirrelladventures"] table.diff a[title="User:Revil-Nunor"],	ul#pagehistory li a[title="User:Revil-Nunor"], ul.special li a[title="User:Revil-Nunor"] table.diff a[title="User:Gravestorm"],	ul#pagehistory li a[title="User:Gravestorm"], ul.special li a[title="User:Gravestorm"] { font-weight:bold;color:#009900;}

/* H's not appearing behind floating objects */ h1, h2, h3, h4, h5, h6 {	overflow:hidden; }

.WikiaArticle .picture-attribution {display:none;}

.RelatedPagesModule {display: none;}

body { background-attachment: fixed; }

/* * Hide the first item of every list within an element with class "oldnews". * Used to hide duplicate news link in main page's RSS section. */ .oldnews li:first-child { display:none; }

/* * Style fixes for Dofus RSS news feed. * Rules apply to an element with id "newnews". * 1) Limits images' width to container size minus right padding. */ max-width:100%;  box-sizing: border-box;  -moz-box-sizing: border-box;  -webkit-box-sizing: border-box;  padding-right:2.6em;  height:auto; }
 * 1) newnews div.wikiaRss img {

/* * Set the size of spans with the "clippy" class to fit the Clippy flash widget. */ span.clippy { display:inline-block; width:14px; height:16px; margin-top:-2px; overflow:hidden; } /* * Styles for the "iconlist" class of divs. Used e.g. in Template:Effect icons. * Icons line up in a 26px wide space (20px icon + 3px margins) on the right. * Overrides top margin and puts square bullets on definition lists within the div * or following the div. */ div.iconlist dl, div.iconlist + dl, div.iconlist ~ dl { margin:0.3em; } div.iconlist dd, div.iconlist + dl dd, div.iconlist ~ dl dd { display:list-item; list-style-type:square; } div.iconlist dd, div.iconlist li { position:relative; padding-right:26px; } div.iconlist dd img, div.iconlist li img { position:absolute; margin:auto; top:0; right:3px; bottom:0; }

/* Change global nav search to grey instead of default periwinkle * Replace "go" arrow that's basically invisible to an arrow */ .search-input { background-color: #f1f1f1 !important; border: 1px solid #cccccc !important; }

.search-button { background-color: inherit !important; background-image: url("http://vignette2.wikia.nocookie.net/dofus/images/3/36/Search_Icon.png") !important; transform: scale(0.75, 0.75); -ms-transform: scale(0.75, 0.75); -webkit-transform: scale(0.75, 0.75); }

.search-form-wrapper .autocomplete { box-shadow: 0 5px 10px -7px #898989 !important; border: 1px solid #cccccc !important; border-top: none !important; }

.search-form-wrapper .autocomplete div { border-bottom: 1px solid #efefef !important; }

.search-form-wrapper .autocomplete .selected { background-color: #efefef !important; }

/* Remove infobox conversion module */ .templatedraft-module { display: none; }

/* Diff recolours */ table.diff td { padding: 0.33em 0.66em !important; } td.diff-marker { font-weight: bold; font-size: 1.25em; } td.diff-addedline, td.diff-deletedline, td.diff-context { font-size: 88%; vertical-align: top; } td.diff-addedline, td.diff-deletedline { border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; background-color: transparent !important; } td.diff-addedline .diffchange, td.diff-deletedline .diffchange { border-radius: 0.33em; padding: 0.25em 0; }

td.diff-addedline { border-color: #438ab5; }

td.diff-deletedline { border-color: #2a6a31; } td.diff-context { border: 1px solid #f1f1f1; border-left-width: 4px; border-radius: 0.33em; } td.diff-addedline .diffchange { background: #90c2dd; }

td.diff-deletedline .diffchange { background: #acdaab; }

.diffchange-inline { color: #000; }

/* Chat colours/background */ body.ChatWindow { background: url(http://vignette1.wikia.nocookie.net/dofus/images/c/c7/Chat.png); background-position: center; }

body.ChatWindow .ChatHeader { opacity: 0.5; -moz-opacity:0.5; -khtml-opacity: 0.5; } body.ChatWindow .WikiaPage { opacity: 0.8; -moz-opacity:0.8; -khtml-opacity: 0.8; }

/* Horizontal line styling */ hr { width: 100%; height: 1px; margin-left: auto; margin-right: auto; margin-top: auto; background-color: #CCBCA4; border: none; }

/* TOC */ .toclimit-2 .toclevel-2, .toclimit-3 .toclevel-3, .toclimit-4 .toclevel-4, .toclimit-5 .toclevel-5, .toclimit-6 .toclevel-6, .toclimit-7 .toclevel-7 { display: none; }

text-decoration: underline; cursor: pointer; }
 * 1) textlink:hover {

color: #006cb0; font-weight: bold; }
 * 1) textlink {