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