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

Материал из Rubikus wiki
Перейти к навигации Перейти к поиску
Нет описания правки
Нет описания правки
Строка 21: Строка 21:
     z-index: 9999;
     z-index: 9999;
     padding: 8px 12px;
     padding: 8px 12px;
    border: 1px solid #888;
    border: 1px solid #5fb3b3;
     border-radius: 10px;
     border-radius: 10px;
     background: #f8f9fa;
     background: #bfeeee;
     color: #202122;
     color: #004d4d;
     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;
     opacity: 0.75;
     transition: opacity 0.2s;
     transition: opacity 0.2s;
}
}

Версия от 19:28, 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 #5fb3b3;
    border-radius: 10px;
    background: #bfeeee;
    color: #004d4d;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    opacity: 0.75;
    transition: opacity 0.2s;
}

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