MediaWiki:Common.css: различия между версиями
Admin (обсуждение | вклад) |
Admin (обсуждение | вклад) |
||
| Строка 1: | Строка 1: | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
.header-container.header-chrome { | .header-container.header-chrome { | ||
| − | background: # | + | background: #fff !important; |
border-bottom: 1px solid #e6e8f5 !important; | border-bottom: 1px solid #e6e8f5 !important; | ||
| − | |||
} | } | ||
| − | /* | + | /* Родитель уже flex — просто фиксируем поведение детей */ |
| − | |||
| − | |||
.header-container form.header { | .header-container form.header { | ||
| + | display: flex !important; | ||
| + | align-items: center !important; | ||
padding: 0 20px !important; | padding: 0 20px !important; | ||
| − | |||
} | } | ||
| − | /* | + | /* Меню */ |
| − | |||
#mw-mf-main-menu-button { | #mw-mf-main-menu-button { | ||
| − | margin-right: | + | margin-right: 14px !important; |
} | } | ||
| − | /* | + | /* ЛОГО */ |
| − | |||
.branding-box { | .branding-box { | ||
| − | + | flex: 0 0 auto !important; | |
} | } | ||
| Строка 34: | Строка 24: | ||
height: 36px !important; | height: 36px !important; | ||
width: auto !important; | width: auto !important; | ||
| − | |||
} | } | ||
| − | + | /* ПОИСК — КЛЮЧЕВОЕ */ | |
| − | /* | ||
| − | |||
.search-box { | .search-box { | ||
| − | flex: | + | flex: 0 0 380px !important; /* фикс ширины */ |
| − | + | margin-left: 24px !important; | |
| − | |||
} | } | ||
| Строка 51: | Строка 37: | ||
} | } | ||
| − | /* | + | /* ИКОНКИ СПРАВА */ |
| − | |||
.minerva-user-navigation { | .minerva-user-navigation { | ||
| + | flex: 0 0 auto !important; | ||
margin-left: auto !important; | margin-left: auto !important; | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
} | } | ||
Версия 00:28, 2 марта 2026
.header-container.header-chrome {
background: #fff !important;
border-bottom: 1px solid #e6e8f5 !important;
}
/* Родитель уже flex — просто фиксируем поведение детей */
.header-container form.header {
display: flex !important;
align-items: center !important;
padding: 0 20px !important;
}
/* Меню */
#mw-mf-main-menu-button {
margin-right: 14px !important;
}
/* ЛОГО */
.branding-box {
flex: 0 0 auto !important;
}
.branding-box img {
height: 36px !important;
width: auto !important;
}
/* ПОИСК — КЛЮЧЕВОЕ */
.search-box {
flex: 0 0 380px !important; /* фикс ширины */
margin-left: 24px !important;
}
.search-box input {
width: 100% !important;
height: 36px !important;
}
/* ИКОНКИ СПРАВА */
.minerva-user-navigation {
flex: 0 0 auto !important;
margin-left: auto !important;
}