Différences entre versions de « MediaWiki:Common.css »

De Documentation Polaris
Aller à : navigation, rechercher
Ligne 1 : Ligne 1 :
 
/* Le CSS placé ici sera appliqué à tous les habillages. */
 
/* 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; }
 +
#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; }
 +
 +
@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;
 +
}

Version du 23 août 2017 à 00:37

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

@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;
}