MediaWiki:Common.css: различия между версиями
Admin (обсуждение | вклад) |
Admin (обсуждение | вклад) |
||
| Строка 40: | Строка 40: | ||
display: flex !important; | display: flex !important; | ||
align-items: center !important; | align-items: center !important; | ||
| + | } | ||
| + | |||
| + | /* ===== Фикс логотипа ===== */ | ||
| + | |||
| + | .branding-box { | ||
| + | display: flex !important; | ||
| + | align-items: center !important; | ||
| + | } | ||
| + | |||
| + | .branding-box img { | ||
| + | height: 40px !important; | ||
| + | width: auto !important; | ||
| + | max-height: 40px !important; | ||
| + | object-fit: contain !important; | ||
| + | margin: 0 !important; | ||
| + | padding: 0 !important; | ||
} | } | ||
Версия 23:52, 1 марта 2026
/* ===== ЖЁСТКОЕ ВЫРАВНИВАНИЕ ШАПКИ ===== */
.header-container.header-chrome {
height: 64px !important;
background: #ffffff !important;
border-bottom: 1px solid #e6e8f5 !important;
}
/* Делаем form flex-контейнером */
.header-container form.header {
display: flex !important;
align-items: center !important;
height: 64px !important;
padding: 0 24px !important;
}
/* Все прямые div внутри header выравниваем */
.header-container form.header > div {
display: flex !important;
align-items: center !important;
}
/* Отступ после логотипа */
.header-container .branding-box {
margin-right: 40px !important;
}
/* Поиск */
.search-box {
margin: 0 !important;
}
.search-box input {
height: 36px !important;
}
/* Иконки вправо */
.minerva-user-navigation {
margin-left: auto !important;
display: flex !important;
align-items: center !important;
}
/* ===== Фикс логотипа ===== */
.branding-box {
display: flex !important;
align-items: center !important;
}
.branding-box img {
height: 40px !important;
width: auto !important;
max-height: 40px !important;
object-fit: contain !important;
margin: 0 !important;
padding: 0 !important;
}