MediaWiki:Common.css

/* CSS placed here will be applied to all skins */

/* General purpose */

body { font-family:Tahoma, sans-serif; }

/* For template documentation */ .template-documentation { clear: both; margin: 1em 0 0 0; border: 1px solid #aaa; background-color: #FFDEAD; padding: 1em; }

/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */ th.mbox-text, td.mbox-text {  /* The message body cell(s) */ border: none; padding: 0.25em 0.9em;    /* 0.9em left/right */ width: 100%;              /* Make all mboxes the same width regardless of text length */ } td.mbox-image {               /* The left image cell */ border: none; padding: 2px 0 2px 0.9em; /* 0.9em left, 0px right */ text-align: center; } td.mbox-imageright {          /* The right image cell */ border: none; padding: 2px 0.9em 2px 0; /* 0px left, 0.9em right */ text-align: center; } td.mbox-empty-cell {          /* An empty narrow cell */ border: none; padding: 0px; width: 1px; }

/* Article message box styles */ table.ambox { margin: 0px 10%;                 /* 10% = Will not overlap with other elements */ border: 1px solid #aaa; border-left: 10px solid #1e90ff; /* Default "notice" blue */ background: #fbfbfb; } table.ambox + table.ambox {     /* Single border between stacked boxes. */   margin-top: -1px; } .ambox th.mbox-text, .ambox td.mbox-text {           /* The message body cell(s) */ padding: 0.25em 0.5em;      /* 0.5em left/right */ } .ambox td.mbox-image {          /* The left image cell */ padding: 2px 0 2px 0.5em;   /* 0.5em left, 0px right */ } .ambox td.mbox-imageright {     /* The right image cell */ padding: 2px 0.5em 2px 0;   /* 0px left, 0.5em right */ } table.ambox-notice { border-left: 10px solid #1e90ff;   /* Blue */ } table.ambox-speedy { border-left: 10px solid #b22222;   /* Red */ background: #fee;                  /* Pink */ } table.ambox-delete { border-left: 10px solid #b22222;   /* Red */ } table.ambox-content { border-left: 10px solid #f28500;   /* Orange */ } table.ambox-style { border-left: 10px solid #f4c430;   /* Yellow */ } table.ambox-move { border-left: 10px solid #9932cc;   /* Purple */ } table.ambox-protection { border-left: 10px solid #bba;      /* Gray-gold */ }

/* Footer and header message box styles */ table.fmbox { clear: both; margin: 0.2em 0; width: 100%; border: 1px solid #aaa; background: #f9f9f9;    /* Default "system" gray */ } table.fmbox-system { background: #f9f9f9; } table.fmbox-warning { border: 1px solid #bb7070; /* Dark pink */ background: #ffdbdb;       /* Pink */ } table.fmbox-editnotice { background: transparent; } /* Div based "warning" style fmbox messages. */ div.mw-warning-with-logexcerpt, div.mw-lag-warn-high, div.mw-cascadeprotectedwarning, div#mw-protect-cascadeon { clear: both; margin: 0.2em 0; border: 1px solid #bb7070; background: #ffdbdb; padding: 0.25em 0.9em; }

/* Other pages message box styles */ table.ombox { margin: 4px 10%; border-collapse: collapse; border: 1px solid #aaa;      /* Default "notice" gray */ background: #f9f9f9; } table.ombox-notice { border: 1px solid #aaa;      /* Gray */ } table.ombox-speedy { border: 2px solid #b22222;   /* Red */ background: #fee;            /* Pink */ } table.ombox-delete { border: 2px solid #b22222;   /* Red */ } table.ombox-content { border: 1px solid #f28500;   /* Orange */ } table.ombox-style { border: 1px solid #f4c430;   /* Yellow */ } table.ombox-move { border: 1px solid #9932cc;   /* Purple */ } table.ombox-protection { border: 2px solid #bba;      /* Gray-gold */ }

/* PORTAL BANNERS */

/* default style for portal banners used in Template:Portal metalink and Template:Portal */

border: solid #AAAAAA 1px; padding: 4px; background-color: #F9F9F9; text-align: center; margin-top: 1em; margin-left: 0; clear: both; }
 * 1) banner-portal {

padding: 4px; margin-left: 0; clear: both; }
 * 1) list-portal {

display: inline }
 * 1) list-portal li {

display: inline; }
 * 1) banner-portal li {

.banner-portal-element { white-space: nowrap; margin: auto 1.5em; }

.banner-portal-icon { margin-right: 0.5em; }

.banner-portal-text { font-weight: bold; }

/* Style for horizontal lists (separator following item). Note: hlist formatting will break if the resulting HTML lacks a breakable character between list items. This happens when the following conditions are true: 1) The list is made using wiki markup (where HTML is built by parser.php)  2) HTMLTidy is disabled or unavailable (such as on Special: pages) In such cases, building lists with .hlist using HTML instead of wiki markup will work around this problem. See also 39617. IE8-specific classes are assigned in MediaWiki:Common.js/IEFixes.js. Last updated: September 23, 2012 @maintainer: User:Edokter @revision: 2.0 .skin-monobook .hlist dl, .skin-modern .hlist dl, .skin-vector .hlist dl { line-height: 1.5em; } .hlist dl, .hlist ol, .hlist ul { margin: 0; padding: 0; } /* Display list items inline and make them nowrap */ .hlist dd, .hlist dt, .hlist li { margin: 0; display: inline; white-space: nowrap; } /* Display nested lists inline and allow them to wrap */ .hlist dl dl, .hlist dl ol, .hlist dl ul, .hlist ol dl, .hlist ol ol, .hlist ol ul, .hlist ul dl, .hlist ul ol, .hlist ul ul { display: inline; white-space: normal; } /* Generate interpuncts */ .hlist dt:after { content: ":"; } .hlist dd:after, .hlist li:after { content: " ·"; font-weight: bold; } .hlist dd:last-child:after, .hlist dt:last-child:after, .hlist li:last-child:after { content: none; } /* For IE8 */ .hlist dd.hlist-last-child:after, .hlist dt.hlist-last-child:after, .hlist li.hlist-last-child:after { content: none; } /* Add parentheses around nested lists */ .hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before, .hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before, .hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before { content: "(";   font-weight: normal; } .hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after, .hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after, .hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after {    content: ")"; font-weight: normal; } /* For IE8 */ .hlist dd dd.hlist-last-child:after, .hlist dd dt.hlist-last-child:after, .hlist dd li.hlist-last-child:after, .hlist dt dd.hlist-last-child:after, .hlist dt dt.hlist-last-child:after, .hlist dt li.hlist-last-child:after, .hlist li dd.hlist-last-child:after, .hlist li dt.hlist-last-child:after, .hlist li li.hlist-last-child:after { content: ")";   font-weight: normal; } /* Put numbers in front of ordered list items */ .hlist.hnum ol {    counter-reset: list-item; } .hlist.hnum ol > li {    counter-increment: list-item; } .hlist.hnum ol > li:before {    content: counter(list-item) " "; } .hlist.hnum dd ol > li:first-child:before, .hlist.hnum dt ol > li:first-child:before, .hlist.hnum li ol > li:first-child:before {    content: "(" counter(list-item) " "; } /* Unbulleted lists */ .plainlist ul { line-height: inherit; list-style: none none; margin: 0; } .plainlist ul li { margin-bottom: 0; }

/* Default style for navigation boxes */ .navbox {                    /* Navbox container style */ border: 1px solid #aaa; width: 100%; margin: auto; clear: both; font-size: 88%; text-align: center; padding: 1px; } .navbox-inner, .navbox-subgroup { width: 100%; } .navbox th, .navbox-title, .navbox-abovebelow { text-align: center;      /* Title and above/below styles */ padding-left: 1em; padding-right: 1em; } th.navbox-group {            /* Group style */ white-space: nowrap; /* @noflip */ text-align: right; } .navbox, .navbox-subgroup { background: #fdfdfd;     /* Background color */ } .navbox-list { border-color: #fdfdfd;   /* Must match background color */ } .navbox th, .navbox-title { background: #A9A9A9;     /* Level 1 color */ } .navbox-abovebelow, th.navbox-group, .navbox-subgroup .navbox-title { background: #C0C0C0;     /* Level 2 color */ } .navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow { background: #D3D3D3;     /* Level 3 color */ } .navbox-even { background: #f7f7f7;     /* Even row striping */ } .navbox-odd { background: transparent; /* Odd row striping */ } table.navbox + table.navbox { /* Single pixel border between adjacent navboxes */ margin-top: -1px;         /* (doesn't work for IE6, but that's okay)       */ } .navbox .hlist td dl, .navbox .hlist td ol, .navbox .hlist td ul, .navbox td.hlist dl, .navbox td.hlist ol, .navbox td.hlist ul { padding: 0.125em 0;      /* Adjust hlist padding in navboxes */ } ol + table.navbox, ul + table.navbox { margin-top: 0.5em;       /* Prevent lists from clinging to navboxes */ }

/* Default styling for Navbar template */ .navbar { display: inline; font-size: 88%; font-weight: normal; } .navbar ul { display: inline; white-space: nowrap; } .navbar li { word-spacing: -0.125em; } .navbar.mini li span { font-variant: small-caps; } /* Navbar styling when nested in infobox and navbox */ .infobox .navbar { font-size: 100%; } .navbox .navbar { display: block; font-size: 100%; } .navbox-title .navbar { /* @noflip */ float: left; /* @noflip */ text-align: left; /* @noflip */ margin-right: 0.5em; width: 6em; }

/* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript in MediaWiki:Common.js are styled here so they can be customised. */ .collapseButton { /* @noflip */ float: right; font-weight: normal; /* @noflip */ margin-left: 0.5em; /* @noflip */ text-align: right; width: auto; } /* In navboxes, the show/hide button balances the v·d·e links from Template:Navbar, so they need to be the same width. */ .navbox .collapseButton { width: 6em; } /* Styling for JQuery makeCollapsible, matching that of collapseButton */ .mw-collapsible-toggle { font-weight: normal; /* @noflip */ text-align: right; } .navbox .mw-collapsible-toggle { width: 6em; }

/** * Infobox * See : w:Utilisateur:Antaya/Infobox V2 */ .infobox { /* monobookocentré debut */ background: #f9f9f9; color: #000; font-size: 90%; line-height: 1.1em; float: right; clear: right; /* haut droite bas gauche */ margin: 0 0 .5em 1em; width: 300px; border: 1px solid #aaa; padding: 0.1em; } .infobox th { vertical-align: super; text-align: left; } .infobox .header { height: 45px; vertical-align: middle; text-align: center; font-size: 150%; font-weight: bolder; line-height: 1.2em; color: #000; } .infobox .media { /* css V2 pour Modèle: Son, etc. */ height: 35px; vertical-align: middle; text-align: center; font-weight: bolder; color: #000; } /* graphiques transparents d'entêtes des infobox */ .header.default {} .header.aerostat { background: url("//upload.wikimedia.org/wikipedia/commons/7/7e/Picto_infobox_aerostat.png")    no-repeat top right; } .header.artist { background: url("//upload.wikimedia.org/wikipedia/commons/f/f3/Picto_infobox_artiste.png") no-repeat top right; } .header.japmartialarts{ background: url("//upload.wikimedia.org/wikipedia/commons/8/81/Picto_infobox_samourai.png")    no-repeat top right; } .header.association { background: url("//upload.wikimedia.org/wikipedia/commons/thumb/e/ea/Collaboration_logo_infobox.svg/50px-Collaboration_logo_infobox.svg.png") no-repeat top right; } .header.athletics { background: url("//upload.wikimedia.org/wikipedia/commons/9/99/Picto_Infobox_Athletisme.png")    no-repeat top right; } .header.author { background: url("//upload.wikimedia.org/wikipedia/commons/1/1e/Picto_infobox_auteur.png")    no-repeat top right; } .header.basket-ball { background: url("//upload.wikimedia.org/wikipedia/commons/f/f4/Picto_Infobox_Basketball.png")    no-repeat top right; } .header.comics { background: url("//upload.wikimedia.org/wikipedia/commons/2/2c/Picto_infobox_comicballoon.png")    no-repeat top right; } .header.beer { background: url("//upload.wikimedia.org/wikipedia/commons/0/04/Picto_infobox_beer.png")      no-repeat top right; } .header.canada { background: url("//upload.wikimedia.org/wikipedia/commons/6/6a/Picto_infobox_Canada.png")    no-repeat top right; } .header.calendar { background: url("//upload.wikimedia.org/wikipedia/commons/4/4a/Almanacco.png")       no-repeat top right; } .header.cardinal { background: url("//upload.wikimedia.org/wikipedia/commons/0/03/Picto_infobox_cardinal.png")    no-repeat top right; } .header.castle { background: url("//upload.wikimedia.org/wikipedia/commons/5/5c/Picto_infobox_chateau.png")   no-repeat top right; } .header.catch { background: url("//upload.wikimedia.org/wikipedia/commons/7/79/Picto_infobox_catch.png")     no-repeat top right; } .header.cinema { background: url("//upload.wikimedia.org/wikipedia/commons/e/ea/Picto_infobox_cinema.png")    no-repeat top right; } .header.communication { background: url("//upload.wikimedia.org/wikipedia/commons/a/a2/Picto_infobox_antenna.png")   no-repeat top right; } .header.cycling { background: url("//upload.wikimedia.org/wikipedia/commons/thumb/8/86/Cycling_%28road%29_pictogram.svg/45px-Cycling_%28road%29_pictogram.svg.png") no-repeat top right; } .header.deportation { background: url("//upload.wikimedia.org/wikipedia/commons/e/e0/Picto_Infobox_deportation.png")    no-repeat top right; } .header.disney { background: url("//upload.wikimedia.org/wikipedia/commons/d/d3/Picto_infobox_Disney.png")    no-repeat top right; } .header.antic-egypt { background: url("//upload.wikimedia.org/wikipedia/commons/c/cc/Picto_infobox_ancient_Egypt.png")   no-repeat top right; } .header.bishop { background: url("//upload.wikimedia.org/wikipedia/commons/b/b3/Picto_infobox_bishop.png")    no-repeat top right; } .header.football { background: url("//upload.wikimedia.org/wikipedia/commons/f/f8/Infobox_Football_pictogram.png")    no-repeat top right; } .header.grape { background: url("//upload.wikimedia.org/wikipedia/commons/6/66/Picto_info_grape.png")      no-repeat top right; } .header.gymnastics { background: url("//upload.wikimedia.org/wikipedia/commons/thumb/1/12/Gymnastics_%28artistic%29_pictogram.svg/35px-Gymnastics_%28artistic%29_pictogram.svg.png") no-repeat top right; } .header.helicopter { background: url("//upload.wikimedia.org/wikipedia/commons/f/fa/Picto_infobox_helicopter.png")    no-repeat top right; } .header.hockey { background: url("//upload.wikimedia.org/wikipedia/commons/e/ee/Picto_Infobox_Ice_hockey.png")    no-repeat top right; } .header.human { background: url("//upload.wikimedia.org/wikipedia/commons/8/82/Picto_infobox_manwoman.png")    no-repeat top right; } .header.computer{ background: url("//upload.wikimedia.org/wikipedia/commons/a/ae/Picto-infoboxinfo.png")     no-repeat top right; } .header.israel-judaism { background: url("//upload.wikimedia.org/wikipedia/commons/a/a5/Picto_infobox_israel-judaisme.png") no-repeat top right; } .header.game { background: url("//upload.wikimedia.org/wikipedia/commons/9/90/Picto_infobox_Game.png")      no-repeat top right; } .header.rolegame { background: url("//upload.wikimedia.org/wikipedia/commons/d/d8/Picto_infobox_Jeu_de_rôle.png")   no-repeat top right; } .header.videogame { background: url("//upload.wikimedia.org/wikipedia/commons/2/2d/Picto_infobox_gamepad.png")   no-repeat bottom right; } .header.macintosh { background: url("//upload.wikimedia.org/wikipedia/commons/2/20/Picto_infobox_Macintosh.png")   no-repeat top right; } .header.map { background: url("//upload.wikimedia.org/wikipedia/commons/7/7a/Picto_infobox_map.png")     no-repeat top right; } .header.medecine { background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Picto_infobox_med.png")     no-repeat top right; } .header.meal { background: url("//upload.wikimedia.org/wikipedia/commons/a/aa/Picto_infobox_mets.png")      no-repeat top right; } .header.montreal-metro { background: url("//upload.wikimedia.org/wikipedia/fr/b/ba/Picto_infobox_Mtl_metro.png")      no-repeat top right; } .header.montreal-train { background: url("//upload.wikimedia.org/wikipedia/fr/9/99/Picto_infobox_Mtl_train.png")      no-repeat top right; } .header.plane-engine { background: url("//upload.wikimedia.org/wikipedia/commons/9/9c/Picto_Infobox_moteur_d%27avion.png")  no-repeat top right; } .header.museum { background: url("//upload.wikimedia.org/wikipedia/commons/a/ac/Infobox_museum_pictogram.png")    no-repeat top right; } .header.music { background: url("//upload.wikimedia.org/wikipedia/commons/6/60/Picto_infobox_music.png")     no-repeat top right; } .header.papyrus { background: url("//upload.wikimedia.org/wikipedia/commons/1/1b/Picto_infobox_papyrus.png")   no-repeat top right; } .header.paralympic { background: url("//upload.wikimedia.org/wikipedia/commons/5/5e/Picto_infobox_Paralympics.png")   no-repeat top right; } .header.fictional-character{ background: url("//upload.wikimedia.org/wikipedia/commons/3/37/Picto_infobox_masks.png")     no-repeat top right; } .header.glider { background: url("//upload.wikimedia.org/wikipedia/commons/5/54/Picto_infobox_planeur.png")   no-repeat top right; } .header.presse { background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Picto_infobox_journal.png")   no-repeat top right; } .header.project { background: url("//upload.wikimedia.org/wikipedia/commons/c/cb/Picto_infobox_tools.png")     no-repeat top right; } .header.quebec { background: url("//upload.wikimedia.org/wikipedia/commons/2/21/Picto_infobox_Quebec.png")    no-repeat top right; } .header.search { background: url("//upload.wikimedia.org/wikipedia/commons/c/c1/Picto_infobox_detective.png")   no-repeat top right; } .header.antic-rome { background: url("//upload.wikimedia.org/wikipedia/commons/2/2e/Picto_infobox_Roman_millitary_banner.png") no-repeat top right; } .header.road { background: url("//upload.wikimedia.org/wikipedia/commons/e/e7/Infobox_road_pictogram.png")    no-repeat top right; } .header.rugby { background: url("//upload.wikimedia.org/wikipedia/commons/0/06/Picto_Infobox_Rugby.png")     no-repeat top right; } .header.science-fiction { background: url("//upload.wikimedia.org/wikipedia/commons/e/ed/Picto_infobox_fliyingsaucer.png")   no-repeat top right; } .header.sport { background: url("//upload.wikimedia.org/wikipedia/commons/8/8e/Picto_infobox_Olympic.png")   no-repeat top right; } .header.auto-sport { background: url("//upload.wikimedia.org/wikipedia/commons/a/af/Picto_infobox_sport_auto.png")    no-repeat top right; } .header.television { background: url("//upload.wikimedia.org/wikipedia/commons/a/a6/Picto_infobox_TV-T%26PC.png")          no-repeat top right; } .header.tennis { background: url("//upload.wikimedia.org/wikipedia/commons/thumb/8/85/Tennis_pictogram.svg/35px-Tennis_pictogram.svg.png")         no-repeat top right; } .header.stamp { background: url("//upload.wikimedia.org/wikipedia/commons/b/b3/Picto_infobox_Stamps.png")    no-repeat top right; } .header.train { background: url("//upload.wikimedia.org/wikipedia/commons/4/44/Picto_infobox_train.png")     no-repeat top right; } .header.european-union { background: url("//upload.wikimedia.org/wikipedia/commons/c/c0/Picto_Infobox_Europe.png")    no-repeat top right; } .header.university { background: url("//upload.wikimedia.org/wikipedia/commons/4/42/Picto_infobox_book.png")      no-repeat top right; } .media.audio { background: url("//upload.wikimedia.org/wikipedia/commons/thumb/a/a6/Gnome-speakernotes.png/35px-Gnome-speakernotes.png") no-repeat top left; } .media.video { background: url("//upload.wikimedia.org/wikipedia/commons/thumb/2/20/Tango-video-x-generic.png/35px-Tango-video-x-generic.png") no-repeat top left; }