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