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