MediaWiki:Common.css: различия между версиями
Admin (обсуждение | вклад) |
Admin (обсуждение | вклад) |
||
| Строка 42: | Строка 42: | ||
#searchIcon { | #searchIcon { | ||
height: 34px !important; | height: 34px !important; | ||
| + | } | ||
| + | |||
| + | /* ===== ИДЕАЛЬНОЕ ВЫРАВНИВАНИЕ ПО ВЕРТИКАЛИ ===== */ | ||
| + | |||
| + | .header-container form.header { | ||
| + | display: flex !important; | ||
| + | align-items: center !important; | ||
| + | height: 60px !important; | ||
| + | padding: 0 20px !important; | ||
| + | } | ||
| + | |||
| + | /* Убираем внутренний сдвиг input */ | ||
| + | .search-box input { | ||
| + | height: 36px !important; | ||
| + | line-height: 36px !important; | ||
| + | padding-top: 0 !important; | ||
| + | padding-bottom: 0 !important; | ||
| + | box-sizing: border-box !important; | ||
| + | } | ||
| + | |||
| + | /* Логотип */ | ||
| + | .branding-box img { | ||
| + | height: 36px !important; | ||
| + | display: block !important; | ||
| + | } | ||
| + | |||
| + | /* Иконка меню */ | ||
| + | #mw-mf-main-menu-button { | ||
| + | display: flex !important; | ||
| + | align-items: center !important; | ||
| + | } | ||
| + | |||
| + | /* Кнопка поиска справа */ | ||
| + | #searchIcon { | ||
| + | height: 36px !important; | ||
} | } | ||
Версия 00:03, 2 марта 2026
/* ===== ТОЧНОЕ ВЫРАВНИВАНИЕ MINERVA ===== */
.header-container.header-chrome {
height: 60px !important;
background: #fff !important;
border-bottom: 1px solid #e6e8f5 !important;
}
/* Центрируем через одинаковую высоту строки */
.header-container form.header {
height: 60px !important;
display: flex !important;
align-items: center !important;
padding: 0 20px !important;
}
/* Убираем внутренние вертикальные смещения */
.mw-ui-icon-element,
.search-box input,
.branding-box img {
vertical-align: middle !important;
}
/* Логотип */
.branding-box img {
height: 36px !important;
width: auto !important;
}
/* Поиск */
.search-box {
margin-left: 32px !important;
}
.search-box input {
height: 34px !important;
padding-top: 0 !important;
padding-bottom: 0 !important;
}
/* Кнопка поиска */
#searchIcon {
height: 34px !important;
}
/* ===== ИДЕАЛЬНОЕ ВЫРАВНИВАНИЕ ПО ВЕРТИКАЛИ ===== */
.header-container form.header {
display: flex !important;
align-items: center !important;
height: 60px !important;
padding: 0 20px !important;
}
/* Убираем внутренний сдвиг input */
.search-box input {
height: 36px !important;
line-height: 36px !important;
padding-top: 0 !important;
padding-bottom: 0 !important;
box-sizing: border-box !important;
}
/* Логотип */
.branding-box img {
height: 36px !important;
display: block !important;
}
/* Иконка меню */
#mw-mf-main-menu-button {
display: flex !important;
align-items: center !important;
}
/* Кнопка поиска справа */
#searchIcon {
height: 36px !important;
}