MediaWiki:Common.css

De bricosoft
Version datée du 15 octobre 2010 à 14:14 par Sysop (discussion | contributions)
(diff) ← Version précédente | Version actuelle (diff) | Version suivante → (diff)

Note : après avoir publié 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 appuyez sur Ctrl + F5 ou Ctrl + R (⌘ + R sur un Mac).
  • Google Chrome : appuyez sur Ctrl + Maj + R (⌘ + Shift + R sur un Mac).
  •  Edge : maintenez la touche Ctrl en cliquant sur le bouton Actualiser ou pressez Ctrl + F5.
/* Le CSS placé ici sera appliqué à tous les habillages. */
/* Standard Navigationsleisten */

div.BoxenVerschmelzen,
div.NavFrame {
        margin: 0px;
        padding: 2px;
        border: 1px solid #aaaaaa;
        text-align: center;
        border-collapse: collapse;
        font-size: 95%;
}
div.BoxenVerschmelzen div.NavFrame {
        border-style: none;
        border-style: hidden;
}
div.NavFrame + div.NavFrame {
        border-top-style: none;
        border-top-style: hidden;
}
div.NavPic {
        background-color: #ffffff;
        margin: 0px;
        padding: 2px;
        float: left;
}
div.NavFrame div.NavHead {
        height: 1.6em;
        font-weight: bold;
        font-size: 100%;
        background-color: #efefef;
}
div.NavFrame p {
        font-size: 100%;
}
div.NavFrame div.NavContent {
        font-size: 100%;
}
div.NavFrame div.NavContent p {
        font-size: 100%;
}
div.NavEnd {
        margin: 0px;
        padding: 0px;
        line-height: 1px;
        clear: both;
}

.NavToggle {
   font-size: x-small;
   float:right;

}


/* pour harmoniser les exposants */
.exposant { vertical-align: text-top; }


/* Place un damier de vérification en arrière-plan dans la page de description de l'image, visible seulement en cas d'image transparente ou semi-transparente */
#file img {background: url("http://upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat;}

/* dans special:allpages et special:watchlist, rendre plus visible les pages étant des redirects (allpagesredirect est déjà en italique par défaut) -- Darkoneko */
.allpagesredirect a,
.watchlistredir a  {
  color:#00BB00;
  font-style:italic;
}

/* forme des tailles de diff dans les RC et les watchlist -- Darkoneko, 24/12/2006 */
.mw-plusminus-neg { color:#FF2050; }
.mw-plusminus-pos { color:#00B000; }
.mw-plusminus-null { color:#999999; }


/* Mise en gras de "modifier cette page" (copié de en:) */
#ca-edit a { font-weight: bold !important; }

/* BEGIN Diff rendering */
table.diff {
  padding: 0.5em;
}
table.diff td { 
   vertical-align: top;
}
td.diff-addedline { 
   background:#D8E4F6; 
}
td.diff-addedline span.diffchange {
   background: #B0C0F0;
   color: #001040;
   font-weight: bold;
}
td.diff-deletedline {
   background:#E4F6D8;
}
td.diff-deletedline span.diffchange {
   background: #B0E897;
   color: #104000;
   font-weight: bold;
}
td.diff-context {
   background:#FEFEFE;
}
/* END Diff rendering */

/* Ne pas afficher le lien complet des url externes sur la version imprimable (tag manuel) */
/* Do not expand "plainlinksneverexpand" URLs for printing */

.plainlinksneverexpand a.external.text:after {
  display: none !important;
}
.plainlinksneverexpand a.external.autonumber:after {
  display: none !important;
}
 
/* Make sure that ext links displayed within "plainlinksneverexpand" don't get the arrow...*/

.plainlinksneverexpand a {
  background: none !important;
  padding: 0 !important;
}


/* Default skin for navigation boxes */

table.navbox {            /* Navbox container style */
  border: 1px solid #aaa;
  width: 100%; 
  margin: auto;
  clear: both;
  font-size: 88%;
  text-align: center;
  padding: 1px;
}
table.navbox + table.navbox {  /* Single pixel border between adjacent navboxes */
  margin-top: -1px;            /* (doesn't work for IE6, but that's okay)       */
}
.navbox-title,
.navbox-abovebelow,
table.navbox th {
  text-align: center;      /* Title and above/below styles */
  padding-left: 1em;
  padding-right: 1em;
}
.navbox-group {            /* Group style */
  white-space: nowrap;
  text-align: right;
  font-weight: bold;
  padding-left: 1em;
  padding-right: 1em;
}
.navbox, .navbox-subgroup {
  background: #fdfdfd;     /* Background color */
}
.navbox-list {
  border-color: #fdfdfd;   /* Must match background color */
}
.navbox-title,
table.navbox th {
  background: #ccccff;     /* Level 1 color */
}
.navbox-abovebelow,
.navbox-group,
.navbox-subgroup .navbox-title {
  background: #ddddff;     /* Level 2 color */
}
.navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow {
  background: #e6e6ff;     /* Level 3 color */
}
.navbox-even {
  background: #f7f7f7;     /* Even row striping */
}
.navbox-odd {
  background: transparent; /* Odd row striping */
}
 
.collapseButton {          /* 'show'/'hide' buttons created dynamically */
    float: right;          /* by the CollapsibleTables javascript in    */
    font-weight: normal;   /* [[MediaWiki:Common.js]]are styled here    */
    text-align: right;     /* so they can be customised.                */
    width: auto;
}
.navbox .collapseButton {  /* In navboxes, the show/hide button balances */
    width: 6em;            /* the vde links from [[Template:Tnavbar]],   */
}                          /* so they need to be the same width.         */