MediaWiki:Common.css: различия между версиями

Материал из Rubikus wiki
Перейти к навигации Перейти к поиску
Нет описания правки
Нет описания правки
Строка 27: Строка 27:
     cursor: pointer;
     cursor: pointer;
     box-shadow: 0 2px 6px rgba(0,0,0,0.2);
     box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    opacity: 0.8;
    transition: opacity 0.2s;
}
}


#back-to-top:hover {
#back-to-top:hover {
     background: #eaecf0;
     background: #eaecf0;
    opacity: 0.9;
}
}

Версия от 19:24, 7 июня 2026

/* Размещённый здесь CSS будет применяться ко всем темам оформления */
.flag-box {
    display: inline-flex;
    width: 30px;
    height: 20px;

    align-items: center;
    justify-content: center;
}

.flag-box img {
    max-height: 20px;
    max-width: 30px;
}


#back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9999;
    padding: 8px 12px;
    border: 1px solid #888;
    border-radius: 10px;
    background: #f8f9fa;
    color: #202122;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    opacity: 0.8;
    transition: opacity 0.2s;
}

#back-to-top:hover {
    background: #eaecf0;
    opacity: 0.9;
}