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

Шаблон используемый на Wikimeat
мНет описания правки
мНет описания правки
Строка 1: Строка 1:
.hatnote {
.hatnote {
     margin-top: 0.6rem;
     margin-top: 0.6rem;
    margin-bottom: 0.8rem;
     border-radius: 8px;
     border-radius: 8px;
     padding: 10px 15px;
     padding: 10px 15px;
     color: #72777d;
     color: var(--color-base--subtle);
     background: #f8f9fa;
     background: var(--background-color-framed);
     font-size: 0.875rem;
     font-size: 0.875rem;
     line-height: 1.4;
     line-height: 1.4;
Строка 12: Строка 13:


.hatnote-icon img {
.hatnote-icon img {
     opacity: .5;
     opacity: var(--opacity-icon-base);
     margin-right: 10px;
     margin-right: 10px;
     width: 14px;
     width: 14px;
Строка 18: Строка 19:
}
}


@media only screen and (max-width: 720px) {
/* Dark theme */
    .hatnote {
html.skin-wikimeat-dark .hatnote-icon img {
        margin: 0.4rem -20px 0 -20px;
    filter: invert(1);
        border-radius: 0;
        padding: 10px 20px;
    }
}
}

Версия от 16:32, 15 июля 2021

.hatnote {
    margin-top: 0.6rem;
    margin-bottom: 0.8rem;
    border-radius: 8px;
    padding: 10px 15px;
    color: var(--color-base--subtle);
    background: var(--background-color-framed);
    font-size: 0.875rem;
    line-height: 1.4;
    display: flex;
    align-items: center;
}

.hatnote-icon img {
    opacity: var(--opacity-icon-base);
    margin-right: 10px;
    width: 14px;
    height: auto;
}

/* Dark theme */
html.skin-wikimeat-dark .hatnote-icon img {
    filter: invert(1);
}
🍪 Наш веб-сайт использует файлы cookie для того, чтобы сделать ваш опыт использования сайта лучше и анализа использования сайта