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

De Wiki Dragon Quest
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 130 : Ligne 130 :
flex-flow: column nowrap;
flex-flow: column nowrap;
}
}
}
/*
* Style par défaut des infoboxes utilisant InfoboxBuilder (ajouts)
* À retirer dès que ces styles ne seront plus utilisés !
*/
.default-infobox-main-image img {
  margin-left: auto;
  margin-right: auto;
}
.default-infobox-main-image-caption, .default-infobox-image-caption { text-align: center; }
.default-infobox-split-label-left, .default-infobox-split-label-right {
  color: #3C3C3C;
  text-align:center;
}
.default-infobox-split-value-left, .default-infobox-split-value-right { text-align: center; }
.default-infobox-footer {
  padding-top: 0.75rem;
  text-align: center;
}
}


Ligne 179 : Ligne 155 :
}
}


/*
.header {
* Styles standards pour les tableaux
color:#FFFFFF;
* Syntaxe : {| class="standard"
padding:1em;
* Encore en cours de développement
border-radius: 3px 3px 0 0;
*/
.standard {
  background-color: #E5E4E0;
  border-radius: 5px;
  border-collapse: separate;
}
 
.standard:hover {
  background-color: #D9D9DA;
}
 
.standard tr:first-child > :first-child {
  border-top-left-radius: 5px;
}
 
.standard tr:first-child > :last-child {
  border-top-right-radius: 5px;
}
}


.standard tr:last-child > :first-child {
.infobox .header {
  border-bottom-left-radius: 5px;
font-size:120%;
}
}


.standard tr:last-child > :last-child {
/*Codes couleurs pour les différents thèmes*/
  border-bottom-right-radius: 5px;
}
 
.standard th {
  background-color:  #046380;
  color: white;
  padding: 0.5em;
}
 
.standard td {
  background-color: #F0EFEE;
  padding: 5px;
}
 
.standard tr:hover th {
  background-color: #175C7F;
}
 
.standard tr:hover td {
  background-color: #EBECEC;
}
 
 
/*Codes couleurs*/
 
.cmonstre {
.cmonstre {
background: #00CC00;
background: #00CC00;
Ligne 286 : Ligne 220 :
.calchimie {
.calchimie {
background: #E9B813;
background: #E9B813;
}
/*-----------PURGATOIRE------------*/
/*trucs obs à garder ou jeter, c'est selon*/
/*
* Style par défaut des infoboxes utilisant InfoboxBuilder (ajouts)
* À retirer dès que ces styles ne seront plus utilisés !
*/
.default-infobox-main-image img {
  margin-left: auto;
  margin-right: auto;
}
.default-infobox-main-image-caption, .default-infobox-image-caption { text-align: center; }
.default-infobox-split-label-left, .default-infobox-split-label-right {
  color: #3C3C3C;
  text-align:center;
}
.default-infobox-split-value-left, .default-infobox-split-value-right { text-align: center; }
.default-infobox-footer {
  padding-top: 0.75rem;
  text-align: center;
}
/*Trucs à XFusio*/
/*
* Styles standards pour les tableaux
* Syntaxe : {| class="standard"
* Encore en cours de développement
*/
.standard {
  background-color: #E5E4E0;
  border-radius: 5px;
  border-collapse: separate;
}
.standard:hover {
  background-color: #D9D9DA;
}
.standard tr:first-child > :first-child {
  border-top-left-radius: 5px;
}
.standard tr:first-child > :last-child {
  border-top-right-radius: 5px;
}
.standard tr:last-child > :first-child {
  border-bottom-left-radius: 5px;
}
.standard tr:last-child > :last-child {
  border-bottom-right-radius: 5px;
}
.standard th {
  background-color:  #046380;
  color: white;
  padding: 0.5em;
}
.standard td {
  background-color: #F0EFEE;
  padding: 5px;
}
.standard tr:hover th {
  background-color: #175C7F;
}
.standard tr:hover td {
  background-color: #EBECEC;
}
}