MediaWiki:Common.css: відмінності між версіями

нема опису редагування
Немає опису редагування
Немає опису редагування
Рядок 1025: Рядок 1025:
     font-weight: 600 !important;
     font-weight: 600 !important;
}
}


/* ══════════════════════════════════════════════
/* ══════════════════════════════════════════════
   SEASON RATING TABLE — layout fixes
   SEASON RATING TABLE — targeted via JS-added class
   ══════════════════════════════════════════════ */
   ══════════════════════════════════════════════ */


/* № column — narrow */
/* № column */
.content .mw-parser-output .wikitable td:first-child,
.mcc-rating-table td:first-child,
.content .mw-parser-output .wikitable th:first-child {
.mcc-rating-table th:first-child {
     width: 48px !important;
     width: 48px !important; min-width: 36px !important; max-width: 56px !important;
    min-width: 36px !important;
     padding: 10px 8px !important; text-align: center !important;
    max-width: 56px !important;
     padding: 10px 8px !important;
    text-align: center !important;
}
 
/* Пан/Пані column — left aligned, close to № */
.content .mw-parser-output .wikitable td:nth-child(2) {
    text-align: left !important;
    padding-left: 14px !important;
}
}


.content .mw-parser-output .wikitable th:nth-child(2) {
/* Пан/Пані column — left aligned */
    text-align: left !important;
.mcc-rating-table td:nth-child(2) { text-align: left !important; padding-left: 14px !important; }
    padding-left: 14px !important;
.mcc-rating-table th:nth-child(2) { text-align: left !important; padding-left: 14px !important; }
}


/* Σ column — white bold */
/* Σ column — white bold */
.content .mw-parser-output .wikitable td:nth-child(3) {
.mcc-rating-table td:nth-child(3) { color: #ffffff !important; font-weight: 700 !important; }
    color: #ffffff !important;
    font-weight: 700 !important;
}


/* Place medals — JS adds .mcc-rank-1 / 2 / 3 */
/* Medal badges */
.mcc-rank-1 {
.mcc-rank-1 {
     display: inline-flex !important;
     display: inline-flex !important; align-items: center !important; justify-content: center !important;
    align-items: center !important;
     width: 26px !important; height: 26px !important; border-radius: 50% !important;
    justify-content: center !important;
     background: rgba(212,168,67,0.18) !important; border: 1.5px solid rgba(212,168,67,0.55) !important;
     width: 26px !important; height: 26px !important;
     color: #d4a843 !important; font-size: 12px !important; font-weight: 700 !important;
    border-radius: 50% !important;
     background: rgba(212,168,67,0.18) !important;
    border: 1.5px solid rgba(212,168,67,0.55) !important;
     color: #d4a843 !important;
    font-size: 12px !important; font-weight: 700 !important;
}
}
.mcc-rank-2 {
.mcc-rank-2 {
     display: inline-flex !important;
     display: inline-flex !important; align-items: center !important; justify-content: center !important;
    align-items: center !important;
     width: 26px !important; height: 26px !important; border-radius: 50% !important;
    justify-content: center !important;
     background: rgba(180,185,195,0.14) !important; border: 1.5px solid rgba(180,185,195,0.45) !important;
     width: 26px !important; height: 26px !important;
     color: #c0c4cc !important; font-size: 12px !important; font-weight: 700 !important;
    border-radius: 50% !important;
     background: rgba(180,185,195,0.14) !important;
    border: 1.5px solid rgba(180,185,195,0.45) !important;
     color: #c0c4cc !important;
    font-size: 12px !important; font-weight: 700 !important;
}
}
.mcc-rank-3 {
.mcc-rank-3 {
     display: inline-flex !important;
     display: inline-flex !important; align-items: center !important; justify-content: center !important;
    align-items: center !important;
     width: 26px !important; height: 26px !important; border-radius: 50% !important;
    justify-content: center !important;
     background: rgba(192,112,72,0.16) !important; border: 1.5px solid rgba(192,112,72,0.45) !important;
     width: 26px !important; height: 26px !important;
     color: #c07048 !important; font-size: 12px !important; font-weight: 700 !important;
    border-radius: 50% !important;
     background: rgba(192,112,72,0.16) !important;
    border: 1.5px solid rgba(192,112,72,0.45) !important;
     color: #c07048 !important;
    font-size: 12px !important; font-weight: 700 !important;
}
}


/* Games count highlight — JS adds these */
/* Games / WR extremes */
.mcc-games-hi { color: #63bd33 !important; font-weight: 700 !important; }
.mcc-games-hi { color: #63bd33 !important; font-weight: 700 !important; }
.mcc-games-lo { color: #ff7575 !important; font-weight: 600 !important; }
.mcc-games-lo { color: #ff7575 !important; font-weight: 600 !important; }
 
.mcc-wr-hi   { color: #63bd33 !important; font-weight: 700 !important; }
/* WR highlight */
.mcc-wr-lo   { color: #ff7575 !important; font-weight: 600 !important; }
.mcc-wr-hi { color: #63bd33 !important; font-weight: 700 !important; }
.mcc-wr-lo { color: #ff7575 !important; font-weight: 600 !important; }