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

Нет описания правки
мНет описания правки
 
(не показано 29 промежуточных версий этого же участника)
Строка 53: Строка 53:


.flag-icon {
.flag-icon {
    display: inline-flex;
/*    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
     width: 15px;
     width: 15px;
     height: 10px;
     height: 10px;
    line-height: 10px;
     background-color: white; цвет пустого пространства */
/*    vertical-align: middle;  чтобы выравнивать с текстом */
/*    top: -3px;*/
     background-color: white; /* цвет пустого пространства */
    text-align: center;
    border-radius: 2px;
}
}


.flag-icon img {
.flag-icon img {
     width: 100%;
     width: 15px !important;
    height: 10px !important;
    margin-right: 1px;
    transform: translateY(-2px);
}
 
 
/* Fix the left panel so it doesn't scroll */
#mw-panel {
    position: fixed;
    top: 0;
    left: 0;
     height: 100%;
     height: 100%;
     object-fit: contain; /* сохраняем пропорции, добавляем пустое место, если нужно */
     overflow: auto;
     display: block;
    z-index: 1000;
}
 
#mw-panel a[href="https://helpua.rubikus.de/#helpus"] {
    background: #fff500;      /* светлый фон */
    color: #0085ff;
    border-radius: 6px;
    padding: 3px 6px;
    font-weight: bold;
    text-decoration: none;
}
#mw-panel a[href="https://helpua.rubikus.de/#helpus"]:visited {
    color: #0085ff;
}
#mw-panel a[href="https://helpua.rubikus.de/#helpus"]:hover {
    background: #ffe066;
}
 
#scrollUpBtn {
     display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 8px 12px;
    background-color: #007bff;
    opacity: 60%;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease; /* Smooth hover effect */
}
 
#scrollUpBtn:hover {
    opacity:100%;
    background-color: #0056b3;    /* Darker blue on hover */
}
}