Aller au contenu

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

aucun résumé des modifications
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 583 : Ligne 583 :
   text-align: center;
   text-align: center;
   margin-bottom: 0.5rem;
   margin-bottom: 0.5rem;
  font-size: 0.95rem;
}
.nph-ephem-icon {
  text-align: center;
  margin-bottom: 0.4rem;
}
.nph-ephem-warning {
  text-align: center;
  font-weight: 700;
  color: #A0522D;
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
}
.nph-ephem-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.nph-ephem-list li {
  padding: 0.25rem 0 0.25rem 1.2rem;
  position: relative;
  font-size: 0.8rem;
  line-height: 1.5;
}
.nph-ephem-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: #C49A2A;
  font-size: 0.55rem;
  top: 0.4rem;
}
.nph-ephem-list li.nph-ephem-bonus::before {
  content: '▲';
  color: #4A8C5C;
  font-size: 0.5rem;
}
.nph-ephem-list li.nph-ephem-malus::before {
  content: '▼';
  color: #A0522D;
  font-size: 0.5rem;
}
.nph-ephem-random {
  margin-top: 0.5rem;
  padding: 0.5rem 0.7rem;
  background: #F5ECD7;
  border-radius: 6px;
  font-size: 0.78rem;
  line-height: 1.6;
}
.nph-ephem-random-title {
  font-weight: 700;
  color: #4A2D6B;
  margin-bottom: 0.2rem;
  font-size: 0.8rem;
}
.nph-ephem-random-table {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.2rem;
  margin: 0.3rem 0;
  text-align: center;
  font-size: 0.75rem;
}
.nph-ephem-random-table span {
  padding: 2px 4px;
  border-radius: 3px;
  background: rgba(255,255,255,0.6);
}
.nph-ephem-random-note {
  font-size: 0.75rem;
  color: #7A6E5E;
  font-style: italic;
  margin-top: 0.2rem;
}
}