Открыть главное меню
Главная
Случайная
Войти
Настройки
О Центр помощи БАРЛАЙВ
Отказ от ответственности
Найти
Изменения
← Предыдущая правка
Следующая правка →
MediaWiki:Common.css
(посмотреть исходный код)
Версия от 23:10, 20 апреля 2026
342 байта добавлено
,
20 апрель
нет описания правки
Строка 616:
Строка 616:
}
}
−
/*
Центрируем поиск
в шапке */
+
/*
===== Центрирование поиска
в шапке
=====
*/
−
header.header-container.header-chrome > form.header
,
+
−
.header
-
container.header-chrome .header {
+
header.header-container.header-chrome > form.header
{
−
position
:
relative
!important;
+
display: flex !important;
+
align
-
items: center !important;
+
justify-content
:
space-between
!important;
}
}
+
/* логотип слева */
+
.header .branding-box {
+
order: 1;
+
flex: 0 0 auto;
+
}
+
+
/* поиск по центру */
.header .search-box {
.header .search-box {
−
position
:
absolute !important
;
+
order
:
2
;
−
left
:
50% !important
;
+
flex
:
1 1 auto
;
−
transform
:
translateX(-50%)
!important;
+
display
:
flex
!important;
−
width: 420px !important;
+
justify
-
content
:
center
!important;
−
max
-
width: 42vw !important;
−
margin
:
0
!important;
}
}
+
/* само поле поиска */
.header .search-box .search {
.header .search-box .search {
+
max-width: 520px !important;
width: 100% !important;
width: 100% !important;
+
}
+
+
/* иконки справа */
+
.minerva-user-navigation,
+
.right-navigation {
+
order: 3;
+
flex: 0 0 auto;
+
display: flex;
+
align-items: center;
+
gap: 12px;
}
}
Admin
Бюрократы
, editor,
Администраторы интерфейса
,
Администраторы
1029
правок