MediaWiki:Common.css: различия между версиями
Admin (обсуждение | вклад) (Полностью удалено содержимое страницы) Метка: очистка |
Admin (обсуждение | вклад) |
||
| Строка 1: | Строка 1: | ||
| + | /* ========================================= | ||
| + | BARLIVE — АККУРАТНАЯ ШАПКА (Minerva) | ||
| + | ========================================= */ | ||
| + | /* --- Контейнер шапки --- */ | ||
| + | |||
| + | .header-container.header-chrome { | ||
| + | background: #ffffff !important; | ||
| + | border-bottom: 1px solid #e6e8f5 !important; | ||
| + | box-shadow: none !important; | ||
| + | } | ||
| + | |||
| + | /* Внутренний контейнер уже flex в Minerva, | ||
| + | мы его не пересобираем — только выравниваем */ | ||
| + | |||
| + | .header-container form.header { | ||
| + | align-items: center !important; | ||
| + | padding: 0 20px !important; | ||
| + | } | ||
| + | |||
| + | /* --- Кнопка меню --- */ | ||
| + | |||
| + | #mw-mf-main-menu-button { | ||
| + | margin-right: 16px !important; | ||
| + | } | ||
| + | |||
| + | /* --- Логотип --- */ | ||
| + | |||
| + | .branding-box { | ||
| + | margin-right: 28px !important; /* расстояние до поиска */ | ||
| + | display: flex !important; | ||
| + | align-items: center !important; | ||
| + | } | ||
| + | |||
| + | .branding-box img { | ||
| + | height: 36px !important; | ||
| + | width: auto !important; | ||
| + | display: block !important; | ||
| + | } | ||
| + | |||
| + | /* --- Поиск --- */ | ||
| + | |||
| + | .search-box { | ||
| + | flex: 0 1 420px !important; | ||
| + | } | ||
| + | |||
| + | .search-box input { | ||
| + | width: 100% !important; | ||
| + | max-width: 420px !important; | ||
| + | height: 36px !important; | ||
| + | background: #f3f4fa !important; | ||
| + | border: 1px solid #e0e3f0 !important; | ||
| + | border-radius: 10px !important; | ||
| + | color: #333 !important; | ||
| + | box-shadow: none !important; | ||
| + | } | ||
| + | |||
| + | /* --- Иконки справа --- */ | ||
| + | |||
| + | .minerva-user-navigation { | ||
| + | margin-left: auto !important; | ||
| + | display: flex !important; | ||
| + | align-items: center !important; | ||
| + | gap: 14px !important; | ||
| + | } | ||
| + | |||
| + | /* Кнопка поиска */ | ||
| + | #searchIcon { | ||
| + | height: 36px !important; | ||
| + | } | ||
| + | |||
| + | /* Убираем лишние визуальные смещения */ | ||
| + | .mw-ui-icon-element { | ||
| + | vertical-align: middle !important; | ||
| + | } | ||
Версия 00:06, 2 марта 2026
/* =========================================
BARLIVE — АККУРАТНАЯ ШАПКА (Minerva)
========================================= */
/* --- Контейнер шапки --- */
.header-container.header-chrome {
background: #ffffff !important;
border-bottom: 1px solid #e6e8f5 !important;
box-shadow: none !important;
}
/* Внутренний контейнер уже flex в Minerva,
мы его не пересобираем — только выравниваем */
.header-container form.header {
align-items: center !important;
padding: 0 20px !important;
}
/* --- Кнопка меню --- */
#mw-mf-main-menu-button {
margin-right: 16px !important;
}
/* --- Логотип --- */
.branding-box {
margin-right: 28px !important; /* расстояние до поиска */
display: flex !important;
align-items: center !important;
}
.branding-box img {
height: 36px !important;
width: auto !important;
display: block !important;
}
/* --- Поиск --- */
.search-box {
flex: 0 1 420px !important;
}
.search-box input {
width: 100% !important;
max-width: 420px !important;
height: 36px !important;
background: #f3f4fa !important;
border: 1px solid #e0e3f0 !important;
border-radius: 10px !important;
color: #333 !important;
box-shadow: none !important;
}
/* --- Иконки справа --- */
.minerva-user-navigation {
margin-left: auto !important;
display: flex !important;
align-items: center !important;
gap: 14px !important;
}
/* Кнопка поиска */
#searchIcon {
height: 36px !important;
}
/* Убираем лишние визуальные смещения */
.mw-ui-icon-element {
vertical-align: middle !important;
}