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

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


.flag-icon {
.flag-icon {
    display: inline-flex;
/*    display: inline-flex;
     align-items: center;
     align-items: center;
    justify-content: center;
     overflow: hidden;
     overflow: hidden;
     width: 15px;
     width: 15px;
     height: 10px;
     height: 10px;
     background-color: white; /* цвет пустого пространства */
     background-color: white; цвет пустого пространства */
    border-radius: 2px;
}
}


.flag-icon img {
.flag-icon img {
     width: 100%;
     width: 15px !important;
     height: 100%;
     height: 10px !important;
     object-fit: contain; /* сохраняем пропорции, добавляем пустое место, если нужно */
     margin-right: 1px;
    transform: translateY(-2px);
}
}


Строка 77: Строка 78:
     overflow: auto;
     overflow: auto;
     z-index: 1000;
     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;
}
}


Строка 86: Строка 102:
     padding: 8px 12px;
     padding: 8px 12px;
     background-color: #007bff;
     background-color: #007bff;
     opacity: 75%;
     opacity: 60%;
     color: #fff;
     color: #fff;
     border: none;
     border: none;
     border-radius: 4px;
     border-radius: 6px;
     cursor: pointer;
     cursor: pointer;
     transition: background-color 0.3s ease; /* Smooth hover effect */
     transition: background-color 0.3s ease; /* Smooth hover effect */