MediaWiki:Common.css: различия между версиями
Admin (обсуждение | вклад) |
Admin (обсуждение | вклад) |
||
| Строка 3: | Строка 3: | ||
========================================= */ | ========================================= */ | ||
| − | /* | + | /* ===== ОБЩИЙ ФОН ===== */ |
| + | |||
body { | body { | ||
background: linear-gradient( | background: linear-gradient( | ||
| Строка 14: | Строка 15: | ||
} | } | ||
| − | /* ===== ШАПКА ===== */ | + | /* ===== ШАПКА (Minerva safe) ===== */ |
.header-container.header-chrome { | .header-container.header-chrome { | ||
| Строка 20: | Строка 21: | ||
border-bottom: 1px solid #e6e8f5 !important; | border-bottom: 1px solid #e6e8f5 !important; | ||
height: 64px !important; | height: 64px !important; | ||
| − | |||
| − | |||
} | } | ||
| − | /* Внутренний | + | /* Внутренний header */ |
| − | .header-container .header { | + | .header-container form.header { |
display: flex !important; | display: flex !important; | ||
align-items: center !important; | align-items: center !important; | ||
| − | |||
| − | |||
height: 100% !important; | height: 100% !important; | ||
| − | padding: 0 | + | padding: 0 28px !important; |
} | } | ||
| − | /* | + | /* Логотип */ |
.branding-box { | .branding-box { | ||
display: flex !important; | display: flex !important; | ||
| Строка 49: | Строка 46: | ||
.search-box { | .search-box { | ||
margin-left: 48px !important; | margin-left: 48px !important; | ||
| − | |||
| − | |||
} | } | ||
| Строка 58: | Строка 53: | ||
border-radius: 10px !important; | border-radius: 10px !important; | ||
height: 36px !important; | height: 36px !important; | ||
| + | padding: 0 14px !important; | ||
color: #333 !important; | color: #333 !important; | ||
| − | |||
} | } | ||
/* Иконки справа */ | /* Иконки справа */ | ||
.minerva-user-navigation { | .minerva-user-navigation { | ||
| + | margin-left: auto !important; | ||
display: flex !important; | display: flex !important; | ||
align-items: center !important; | align-items: center !important; | ||
| Строка 79: | Строка 75: | ||
} | } | ||
| + | /* Ссылки */ | ||
| + | a { | ||
| + | color: #6d85ff !important; | ||
| + | } | ||
| + | |||
| + | /* Кнопки */ | ||
button, | button, | ||
.mw-ui-button { | .mw-ui-button { | ||
| Строка 88: | Строка 90: | ||
} | } | ||
| − | + | /* Карточки / блоки */ | |
| − | color: # | + | #content, |
| + | footer, | ||
| + | .content table.infobox, | ||
| + | .mw-highlight, | ||
| + | .navbox, | ||
| + | .navbox-subgroup { | ||
| + | background-color: #ffffff !important; | ||
| + | border-radius: 14px !important; | ||
| + | } | ||
| + | |||
| + | /* Убираем лишний мусор */ | ||
| + | #siteNotice, | ||
| + | footer .footer-content { | ||
| + | display: none !important; | ||
} | } | ||
Версия 23:50, 1 марта 2026
/* =========================================
BARLIVE BRAND STYLE (светлая версия)
========================================= */
/* ===== ОБЩИЙ ФОН ===== */
body {
background: linear-gradient(
120deg,
#f7f8fc 0%,
#eef1ff 50%,
#f5f6fb 100%
) !important;
color: #1f1f1f !important;
}
/* ===== ШАПКА (Minerva safe) ===== */
.header-container.header-chrome {
background: #ffffff !important;
border-bottom: 1px solid #e6e8f5 !important;
height: 64px !important;
}
/* Внутренний header */
.header-container form.header {
display: flex !important;
align-items: center !important;
height: 100% !important;
padding: 0 28px !important;
}
/* Логотип */
.branding-box {
display: flex !important;
align-items: center !important;
}
.branding-box img {
height: 40px !important;
width: auto !important;
display: block !important;
}
/* Поиск */
.search-box {
margin-left: 48px !important;
}
.search-box input {
background: #f3f4fa !important;
border: 1px solid #e0e3f0 !important;
border-radius: 10px !important;
height: 36px !important;
padding: 0 14px !important;
color: #333 !important;
}
/* Иконки справа */
.minerva-user-navigation {
margin-left: auto !important;
display: flex !important;
align-items: center !important;
gap: 18px !important;
}
.minerva-user-navigation a {
color: #333 !important;
}
/* ===== КОНТЕНТ ===== */
h1, h2, h3 {
color: #111 !important;
}
/* Ссылки */
a {
color: #6d85ff !important;
}
/* Кнопки */
button,
.mw-ui-button {
background-color: #c93348 !important;
border: none !important;
border-radius: 10px !important;
color: #fff !important;
padding: 8px 18px !important;
}
/* Карточки / блоки */
#content,
footer,
.content table.infobox,
.mw-highlight,
.navbox,
.navbox-subgroup {
background-color: #ffffff !important;
border-radius: 14px !important;
}
/* Убираем лишний мусор */
#siteNotice,
footer .footer-content {
display: none !important;
}