MediaWiki:Common.css

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

/* General purpose */

body { font-family:Trebuchet MS, sans-serif; }

/* ### Portal pages appearance ### */ .portals { background-color: #A9A9A9; border: 1px solid #FF0000; vertical-align: top; color: #000; padding: 12px 15px 12px 15px; -moz-border-radius: 10px; -webkit-border-radius: 10px; -khtml-border-radius: 10px; border-radius: 10px; } .portals h1 { margin: 0; background: #4F4F4F; font-size: 150%; font-weight: bold; border: 1px solid #FF0000; text-align:left ;color:#FFFFFF; padding: 0.2em 0.4em; -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; border-radius: 5px; margin: .3em 0 .5em 0; }

/* For template documentation */ .template-documentation { clear: both; margin: 1em 0 0 0; border: 1px solid #aaa; background-color: #ecfcf4; 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; }

/** * 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 V2 */ .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;}

/* Effets dégradés : utilisables pour un effet ombragé dans les modèles de cadre (par exemple : Portail:Montréal/Cadre). Ceux-ci ne doivent pas dépasser 43 pixels de hauteur au risque d'y voir un effet indésirable. Note : les effets en PNG ne sont pas résolus par IE6 et moins. Dernière mise à jour : 4 février 2010 */ /* Ombragé, fond transparent (png) */ .degrade      { background-image: url("//upload.wikimedia.org/wikipedia/commons/f/fb/Gradient_43px.png"); background-position:top; background-repeat:repeat-x;} .degrade_rev  { background-image: url("//upload.wikimedia.org/wikipedia/commons/6/61/Gradient_reversed_43px.png"); background-position:top; background-repeat:repeat-x;} /* Ombragé, gris fond blanc (jpg) */ .ombre        { background-image: url("//upload.wikimedia.org/wikipedia/commons/e/ea/BGblue1_phixr.jpg"); background-position:top; background-repeat:repeat-x;} .ombre_pale   { background-image: url("//upload.wikimedia.org/wikipedia/commons/0/06/BGblue2_phixr.jpg"); background-position:top; background-repeat:repeat-x;} /* Coloré, bleu/rouge fond blanc (jpg) */ .ombre_bl    { background-image: url("//upload.wikimedia.org/wikipedia/commons/3/3e/BGblue1.jpg"); background-position:top; background-repeat:repeat-x;} .ombre_blpale { background-image: url("//upload.wikimedia.org/wikipedia/commons/f/f7/BGblue2.jpg"); background-position:top; background-repeat:repeat-x;} .ombre_rg    { background-image: url("//upload.wikimedia.org/wikipedia/commons/3/30/BGred1.jpg"); background-position:top; background-repeat:repeat-x;} .ombre_rgpale { background-image: url("//upload.wikimedia.org/wikipedia/commons/8/8f/BGred2.jpg"); background-position:top; background-repeat:repeat-x;}

/* 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: #B0C4DE;     /* Level 1 color */ } .navbox-abovebelow, th.navbox-group, .navbox-subgroup .navbox-title { background: #ADD8E6;     /* 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; }

/* Category bar's overlook */

border: 1px solid #FF0000; background-color: #A9A9A9; padding: 5px; clear: both; -moz-border-radius: 4px; -webkit-border-radius: 4px; -khtml-border-radius: 4px; border-radius: 4px; }
 * 1) catlinks {