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; /* @noflip */ 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; /* @noflip */ padding: 2px 0 2px 0.9em; /* 0.9em left, 0px right */ text-align: center; } td.mbox-imageright {          /* The right image cell */ border: none; /* @noflip */ 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; /* @noflip */ 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 */ /* @noflip */ padding: 2px 0 2px 0.5em;   /* 0.5em left, 0px right */ } .ambox td.mbox-imageright {     /* The right image cell */ /* @noflip */ padding: 2px 0.5em 2px 0;   /* 0px left, 0.5em right */ }

table.ambox-notice { /* @noflip */ border-left: 10px solid #1e90ff;   /* Blue */ } table.ambox-speedy { /* @noflip */ border-left: 10px solid #b22222;   /* Red */ background: #fee;                  /* Pink */ } table.ambox-delete { /* @noflip */ border-left: 10px solid #b22222;   /* Red */ } table.ambox-content { /* @noflip */ border-left: 10px solid #f28500;   /* Orange */ } table.ambox-style { /* @noflip */ border-left: 10px solid #f4c430;   /* Yellow */ } table.ambox-move { /* @noflip */ border-left: 10px solid #9932cc;   /* Purple */ } table.ambox-protection { /* @noflip */ border-left: 10px solid #bba;      /* Gray-gold */ }

/* Image message box styles */ table.imbox { margin: 4px 10%; border-collapse: collapse; border: 3px solid #1e90ff;   /* Default "notice" blue */ background: #fbfbfb; } .imbox .mbox-text .imbox { /* For imboxes inside imbox-text cells. */   margin: 0 -0.5em;       /* 0.9 - 0.5 = 0.4em left/right. */   display: block;         /* Fix for webkit to force 100% width. */ } .mbox-inside .imbox {      /* For imboxes inside other templates. */   margin: 4px; }

table.imbox-notice { border: 3px solid #1e90ff;   /* Blue */ } table.imbox-speedy { border: 3px solid #b22222;   /* Red */ background: #fee;            /* Pink */ } table.imbox-delete { border: 3px solid #b22222;   /* Red */ } table.imbox-content { border: 3px solid #f28500;   /* Orange */ } table.imbox-style { border: 3px solid #f4c430;   /* Yellow */ } table.imbox-move { border: 3px solid #9932cc;   /* Purple */ } table.imbox-protection { border: 3px solid #bba;      /* Gray-gold */ } table.imbox-license { border: 3px solid #88a;      /* Dark gray */ background: #f7f8ff;         /* Light gray */ } table.imbox-featured { border: 3px solid #cba135;   /* Brown-gold */ }

/* Category message box styles */ table.cmbox { margin: 3px 10%; border-collapse: collapse; border: 1px solid #aaa; background: #DFE8FF;   /* Default "notice" blue */ }

table.cmbox-notice { background: #D8E8FF;   /* Blue */ } table.cmbox-speedy { margin-top: 4px; margin-bottom: 4px; border: 4px solid #b22222;   /* Red */ background: #FFDBDB;         /* Pink */ } table.cmbox-delete { background: #FFDBDB;   /* Red */ } table.cmbox-content { background: #FFE7CE;   /* Orange */ } table.cmbox-style { background: #FFF9DB;   /* Yellow */ } table.cmbox-move { background: #E4D8FF;   /* Purple */ } table.cmbox-protection { background: #EFEFE1;   /* Gray-gold */ }

/* 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 */ }

/* Talk page message box styles */ table.tmbox { margin: 4px 10%; border-collapse: collapse; border: 1px solid #c0c090;   /* Default "notice" gray-brown */ background: #f8eaba; } .mediawiki .mbox-inside .tmbox { /* For tmboxes inside other templates. The "mediawiki" class ensures that */ margin: 2px 0;              /* this declaration overrides other styles (including mbox-small above)   */ width: 100%;                /* For Safari and Opera */ } .mbox-inside .tmbox.mbox-small { /* "small" tmboxes should not be small when */ line-height: 1.5em;         /* also "nested", so reset styles that are   */ font-size: 100%;            /* set in "mbox-small" above. */ }

table.tmbox-speedy { border: 2px solid #b22222;   /* Red */ background: #fee;            /* Pink */ } table.tmbox-delete { border: 2px solid #b22222;   /* Red */ } table.tmbox-content { border: 2px solid #f28500;   /* Orange */ } table.tmbox-style { border: 2px solid #f4c430;   /* Yellow */ } table.tmbox-move { border: 2px solid #9932cc;   /* Purple */ } table.tmbox-protection, table.tmbox-notice { border: 1px solid #c0c090;   /* Gray-brown */ }

/* Disambig and set index box styles */ table.dmbox { clear: both; margin: 0.9em 1em; border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; background: transparent; }

/* 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; } /* Div based "system" style fmbox messages. Used in MediaWiki:Readonly lag. */ div.mw-lag-warn-normal, div.fmbox-system { clear: both; margin: 0.2em 0; border: 1px solid #aaa; background: #f9f9f9; padding: 0.25em 0.9em; }

/* These mbox-small classes must be placed after all other ambox/tmbox/ombox etc classes. "body.mediawiki" is so  they override "table.ambox + table.ambox" above. */ body.mediawiki table.mbox-small {  /* For the "small=yes" option. */   /* @noflip */ clear: right; /* @noflip */ float: right; /* @noflip */ margin: 4px 0 4px 1em; width: 238px; font-size: 88%; line-height: 1.25em; } body.mediawiki table.mbox-small-left {  /* For the "small=left" option. */   /* @noflip */ margin: 4px 1em 4px 0; width: 238px; border-collapse: collapse; font-size: 88%; line-height: 1.25em; }

/* Remove default styles for MediaWiki:Noarticletext. */ div.noarticletext { border: none; background: transparent; padding: 0; }

/* Bold save button */ font-weight: bold; }
 * 1) wpSave {

/* Hatnotes and disambiguation notices */ .rellink, .dablink { font-style: italic; /* @noflip */ padding-left: 1.6em; margin-bottom: 0.5em; } .rellink i, .dablink i { font-style: normal; }

/* 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("http://upload.wikimedia.org/wikipedia/commons/7/7e/Picto_infobox_aerostat.png")               no-repeat top right;} .header.author          {background: url("http://upload.wikimedia.org/wikipedia/commons/1/1e/Picto_infobox_auteur.png")                 no-repeat top right;} .header.comics              {background: url("http://upload.wikimedia.org/wikipedia/commons/2/2c/Picto_infobox_comicballoon.png")           no-repeat top right;} .header.beer           {background: url("http://upload.wikimedia.org/wikipedia/commons/0/04/Picto_infobox_beer.png")                   no-repeat top right;} .header.canada          {background: url("http://upload.wikimedia.org/wikipedia/commons/6/6a/Picto_infobox_Canada.png")                 no-repeat top right;} .header.cardinal        {background: url("http://upload.wikimedia.org/wikipedia/commons/0/03/Picto_infobox_cardinal.png")               no-repeat top right;} .header.castel         {background: url("http://upload.wikimedia.org/wikipedia/commons/5/5c/Picto_infobox_chateau.png")                no-repeat top right;} .header.cinema          {background: url("http://upload.wikimedia.org/wikipedia/commons/e/ea/Picto_infobox_cinema.png")                 no-repeat top right;} .header.communication   {background: url("http://upload.wikimedia.org/wikipedia/commons/a/a2/Picto_infobox_antenna.png")                no-repeat top right;} .header.disney          {background: url("http://upload.wikimedia.org/wikipedia/commons/d/d3/Picto_infobox_Disney.png")                 no-repeat top right;} .header.antic-egypt  {background: url("http://upload.wikimedia.org/wikipedia/commons/c/cc/Picto_infobox_ancient_Egypt.png")          no-repeat top right;} .header.bishop          {background: url("http://upload.wikimedia.org/wikipedia/commons/b/b3/Picto_infobox_bishop.png")                 no-repeat top right;} .header.helicoptere     {background: url("http://upload.wikimedia.org/wikipedia/commons/f/fa/Picto_infobox_helicopter.png")             no-repeat top right;} .header.human          {background: url("http://upload.wikimedia.org/wikipedia/commons/8/82/Picto_infobox_manwoman.png")               no-repeat top right;} .header.computer    {background: url("http://upload.wikimedia.org/wikipedia/commons/a/ae/Picto-infoboxinfo.png")                    no-repeat top right;} .header.israel-judaism {background: url("http://upload.wikimedia.org/wikipedia/commons/a/a5/Picto_infobox_israel-judaisme.png")        no-repeat top right;} .header.game             {background: url("http://upload.wikimedia.org/wikipedia/commons/9/90/Picto_infobox_Game.png")                   no-repeat top right;} .header.rpg        {background: url("http://upload.wikimedia.org/wikipedia/commons/d/d8/Picto_infobox_Jeu_de_rôle.png")            no-repeat top right;} .header.videogame        {background: url("http://upload.wikimedia.org/wikipedia/commons/2/2d/Picto_infobox_gamepad.png")                no-repeat bottom right;} .header.macintosh       {background: url("http://upload.wikimedia.org/wikipedia/commons/2/20/Picto_infobox_Macintosh.png")              no-repeat top right;} .header.map             {background: url("http://upload.wikimedia.org/wikipedia/commons/7/7a/Picto_infobox_map.png")                    no-repeat top right;} .header.medecine        {background: url("http://upload.wikimedia.org/wikipedia/commons/2/23/Picto_infobox_med.png")                    no-repeat top right;} .header.mets            {background: url("http://upload.wikimedia.org/wikipedia/commons/a/aa/Picto_infobox_mets.png")                   no-repeat top right;} .header.montreal-metro  {background: url("http://upload.wikimedia.org/wikipedia/fr/b/ba/Picto_infobox_Mtl_metro.png")                   no-repeat top right;} .header.montreal-train  {background: url("http://upload.wikimedia.org/wikipedia/fr/9/99/Picto_infobox_Mtl_train.png")                   no-repeat top right;} .header.plane-engine    {background: url("http://upload.wikimedia.org/wikipedia/commons/9/9c/Picto_Infobox_moteur_d%27avion.png")       no-repeat top right;} .header.music         {background: url("http://upload.wikimedia.org/wikipedia/commons/6/60/Picto_infobox_music.png")                  no-repeat top right;} .header.papyrus         {background: url("http://upload.wikimedia.org/wikipedia/commons/1/1b/Picto_infobox_papyrus.png")                no-repeat top right;} .header.paralympics    {background: url("http://upload.wikimedia.org/wikipedia/commons/5/5e/Picto_infobox_Paralympics.png")            no-repeat top right;} .header.character    {background: url("http://upload.wikimedia.org/wikipedia/commons/3/37/Picto_infobox_masks.png")                  no-repeat top right;} .header.people        {background: url("http://upload.wikimedia.org/wikipedia/commons/4/48/Picto_infobox_character.png")              no-repeat top right;} .header.planeur         {background: url("http://upload.wikimedia.org/wikipedia/commons/5/54/Picto_infobox_planeur.png")                no-repeat top right;} .header.planet         {background: url("http://upload.wikimedia.org/wikipedia/commons/7/71/Picto_infobox_astronomy.png")              no-repeat top right;} .header.press          {background: url("http://upload.wikimedia.org/wikipedia/commons/2/23/Picto_infobox_journal.png")                no-repeat top right;} .header.projet          {background: url("http://upload.wikimedia.org/wikipedia/commons/c/cb/Picto_infobox_tools.png")                  no-repeat top right;} .header.quebec          {background: url("http://upload.wikimedia.org/wikipedia/commons/2/21/Picto_infobox_Quebec.png")                 no-repeat top right;} .header.research       {background: url("http://upload.wikimedia.org/wikipedia/commons/c/c1/Picto_infobox_detective.png")              no-repeat top right;} .header.rome-antique    {background: url("http://upload.wikimedia.org/wikipedia/commons/2/2e/Picto_infobox_Roman_millitary_banner.png") no-repeat top right;} .header.science-fiction {background: url("http://upload.wikimedia.org/wikipedia/commons/e/ed/Picto_infobox_fliyingsaucer.png")          no-repeat top right;} .header.sport           {background: url("http://upload.wikimedia.org/wikipedia/commons/8/8e/Picto_infobox_Olympic.png")                no-repeat top right;} .header.sport-automobile {background: url("http://upload.wikimedia.org/wikipedia/commons/a/af/Picto_infobox_sport_auto.png")            no-repeat top right;} .header.television      {background: url("http://upload.wikimedia.org/wikipedia/commons/8/84/Picto_infobox_HD_television.png")              no-repeat top right;} .header.stamp          {background: url("http://upload.wikimedia.org/wikipedia/commons/b/b3/Picto_infobox_Stamps.png")                 no-repeat top right;} .header.train           {background: url("http://upload.wikimedia.org/wikipedia/commons/4/44/Picto_infobox_train.png")                  no-repeat top right;} .header.european-union {background: url("http://upload.wikimedia.org/wikipedia/commons/c/c0/Picto_Infobox_Europe.png")                no-repeat top right;} .header.university      {background: url("http://upload.wikimedia.org/wikipedia/commons/4/42/Picto_infobox_book.png")                   no-repeat top right;} .media.audio           {background: url("http://upload.wikimedia.org/wikipedia/commons/thumb/a/a6/Gnome-speakernotes.png/35px-Gnome-speakernotes.png") no-repeat top left;} .media.video           {background: url("http://upload.wikimedia.org/wikipedia/commons/thumb/2/20/Tango-video-x-generic.png/35px-Tango-video-x-generic.png") no-repeat top left;}