Открыть меню
Переключить меню настроек
Открыть персональное меню
Вы не представились системе
Ваш IP-адрес будет виден всем, если вы внесёте какие-либо изменения.

Шаблон:Stats/styles.css: различия между версиями

Материал из Едрён Батон
Нет описания правки
Нет описания правки
 
(не показано 8 промежуточных версий этого же участника)
Строка 2: Строка 2:
     box-sizing: border-box;
     box-sizing: border-box;
     width: 100%;
     width: 100%;
     max-width: 360px;
     max-width: 350px;
     overflow: hidden;
     overflow: hidden;


     color: #f2f5fb;
     color: #eaecf0;
     background: #0c1426;
     background: #0b0d12;
     border: 1px solid #1c2c4b;
     border: 1px solid #252a34;
     border-radius: 2px;
     border-radius: 8px;
     box-shadow: 0 10px 30px #00000040;
     box-shadow: none;


     font-family: Arial, sans-serif;
     font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
     font-size: 0.94rem;
        Roboto, Helvetica, Arial, sans-serif;
     line-height: 1.35;
     font-size: 0.875rem;
     line-height: 1.45;
}
}


.sl-stats-card--right {
.sl-stats-card--right {
     float: right;
     float: right;
     margin: 0 0 1.25rem 1.5rem;
     margin: 2.2rem 0 1.25rem 1.5rem;
}
.sl-stats-card p {
    display: contents !important;
}
 
.sl-stats-card br {
    display: none !important;
}
}


.sl-stats-card--left {
.sl-stats-card--left {
     float: left;
     float: left;
     margin: 0 1.5rem 1.25rem 0;
     margin: 2.2rem 1.5rem 1.25rem 0;
}
}


.sl-stats-card--none {
.sl-stats-card--none {
     float: none;
     float: none;
     margin: 0 0 1.25rem;
     margin: 2.2rem 0 1.25rem;
}
}


.sl-stats-card__title,
.sl-stats-card__title {
.sl-stats-card__section {
    padding: 0.7rem 0.9rem;
     box-sizing: border-box;
 
     padding: 0.55rem 0.8rem;
    color: #f8fafc;
     background: #10141c;
     border-bottom: 1px solid #252a34;


     color: #ffffff;
     font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.25;
     text-align: center;
     text-align: center;
    font-weight: 700;
    background: #141f39;
}
.sl-stats-card__title {
    font-size: 1.2rem;
    border-bottom: 1px solid #ffffff0d;
}
.sl-stats-card__section {
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
    font-size: 0.96rem;
    border-top: 1px solid #ffffff0d;
    border-bottom: 1px solid #ffffff0d;
}
}


Строка 60: Строка 56:
     align-items: center;
     align-items: center;
     justify-content: center;
     justify-content: center;
     padding: 0.75rem 1rem 0.45rem;
 
     background: #0f182b;
     padding: 0.85rem 1rem;
 
     background: #0b0d12;
    border-bottom: 1px solid #252a34;
}
}


Строка 69: Строка 68:
     max-width: 100%;
     max-width: 100%;
     height: auto;
     height: auto;
     max-height: 380px;
     max-height: 340px;
     margin: 0 auto;
     margin: 0 auto;
     object-fit: contain;
     object-fit: contain;
}
/* MediaWiki may add these around File embeds */
.sl-stats-card__image .thumb,
.sl-stats-card__image .thumbinner,
.sl-stats-card__image figure,
.sl-stats-card__image .mw-file-description {
    width: auto !important;
    max-width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
}
.sl-stats-card__image .thumbcaption,
.sl-stats-card__image figcaption {
    display: none;
}
.sl-stats-card__section {
    padding: 0.4rem 0.9rem;
    color: #f8fafc;
    background: #111722;
    border-bottom: 1px solid #252a34;
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
}
}


.sl-stats-card__rows {
.sl-stats-card__rows {
     padding: 0.3rem 0 0.45rem;
     padding: 0.2rem 0 0.35rem;
    background: #0b0d12;
}
}


.sl-stats-card__row {
.sl-stats-card__row {
     display: grid;
     display: grid;
     grid-template-columns: minmax(0, 1.25fr) minmax(90px, 1fr);
     grid-template-columns: minmax(0, 1.15fr) minmax(105px, 1fr);
     gap: 0.75rem;
     gap: 0.8rem;
     align-items: start;
     align-items: start;
     padding: 0.34rem 0.7rem;
 
     padding: 0.38rem 0.8rem;
}
}


.sl-stats-card__label {
.sl-stats-card__label {
     color: #f5f7fb;
     color: #f1f3f6;
    font-size: 0.8rem;
     font-weight: 700;
     font-weight: 700;
}
}


.sl-stats-card__value {
.sl-stats-card__value {
     color: #f5f7fb;
     color: #d5d9e1;
    font-size: 0.8rem;
     font-weight: 500;
     font-weight: 500;
     overflow-wrap: anywhere;
     overflow-wrap: anywhere;
Строка 98: Строка 131:


.sl-stats-card a {
.sl-stats-card a {
     color: #5f9dff;
     color: #5b9cff;
     text-decoration: none;
     text-decoration: none;
}
.sl-stats-card__image .thumb,
.sl-stats-card__image .thumbinner,
.sl-stats-card__image .mw-file-description,
.sl-stats-card__image .mw-file-element,
.sl-stats-card__image figure {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}
}


.sl-stats-card a:hover,
.sl-stats-card a:hover,
.sl-stats-card a:focus {
.sl-stats-card a:focus {
     color: #8abaff;
     color: #8dbbff;
     text-decoration: underline;
     text-decoration: underline;
}
}


.sl-stats-card__footer {
.sl-stats-card__footer {
     padding: 0.55rem 0.7rem;
     padding: 0.5rem 0.8rem;


     color: #9eb4d7;
     color: #98a2b3;
     background: #060c18;
     background: #10141c;
     border-top: 1px solid #ffffff0f;
     border-top: 1px solid #252a34;


     font-size: 0.82rem;
     font-size: 0.75rem;
     text-align: center;
     text-align: center;
}
.sl-stats-card__image pre {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-family: inherit !important;
}
}


Строка 132: Строка 188:
     .sl-stats-card__row {
     .sl-stats-card__row {
         grid-template-columns: minmax(0, 1fr);
         grid-template-columns: minmax(0, 1fr);
         gap: 0.12rem;
         gap: 0.1rem;
        padding: 0.45rem 0.8rem;
    }
 
    .sl-stats-card__value {
        color: #c6ceda;
     }
     }
}
}

Текущая версия от 16:16, 4 августа 2026

.sl-stats-card {
    box-sizing: border-box;
    width: 100%;
    max-width: 350px;
    overflow: hidden;

    color: #eaecf0;
    background: #0b0d12;
    border: 1px solid #252a34;
    border-radius: 8px;
    box-shadow: none;

    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, Helvetica, Arial, sans-serif;
    font-size: 0.875rem;
    line-height: 1.45;
}

.sl-stats-card--right {
    float: right;
    margin: 2.2rem 0 1.25rem 1.5rem;
}
.sl-stats-card p {
    display: contents !important;
}

.sl-stats-card br {
    display: none !important;
}

.sl-stats-card--left {
    float: left;
    margin: 2.2rem 1.5rem 1.25rem 0;
}

.sl-stats-card--none {
    float: none;
    margin: 2.2rem 0 1.25rem;
}

.sl-stats-card__title {
    padding: 0.7rem 0.9rem;

    color: #f8fafc;
    background: #10141c;
    border-bottom: 1px solid #252a34;

    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
}

.sl-stats-card__image {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0.85rem 1rem;

    background: #0b0d12;
    border-bottom: 1px solid #252a34;
}

.sl-stats-card__image img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 340px;
    margin: 0 auto;
    object-fit: contain;
}

/* MediaWiki may add these around File embeds */
.sl-stats-card__image .thumb,
.sl-stats-card__image .thumbinner,
.sl-stats-card__image figure,
.sl-stats-card__image .mw-file-description {
    width: auto !important;
    max-width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
}

.sl-stats-card__image .thumbcaption,
.sl-stats-card__image figcaption {
    display: none;
}

.sl-stats-card__section {
    padding: 0.4rem 0.9rem;

    color: #f8fafc;
    background: #111722;
    border-bottom: 1px solid #252a34;

    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
}

.sl-stats-card__rows {
    padding: 0.2rem 0 0.35rem;
    background: #0b0d12;
}

.sl-stats-card__row {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(105px, 1fr);
    gap: 0.8rem;
    align-items: start;

    padding: 0.38rem 0.8rem;
}

.sl-stats-card__label {
    color: #f1f3f6;
    font-size: 0.8rem;
    font-weight: 700;
}

.sl-stats-card__value {
    color: #d5d9e1;
    font-size: 0.8rem;
    font-weight: 500;
    overflow-wrap: anywhere;
}

.sl-stats-card a {
    color: #5b9cff;
    text-decoration: none;
}

.sl-stats-card__image .thumb,
.sl-stats-card__image .thumbinner,
.sl-stats-card__image .mw-file-description,
.sl-stats-card__image .mw-file-element,
.sl-stats-card__image figure {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.sl-stats-card a:hover,
.sl-stats-card a:focus {
    color: #8dbbff;
    text-decoration: underline;
}

.sl-stats-card__footer {
    padding: 0.5rem 0.8rem;

    color: #98a2b3;
    background: #10141c;
    border-top: 1px solid #252a34;

    font-size: 0.75rem;
    text-align: center;
}

.sl-stats-card__image pre {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-family: inherit !important;
}

@media screen and (max-width: 720px) {
    .sl-stats-card,
    .sl-stats-card--right,
    .sl-stats-card--left,
    .sl-stats-card--none {
        float: none;
        width: 100%;
        max-width: none;
        margin: 0 0 1rem;
    }

    .sl-stats-card__row {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.1rem;
        padding: 0.45rem 0.8rem;
    }

    .sl-stats-card__value {
        color: #c6ceda;
    }
}