imported>Failsayfe
Created page with "Для аккуратных таблиц статов: .stats-table .wikitable, .stats-unique .wikitable { width: 100%; text-align: left; border-collapse: collapse; } .stats-table th, .stats-unique th { background: rgba(var(--wiki-accent-color--rgb), 0.6); color: var(--wiki-accent-label-color); text-align: center; font-size: 1.1em; padding: 6px 10px; } .stats-table td, .stats-unique td { padding: 6px 10px; vertical-align: top; } .stats-table ...."
 
imported>Failsayfe
No edit summary
Line 1: Line 1:
/* Для аккуратных таблиц статов */
/* Узкая таблица для Stats: 20% / 20% / 60% */
.stats-table .wikitable,
.stats-table--compact .wikitable {
.stats-unique .wikitable {
  table-layout: fixed;
   width: 100%;
   width: 100%;
  text-align: left;
  border-collapse: collapse;
}
}
.stats-table--compact .wikitable th:nth-child(1),
.stats-table--compact .wikitable td:nth-child(1) { width: 20%; white-space: nowrap; }


.stats-table th,
.stats-table--compact .wikitable th:nth-child(2),
.stats-unique th {
.stats-table--compact .wikitable td:nth-child(2) { width: 20%; }
  background: rgba(var(--wiki-accent-color--rgb), 0.6);
  color: var(--wiki-accent-label-color);
  text-align: center;
  font-size: 1.1em;
  padding: 6px 10px;
}


.stats-table td,
.stats-table--compact .wikitable th:nth-child(3),
.stats-unique td {
.stats-table--compact .wikitable td:nth-child(3) { width: 60%; }
  padding: 6px 10px;
  vertical-align: top;
}


.stats-table .mw-collapsible,
.stats-table--compact .mw-collapsible { margin-top: .25em; }
.stats-unique .mw-collapsible {
/* Конец узкой таблицы*/
  margin-top: 0.3em;
}

Revision as of 15:25, 20 September 2025

/* Узкая таблица для Stats: 20% / 20% / 60% */
.stats-table--compact .wikitable {
  table-layout: fixed;
  width: 100%;
}
.stats-table--compact .wikitable th:nth-child(1),
.stats-table--compact .wikitable td:nth-child(1) { width: 20%; white-space: nowrap; }

.stats-table--compact .wikitable th:nth-child(2),
.stats-table--compact .wikitable td:nth-child(2) { width: 20%; }

.stats-table--compact .wikitable th:nth-child(3),
.stats-table--compact .wikitable td:nth-child(3) { width: 60%; }

.stats-table--compact .mw-collapsible { margin-top: .25em; }
/* Конец узкой таблицы*/