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

De Documentation Polaris
Aller à : navigation, rechercher
Ligne 43 : Ligne 43 :
 
h1, h2, h3, h4, h5, h6, h7, h8, h9 {
 
h1, h2, h3, h4, h5, h6, h7, h8, h9 {
 
   page-break-after: avoid;
 
   page-break-after: avoid;
 +
}
 +
 +
#catlinks {
 +
  display: block;
 +
}
 +
 +
.mw-normal-catlinks{
 +
  display: none;
 +
}
 +
 +
.catlinks {
 +
  border: 0 !important;
 +
  background: white !important;
 +
  margin-top: 0 !important;
 
}
 
}

Version du 23 août 2017 à 16:22

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