MediaWiki:Common.css
Révision datée du 8 janvier 2019 à 17:03 par Narloke (discussion | contributions)
Note : après avoir enregistré vos modifications, il se peut que vous deviez forcer le rechargement complet du cache de votre navigateur pour voir les changements.
- Firefox / Safari : maintenez la touche Maj (Shift) en cliquant sur le bouton Actualiser ou pressez Ctrl-F5 ou Ctrl-R (⌘-R sur un Mac)
- Google Chrome : appuyez sur Ctrl-Maj-R (⌘-Shift-R sur un Mac)
- Internet Explorer : maintenez la touche Ctrl en cliquant sur le bouton Actualiser ou pressez Ctrl-F5
- Opera : allez dans Menu → Settings (Opera → Préférences sur un Mac) et ensuite à Confidentialité & sécurité → Effacer les données d’exploration → Images et fichiers en cache.
/*<nowiki>*/ /* Universal styles */ .infobox .clear, .nav .clear, .recipe-box .clear { height:5px; } #content .hiddenlinks a, #content .hiddenlinks a:link, #content .hiddenlinks a:visited { color:inherit; } /** INFOBOXES **/ div.infobox { float:right; position:relative; width:250px; background:#FFF; font-size:.923em; border:1px solid #AAA; margin:0 0 1em 1em; padding:0; } div.infobox { filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr=#ffffffff,EndColorStr=#ffeeeeee); background-image:linear-gradient(top, #fff 0%, #eee 100%); background-image:-o-linear-gradient(top, #fff 0%, #eee 100%); background-image:-moz-linear-gradient(top, #fff 0%, #eee 100%); background-image:-webkit-linear-gradient(top, #fff 0%, #eee 100%); background-image:-ms-linear-gradient(top, #fff 0%, #eee 100%); background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0, #fff), color-stop(1, #eee)); } div.infobox .icon { float:right; position:relative; z-index:2; width:auto; margin:5px; } /* Missing icons */ div.infobox .icon a.new { color:transparent; display:inline-block; font:0/0 a; overflow:hidden; vertical-align:middle; background-image:url("/images/thumb/7/74/Skill.png/40px-Skill.png"); height:40px; width:40px; } div.infobox.skill .icon a.new { color:transparent; display:inline-block; font:0/0 a; overflow:hidden; vertical-align:middle; background-image:url("/images/thumb/7/74/Skill.png/48px-Skill.png"); height:48px; width:48px; } /* animation link beneath icon */ div.infobox .icon p { text-align:center; color:#444; font-size:9px!important; background-color:rgba(255,255,255,0.5); border-radius:.75em; line-height:1em; margin:.25em -.5em; padding:2px; } div.infobox .heading { font-weight:700; background-image:url("/images/c/cc/Infobox_header_overlay.png") !important; text-align:center; border:1px solid rgba(0,0,0,0.25); border-bottom-width:0; position:relative; z-index:1; margin:-1px -1px 5px!important; } div.infobox .heading { font-family:EasonPro, "Times New Roman", serif!important; font-size:1.417em!important; color:#fff!important; background-color:#444; text-shadow:rgba(0,0,0,0.75) 0 0 .25em; line-height:1.176em; font-size-adjust:.43; padding:.5em!important; } div.infobox .statistics { text-align:center; margin:0 8px; } div.infobox .image_wrapper { text-align:center; padding:0; margin:10px 0; } div.infobox .statistics span + span { margin-left:5px; } div.infobox .wrapper { clear:both; padding:0; } div.infobox dt { float:left; text-align:right; width:78px; line-height:1em; font-weight:700; clear:left; border-right:2px solid #999; margin:0 -2px 0 0; padding:2px 8px 2px 3px; } div.infobox dd { float:left; width:125px; font-weight:400; border-left:2px solid #999; margin:0; padding:2px 7px; } div.infobox::after, div.infobox .heading::after { content:""; position:absolute; width:100%; left:0; height:3px; background-image:url("/images/4/45/Shadow_after.png"); background-size:100% 3px; } div.infobox::after, div.infobox .heading::after { bottom:-3px; } /* Remove after shadow for tables that have been centered, otherwise the shadow spans the entire page */ .table[class*=center]::after, .table.noshadowafter::after { background-image:none; } div.infobox table { background-color:transparent; } div.infobox dt, div.infobox dd { line-height:1.667em; } /* declare skill and trait infoboxes first because these colours are overwritten by professions */ div.infobox.skill .heading div.infobox.trait .heading { background:#444; } div.infobox.skill dd, div.infobox.skill dt, div.infobox.trait dd, div.infobox.trait dt { border-color:#999; } div.infobox.skill .icon > div { border:2px solid #111; } div.infobox.guardian .heading { background-color:#066; } div.infobox.guardian dd, div.infobox.guardian dt { border-color:#066; } div.infobox.hématomancien .heading { background-color:#066; } div.infobox.hématomancien dd, div.infobox.hématomancien dt { border-color:#066; } div.infobox.revenant .heading { background-color:#861313; } div.infobox.revenant dd, div.infobox.revenant dt { border-color:#861313; } div.infobox.warrior .heading { background-color:#c60; } div.infobox.warrior dd, div.infobox.warrior dt { border-color:#c60; } div.infobox.engineer .heading { background-color:#630; } div.infobox.engineer dd, div.infobox.engineer dt { border-color:#630; } div.infobox.ranger .heading { background-color:#360; } div.infobox.ranger dd, div.infobox.ranger dt { border-color:#360; } div.infobox.thief .heading { background-color:#933; } div.infobox.thief dd, div.infobox.thief dt { border-color:#933; } div.infobox.elementalist .heading { background-color:#c00; } div.infobox.elementalist dd, div.infobox.elementalist dt { border-color:#c00; } div.infobox.mesmer .heading { background-color:#606; } div.infobox.mesmer dd, div.infobox.mesmer dt { border-color:#606; } div.infobox.necromancer .heading { background-color:#063; } div.infobox.necromancer dd, div.infobox.necromancer dt { border-color:#063; } div.infobox.asura .heading { background-color:#63c; } div.infobox.asura dd, div.infobox.asura dt { border-color:#63c; } div.infobox.charr .heading { background-color:#900; } div.infobox.charr dd, div.infobox.charr dt { border-color:#900; } div.infobox.human .heading { background-color:#c90; } div.infobox.human dd, div.infobox.human dt { border-color:#c90; } div.infobox.norn .heading { background-color:#069; } div.infobox.norn dd, div.infobox.norn dt { border-color:#069; } div.infobox.sylvari .heading { background-color:#060; } div.infobox.sylvari dd, div.infobox.sylvari dt { border-color:#060; } div.infobox.boon .heading { background-color:#399; } div.infobox.boon dd, div.infobox.boon dt { border-color:#399; } div.infobox.condition .heading { background-color:#363; } div.infobox.condition dd, div.infobox.condition dt { border-color:#363; } div.infobox.promo .heading { background-color:#6EA500; } div.infobox.promo dd, div.infobox.promo dt { border-color:#6EA500; } div.infobox.item .heading { background:#C30; } div.infobox.item dd, div.infobox.item dt { border-color:#C30; } div.infobox.skin .heading { background:#C4003E; } div.infobox.skin dd, div.infobox.skin dt { border-color:#C4003E; } div.infobox.crafting .heading { background:#533610; } div.infobox.crafting dd, div.infobox.crafting dt { border-color:#533610; } div.infobox.npc .heading { background:#390; } div.infobox.npc dd, div.infobox.npc dt { border-color:#390; } div.infobox.pet .heading { background:#360; } div.infobox.pet dd, div.infobox.pet dt { border-color:#360; } div.infobox.quest .heading { background:#F90; } div.infobox.quest dd, div.infobox.quest dt { border-color:#F90; } div.infobox.area .heading { background:#306; } div.infobox.area dd, div.infobox.area dt { border-color:#306; } div.infobox.rewardtrack .heading { background:#001434; } div.infobox.rewardtrack dd, div.infobox.rewardtrack dt { border-color:#4c5a70; } /** TABLE CLASSES **/ .table { border:0 solid; border-collapse:collapse; border-spacing:0; font-size:.9230769231em; text-align:left; clear:none; position:relative; display:inline-block; vertical-align:top; margin:10px 0; padding:0; } /* make table captions bold */ .table > caption { font-weight: bold } /* this is a hack to add borders to IE8- */ .table > thead, .table > tbody { border:0 solid #aaa\0/ } .table tr { border:1px solid #aaa\0/; text-align:left; border-color:#AAA; } /* and this removes them for IE9+ */ :root .table tr { border-top-width:0; border-bottom-width:0; } .table > * > tr > :first-child { border-left:1px solid #AAA; } .table > * > tr > :last-child { border-right:1px solid #AAA; } .table > tbody > tr:last-child, .table > tbody > tr:last-child > *, .table > tfoot > tr:last-child > *, .table > caption { border-bottom:1px solid #AAA; } .table > tbody:first-child > tr:first-child > *, .table > tbody > tr.heading > *, .table > thead > tr:first-child > * { background-image:url("/images/c/cc/Infobox_header_overlay.png"); background-color:#EEE; border-color:#AAA; padding:.5em; } .table > tbody > tr > th, .table > tbody > tr > td, .table > tfoot > tr > th { line-height:1.667em; padding:.25em .5em; } .table tr > th, .table[class*=center] tr { text-align:center; } .table[class*=left] tr { text-align:left; } .table[class*=right] tr { text-align:right; } .table[class*=middle] tr { vertical-align:middle; } .table[class*=top] tr { vertical-align:top; } .table[class*=bottom] tr { vertical-align:bottom; } .table > :first-child > tr:first-child, .table > tbody > tr.heading { background-color:#EEE; border:1px solid #aaa!important; } .table > tbody > tr > th, .table > tfoot > tr > th { background-color:#E7E7E7; border-color:#AAA; } .table > tbody > tr:nth-child(odd) { background-color:#F3F3F3; border-color:#AAA; } .table > tbody, .table > tbody > tr.heading, .table > tbody > tr > [rowspan], .table > tbody > tr > [colspan] { border:1px solid #AAA; } .table > :first-child > tr:first-child + tr [rowspan], .table > :first-child > tr:first-child + tr [colspan] { border-top-width:0; } .table .line, .table .line-bottom { border-bottom-width:1px!important; border-bottom-style:solid; } .table .line-top { border-top-width:1px!important; border-top-style:solid; border-top-color:#AAA; } .table .line-left { border-left-width:1px!important; border-left-style:solid; border-left-color:#AAA; } .table .line-right { border-right-width:1px!important; border-right-style:solid; border-right-color:#AAA; } .table table { background-color:transparent; padding:0; margin:0; } dl+table.table { margin-top: 0; } /** STDT table classes **/ /* any */ .table.any > :first-child > tr:first-child, .table.any > :first-child > tr:first-child > *, .table.any > tbody > tr.heading, .table.any > tbody > tr.heading > * { background-color:#888 !important; border-color:#6D6D6D !important; } .table.any > tbody > tr > th, .table.any > tfoot > tr > th, .table.any > thead > tr > th, table.table > tbody > tr.any > th { background-color:#CCC; border-color:#AAA; } .table.any > tbody > tr:nth-child(odd), .table > tbody > tr.any:nth-child(odd) { background-color:#EEE; } /* guardian */ .table.guardian > :first-child > tr:first-child, .table.guardian > :first-child > tr:first-child > *, .table.guardian > tbody > tr.heading, .table.guardian > tbody > tr.heading > * { background-color:#72C1D9 !important; border-color:#5B9AAE !important; } .table.guardian > tbody > tr > th, .table.guardian > tfoot > tr > th, .table.guardian > thead > tr > th, table.table > tbody > tr.guardian > th { background-color:#B9E0EC; border-color:#94B3BD; } .table.guardian > tbody > tr:nth-child(odd), .table > tbody > tr.guardian:nth-child(odd) { background-color:#EAF6F9; } /* hématomancien */ .table.hématomancien > :first-child > tr:first-child, .table.hématomancien > :first-child > tr:first-child > *, .table.hématomancien > tbody > tr.heading, .table.hématomancien > tbody > tr.heading > * { background-color:#72C1D9 !important; border-color:#5B9AAE !important; } .table.hématomancien > tbody > tr > th, .table.hématomancien > tfoot > tr > th, .table.hématomancien > thead > tr > th, table.table > tbody > tr.hématomancien > th { background-color:#B9E0EC; border-color:#94B3BD; } .table.hématomancien > tbody > tr:nth-child(odd), .table > tbody > tr.hématomancien:nth-child(odd) { background-color:#EAF6F9; } /* Attribute prefix spacing (usually in infoboxes) */ .prefixwrapper dl { margin: 0; } /** PRINTER CHANGES **/ @media print { #content { border:0 solid #FFF; box-shadow:none; border-radius:0; } .mw-parser-output, div.infobox .heading, div.nav .heading { color:#000!important; background:none; text-shadow:none!important; border-width:0!important; } table.table > :first-child > tr:first-child, table.table > :first-child > tr:first-child > *, .table > tbody > tr > * { border:1px solid #000!important; } .table { border-collapse:collapse!important; } } /*</nowiki>*/