MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
Line 2,020: Line 2,020:
.mw-changeslist-legend {
.mw-changeslist-legend {
   border-color: var(--dark-border) !important;
   border-color: var(--dark-border) !important;
}
/* --- Fix Portable Infobox headers (e.g., "Biographical Information") on dark theme --- */
.portable-infobox,
.portable-infobox .pi-item,
.portable-infobox .pi-data,
.portable-infobox .pi-group {
  background: #0d1117 !important;
  border-color: #1f2a34 !important;
  color: #e6edf3 !important;
}
/* Header prúžky ako "Biographical Information" */
.portable-infobox .pi-header,
.portable-infobox .pi-secondary-background,
.portable-infobox .pi-section-label {
  background: #0f1620 !important;  /* zruší biely pás */
  color: #e6edf3 !important;
  border-color: #1f2a34 !important;
}
/* Popisky vľavo (label) nech nie sú na bielom */
.portable-infobox .pi-data-label {
  color: #9db1c3 !important;
  background: transparent !important;
}
/* Odkazy v infoboxe – kontrast */
.portable-infobox a { color: #58a6ff !important; }
/* Fandom/infobox občas farbí nepárne riadky na bielo – zruš */
.portable-infobox .pi-item:nth-child(odd),
.portable-infobox .pi-group:nth-child(odd) {
  background: #0d1117 !important;
}
}