MediaWiki: Common.css

De Documentation Polaris
Aller à : navigation, rechercher

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é et sécurité → Effacer les données d’exploration → Images et fichiers en cache.
/* Le CSS placé ici sera appliqué à tous les habillages. */

/* couleur des approbations et révision */
#mw-revision-info { color: white; background-color: indianRed; padding: 0.5ex 0.5em; margin: 0 0 1ex 0; border-radius: 4px; display: inline-block;}
#mw-revision-nav { color: black; background-color: #dedede; padding: 0.5ex 0.5em; margin: 0 0 1ex 0; border-radius: 4px; display: inline-block;}
#mw-revision-info a { color: white; }
.approvedAndLatestMsg { color: white; background-color: MediumSeaGreen; padding: 0.5ex 0.5em; margin: 0 0 1ex 0; border-radius: 4px; }
.notApprovedRevision { color: white; background-color: IndianRed; padding: 0.5ex 0.5em; margin: 0 0 1ex 0; border-radius: 4px; }
.notLatestMsg { color: white; background-color: darkorange; padding: 0.5ex 0.5em; margin: 0 0 1ex 0; border-radius: 4px; }
.noApprovedRevision a, .notLatestMsg a { color: white; text-decoration: underline; }
.noApprovedRevision a:hover, .notLatestMsg a:hover { text-decoration: none; }

.approbation {
  position: fixed;
  top: 64px;
  right: 16px;
}

.approbation .btn-success {
  opacity: 0.8;
}

.approbation a {
  color: white;
}

@media print {
 .footer-icons, .footer-places, .footer-info, .p-tb, .approbation, .approbation * { display: none !important; } 
}

img {
  max-width:100%;
  height: auto;
  page-break-before: auto; 
  page-break-after: auto; 
  page-break-inside: avoid !important;
}

p {
  page-break-inside: avoid;
}

h1, h2, h3, h4, h5, h6, h7, h8, h9 {
  page-break-after: avoid;
}

#catlinks {
  display: block;
}

.mw-normal-catlinks{
  display: none;
}

.catlinks {
  border: 0 !important;
  background: white !important;
  margin-top: 0 !important;
}