Aller au contenu

« MediaWiki:Common.css » : différence entre les versions

De Dark Pappers
Page créée avec « Infobox (style proche Wikipédia) : .infobox { float: right; clear: right; width: 320px; margin: 0 0 1em 1em; border: 1px solid #a2a9b1; background: #f8f9fa; color: #202122; font-size: 90%; line-height: 1.4; border-collapse: collapse; } .infobox th, .infobox td { padding: 6px 8px; vertical-align: top; border-top: 1px solid #a2a9b1; } .infobox th { text-align: left; white-space: nowrap; font-weight: 600; } .infobox .infobox-t... »
 
Aucun résumé des modifications
Ligne 27 : Ligne 27 :


.infobox .infobox-title {
.infobox .infobox-title {
   background: #cedff2; /* proche du bleu pâle Wikipédia */
   background: #323996;
   text-align: center;
   text-align: center;
   font-size: 120%;
   font-size: 20px;
   font-weight: 700;
   font-weight: 700;
   padding: 10px 8px;
   padding: 0 8px;
  border-top: 0;
}
 
.infobox .infobox-bigtitle {
  background: #323996;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  padding: 0 8px;
   border-top: 0;
   border-top: 0;
}
}

Version du 23 février 2026 à 12:37

/* Infobox (style proche Wikipédia) */
.infobox {
  float: right;
  clear: right;
  width: 320px;
  margin: 0 0 1em 1em;
  border: 1px solid #a2a9b1;
  background: #f8f9fa;
  color: #202122;
  font-size: 90%;
  line-height: 1.4;
  border-collapse: collapse;
}

.infobox th,
.infobox td {
  padding: 6px 8px;
  vertical-align: top;
  border-top: 1px solid #a2a9b1;
}

.infobox th {
  text-align: left;
  white-space: nowrap;
  font-weight: 600;
}

.infobox .infobox-title {
  background: #323996;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  padding: 0 8px;
  border-top: 0;
}

.infobox .infobox-bigtitle {
  background: #323996;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  padding: 0 8px;
  border-top: 0;
}

.infobox .infobox-image {
  text-align: center;
  padding: 10px 8px;
}

.infobox .infobox-caption {
  text-align: center;
  font-size: 90%;
  color: #54595d;
  padding: 0 8px 10px;
  border-top: 0;
}