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