MediaWiki:Common.css: различия между версиями
Admin (обсуждение | вклад) |
Admin (обсуждение | вклад) |
||
| (не показана 51 промежуточная версия этого же участника) | |||
| Строка 238: | Строка 238: | ||
.page-Главная .bl-hero, | .page-Главная .bl-hero, | ||
.page-Main_Page .bl-hero { | .page-Main_Page .bl-hero { | ||
| − | background: # | + | background: #fcf8f8 !important; |
| − | padding: | + | padding: 80px 0 80px !important; |
text-align: center; | text-align: center; | ||
margin: 0 calc(50% - 50vw) !important; | margin: 0 calc(50% - 50vw) !important; | ||
| Строка 281: | Строка 281: | ||
margin-top: 0.15em; | margin-top: 0.15em; | ||
} | } | ||
| + | |||
| + | /* ===== Главная: секция "Продукты" по ширине рабочей области ===== */ | ||
.page-Главная .bl-section, | .page-Главная .bl-section, | ||
.page-Main_Page .bl-section { | .page-Main_Page .bl-section { | ||
| − | max-width: | + | max-width: 1400px !important; /* как новая рабочая область */ |
| − | margin: 0 auto; | + | margin: 0 auto !important; |
| − | padding: 28px | + | padding: 28px 24px 0 !important; |
| + | box-sizing: border-box !important; | ||
} | } | ||
| Строка 301: | Строка 304: | ||
.page-Главная .bl-cards, | .page-Главная .bl-cards, | ||
.page-Main_Page .bl-cards { | .page-Main_Page .bl-cards { | ||
| − | display: grid; | + | display: grid !important; |
| − | grid-template-columns: repeat(4, minmax(0, 1fr)); | + | grid-template-columns: repeat(4, minmax(0, 1fr)) !important; |
| − | gap: | + | gap: 20px !important; |
| + | width: 100% !important; | ||
} | } | ||
.page-Главная .bl-card, | .page-Главная .bl-card, | ||
.page-Main_Page .bl-card { | .page-Main_Page .bl-card { | ||
| − | + | width: 100% !important; | |
| − | + | max-width: none !important; | |
| − | + | box-sizing: border-box !important; | |
| − | |||
| − | box- | ||
| − | |||
} | } | ||
| Строка 614: | Строка 615: | ||
color: #6877de !important; | color: #6877de !important; | ||
text-decoration: underline !important; | text-decoration: underline !important; | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
} | } | ||
| Строка 732: | Строка 695: | ||
html body.page-Главная .bl-section, | html body.page-Главная .bl-section, | ||
html body.page-Main_Page .bl-section { | html body.page-Main_Page .bl-section { | ||
| − | background: # | + | background: #f3f4f6 !important; |
| − | background-color: # | + | background-color: #f3f4f6 !important; |
} | } | ||
| Строка 739: | Строка 702: | ||
html body.page-Главная .bl-hero, | html body.page-Главная .bl-hero, | ||
html body.page-Main_Page .bl-hero { | html body.page-Main_Page .bl-hero { | ||
| − | background: # | + | background: #fcf8f8 !important; |
| − | background-color: # | + | background-color: #fcf8f8 !important; |
} | } | ||
| Строка 751: | Строка 714: | ||
} | } | ||
| − | /* ===== | + | /* ========================================================= |
| + | ШИРИНА И ФОНЫ — БЕЗ ПОЛОС | ||
| + | ========================================================= */ | ||
| − | /* | + | /* ---------- 1. Обычные статьи ---------- */ |
| − | #content, | + | /* Внешние контейнеры статей оставляем белыми и без ограничения ширины */ |
| − | .mw-body, | + | body:not(.page-Главная):not(.page-Main_Page), |
| − | #bodyContent, | + | body:not(.page-Главная):not(.page-Main_Page) #mw-mf-viewport, |
| − | .content, | + | body:not(.page-Главная):not(.page-Main_Page) #content, |
| − | main { | + | body:not(.page-Главная):not(.page-Main_Page) .mw-body, |
| − | max-width: | + | body:not(.page-Главная):not(.page-Main_Page) #bodyContent, |
| + | body:not(.page-Главная):not(.page-Main_Page) .content, | ||
| + | body:not(.page-Главная):not(.page-Main_Page) main { | ||
| + | background: #ffffff !important; | ||
| + | background-color: #ffffff !important; | ||
| + | max-width: none !important; | ||
width: 100% !important; | width: 100% !important; | ||
| − | margin-left: | + | margin-left: 0 !important; |
| − | margin-right: | + | margin-right: 0 !important; |
| + | padding-left: 0 !important; | ||
| + | padding-right: 0 !important; | ||
box-sizing: border-box !important; | box-sizing: border-box !important; | ||
} | } | ||
| − | /* | + | /* Расширяем только внутреннюю рабочую область статьи */ |
| − | .pre-content, | + | body:not(.page-Главная):not(.page-Main_Page) .pre-content, |
| − | .post-content, | + | body:not(.page-Главная):not(.page-Main_Page) .post-content, |
| − | #mw-content-text { | + | body:not(.page-Главная):not(.page-Main_Page) #mw-content-text { |
max-width: 1400px !important; | max-width: 1400px !important; | ||
width: 100% !important; | width: 100% !important; | ||
margin-left: auto !important; | margin-left: auto !important; | ||
margin-right: auto !important; | margin-right: auto !important; | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
padding-left: 24px !important; | padding-left: 24px !important; | ||
padding-right: 24px !important; | padding-right: 24px !important; | ||
| − | + | box-sizing: border-box !important; | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
background: #ffffff !important; | background: #ffffff !important; | ||
background-color: #ffffff !important; | background-color: #ffffff !important; | ||
} | } | ||
| − | /* 2. Главная | + | /* ---------- 2. Главная ---------- */ |
| + | /* На главной внешние контейнеры на всю ширину и одного цвета */ | ||
body.page-Главная, | body.page-Главная, | ||
body.page-Main_Page, | body.page-Main_Page, | ||
| Строка 825: | Строка 772: | ||
body.page-Main_Page .pre-content, | body.page-Main_Page .pre-content, | ||
body.page-Главная .post-content, | body.page-Главная .post-content, | ||
| − | body.page-Main_Page .post-content | + | body.page-Main_Page .post-content { |
| + | background: #f3f4f6 !important; | ||
| + | background-color: #f3f4f6 !important; | ||
| + | max-width: none !important; | ||
| + | width: 100% !important; | ||
| + | margin-left: 0 !important; | ||
| + | margin-right: 0 !important; | ||
| + | padding-left: 0 !important; | ||
| + | padding-right: 0 !important; | ||
| + | box-sizing: border-box !important; | ||
| + | } | ||
| + | |||
| + | /* Внутренний блок главной */ | ||
body.page-Главная .bl-help-home, | body.page-Главная .bl-help-home, | ||
| − | body.page-Main_Page .bl-help-home | + | body.page-Main_Page .bl-help-home { |
| + | background: #f3f4f6 !important; | ||
| + | background-color: #f3f4f6 !important; | ||
| + | max-width: none !important; | ||
| + | width: 100% !important; | ||
| + | margin: -1em 0 0 0 !important; | ||
| + | padding: 0 0 32px 0 !important; | ||
| + | box-sizing: border-box !important; | ||
| + | } | ||
| + | |||
| + | /* Секция продуктов — без отдельной полосы */ | ||
body.page-Главная .bl-section, | body.page-Главная .bl-section, | ||
body.page-Main_Page .bl-section { | body.page-Main_Page .bl-section { | ||
| − | background: | + | background: transparent !important; |
| − | background-color: | + | background-color: transparent !important; |
} | } | ||
| − | /* | + | /* Hero остаётся розовым */ |
body.page-Главная .bl-hero, | body.page-Главная .bl-hero, | ||
body.page-Main_Page .bl-hero { | body.page-Main_Page .bl-hero { | ||
| − | background: # | + | background: #fcf8f8 !important; |
| − | background-color: # | + | background-color: #fcf8f8 !important; |
} | } | ||
| − | /* | + | /* Карточки остаются белыми */ |
body.page-Главная .bl-card, | body.page-Главная .bl-card, | ||
body.page-Main_Page .bl-card, | body.page-Main_Page .bl-card, | ||
| Строка 848: | Строка 817: | ||
background: #ffffff !important; | background: #ffffff !important; | ||
background-color: #ffffff !important; | background-color: #ffffff !important; | ||
| + | } | ||
| + | |||
| + | /* логотип не смещаем */ | ||
| + | .header .branding-box, | ||
| + | header .branding-box { | ||
| + | margin-left: 0 !important; | ||
| + | padding-left: 0 !important; | ||
| + | } | ||
| + | |||
| + | /* логотип остаётся у левого края рабочей области */ | ||
| + | .header .branding-box, | ||
| + | header .branding-box { | ||
| + | margin-left: 0 !important; | ||
| + | padding-left: 0 !important; | ||
| + | } | ||
| + | |||
| + | /* само поле */ | ||
| + | header.header-container.header-chrome .search-box .search, | ||
| + | .header-container.header-chrome .search-box .search, | ||
| + | .header .search-box .search { | ||
| + | width: 100% !important; | ||
| + | height: 38px !important; | ||
| + | box-sizing: border-box !important; | ||
| + | } | ||
| + | |||
| + | /* крестик overlay отдельно справа */ | ||
| + | .overlay.search-overlay .header-action, | ||
| + | .search-overlay .header-action { | ||
| + | position: absolute !important; | ||
| + | right: 12px !important; | ||
| + | top: 50% !important; | ||
| + | transform: translateY(-50%) !important; | ||
| + | z-index: 5 !important; | ||
| + | } | ||
| + | |||
| + | /* Сам overlay-поиск — штатный, без смещений */ | ||
| + | .search-overlay.visible .search-box, | ||
| + | .overlay.search-overlay.visible .search-box { | ||
| + | position: static !important; | ||
| + | left: auto !important; | ||
| + | top: auto !important; | ||
| + | transform: none !important; | ||
| + | width: auto !important; | ||
| + | max-width: none !important; | ||
| + | margin: 0 !important; | ||
| + | } | ||
| + | |||
| + | /* И его поле на всю доступную ширину */ | ||
| + | .search-overlay.visible .search, | ||
| + | .overlay.search-overlay.visible .search { | ||
| + | width: 100% !important; | ||
| + | max-width: none !important; | ||
| + | } | ||
| + | |||
| + | /* ===== ЕДИНСТВЕННЫЕ ПРАВИЛА ДЛЯ ПОИСКА ===== */ | ||
| + | |||
| + | /* контейнер шапки по ширине рабочей области */ | ||
| + | header.header-container.header-chrome > form.header { | ||
| + | max-width: 1400px !important; | ||
| + | margin-left: auto !important; | ||
| + | margin-right: auto !important; | ||
| + | padding-left: 24px !important; | ||
| + | padding-right: 24px !important; | ||
| + | box-sizing: border-box !important; | ||
| + | position: relative !important; | ||
| + | } | ||
| + | |||
| + | /* логотип у левого края рабочей области */ | ||
| + | header.header-container.header-chrome .branding-box, | ||
| + | header .branding-box { | ||
| + | margin-left: 0 !important; | ||
| + | padding-left: 0 !important; | ||
| + | } | ||
| + | |||
| + | /* только обычный поиск в шапке */ | ||
| + | header.header-container.header-chrome > form.header > .search-box { | ||
| + | position: absolute !important; | ||
| + | left: 50% !important; | ||
| + | top: 50% !important; | ||
| + | transform: translate(-50%, -50%) !important; | ||
| + | width: 420px !important; | ||
| + | max-width: 420px !important; | ||
| + | margin: 0 !important; | ||
| + | z-index: 20 !important; | ||
| + | } | ||
| + | |||
| + | /* само поле обычного поиска */ | ||
| + | header.header-container.header-chrome > form.header > .search-box .search { | ||
| + | width: 100% !important; | ||
| + | height: 38px !important; | ||
| + | box-sizing: border-box !important; | ||
| + | position: relative !important; | ||
| + | z-index: 21 !important; | ||
| + | } | ||
| + | |||
| + | /* ===== Когда открыт overlay-поиск, скрыть обычный поиск в шапке ===== */ | ||
| + | |||
| + | /* обычный поиск в шапке */ | ||
| + | header.header-container.header-chrome > form.header > .search-box { | ||
| + | position: absolute !important; | ||
| + | left: 50% !important; | ||
| + | top: 50% !important; | ||
| + | transform: translate(-50%, -50%) !important; | ||
| + | width: 420px !important; | ||
| + | max-width: 420px !important; | ||
| + | margin: 0 !important; | ||
| + | z-index: 20 !important; | ||
| + | } | ||
| + | |||
| + | /* если открыт overlay-поиск — обычный поиск прячем */ | ||
| + | body:has(.overlay.search-overlay.visible) header.header-container.header-chrome > form.header > .search-box { | ||
| + | display: none !important; | ||
| + | } | ||
| + | |||
| + | /* overlay-поиск оставляем штатным */ | ||
| + | body:has(.overlay.search-overlay.visible) .overlay.search-overlay.visible .overlay-title.search-header-view > form.search-box { | ||
| + | position: static !important; | ||
| + | width: 100% !important; | ||
| + | max-width: none !important; | ||
| + | margin: 0 !important; | ||
| + | transform: none !important; | ||
| + | } | ||
| + | |||
| + | body:has(.overlay.search-overlay.visible) .overlay.search-overlay.visible .overlay-title.search-header-view > form.search-box > input.search { | ||
| + | width: 100% !important; | ||
| + | max-width: none !important; | ||
| + | box-sizing: border-box !important; | ||
| + | } | ||
| + | |||
| + | /* кнопки overlay справа — штатно */ | ||
| + | body:has(.overlay.search-overlay.visible) .overlay.search-overlay.visible .header-action, | ||
| + | body:has(.overlay.search-overlay.visible) .overlay.search-overlay.visible .clear, | ||
| + | body:has(.overlay.search-overlay.visible) .overlay.search-overlay.visible .cancel { | ||
| + | position: static !important; | ||
| + | transform: none !important; | ||
| + | } | ||
| + | |||
| + | /* ===== Карточки: вернуть скругления и отступы ===== */ | ||
| + | |||
| + | .page-Главная .bl-card, | ||
| + | .page-Main_Page .bl-card { | ||
| + | background: #fff !important; | ||
| + | border-radius: 16px !important; /* скругление как было */ | ||
| + | padding: 20px 18px !important; /* внутренние отступы */ | ||
| + | box-shadow: 0 1px 3px rgba(0,0,0,0.06) !important; /* мягкая тень */ | ||
| + | } | ||
| + | |||
| + | /* заголовок карточки */ | ||
| + | .page-Главная .bl-card-title, | ||
| + | .page-Main_Page .bl-card-title { | ||
| + | margin-top: 12px !important; | ||
| + | margin-bottom: 12px !important; | ||
| + | } | ||
| + | |||
| + | /* список ссылок */ | ||
| + | .page-Главная .bl-card-links, | ||
| + | .page-Main_Page .bl-card-links { | ||
| + | margin: 0 !important; | ||
| + | padding-left: 0 !important; | ||
| + | } | ||
| + | |||
| + | /* элементы списка */ | ||
| + | .page-Главная .bl-card-links li, | ||
| + | .page-Main_Page .bl-card-links li { | ||
| + | margin: 6px 0 !important; | ||
| + | } | ||
| + | |||
| + | /* ===== Вернуть overflow-кнопку "Ещё" в панели действий ===== */ | ||
| + | |||
| + | .page-actions-menu, | ||
| + | #page-actions, | ||
| + | .page-actions-menu__list { | ||
| + | overflow: visible !important; | ||
| + | } | ||
| + | |||
| + | #page-actions > li, | ||
| + | .page-actions-menu__list > li { | ||
| + | display: inline-flex !important; | ||
| + | visibility: visible !important; | ||
| + | opacity: 1 !important; | ||
| + | } | ||
| + | |||
| + | /* если overflow-кнопка существует как toggle-list item */ | ||
| + | #page-actions > li.toggle-list-item, | ||
| + | #page-actions > li.toggle-list-item > a, | ||
| + | #page-actions > li.toggle-list-item > button, | ||
| + | #page-actions > li .toggle-list__toggle, | ||
| + | .page-actions-menu__list > li.toggle-list-item, | ||
| + | .page-actions-menu__list > li .toggle-list__toggle { | ||
| + | display: inline-flex !important; | ||
| + | visibility: visible !important; | ||
| + | opacity: 1 !important; | ||
| + | overflow: visible !important; | ||
| + | } | ||
| + | |||
| + | /* вернуть иконочный шрифт именно overflow-кнопке */ | ||
| + | #page-actions .toggle-list__toggle.mw-ui-icon:before, | ||
| + | #page-actions .toggle-list__toggle.mw-ui-icon-element:before, | ||
| + | .page-actions-menu__list .toggle-list__toggle.mw-ui-icon:before, | ||
| + | .page-actions-menu__list .toggle-list__toggle.mw-ui-icon-element:before { | ||
| + | font-family: "MinervaNeueIcons" !important; | ||
| + | font-size: 24px !important; | ||
| + | line-height: 1 !important; | ||
| + | } | ||
| + | |||
| + | /* на всякий случай не обнулять текст и размер именно для action menu */ | ||
| + | #page-actions .toggle-list__toggle, | ||
| + | .page-actions-menu__list .toggle-list__toggle { | ||
| + | font-size: inherit !important; | ||
| + | line-height: inherit !important; | ||
| + | text-indent: 0 !important; | ||
| + | } | ||
| + | |||
| + | /* ===== Отступ для главной (hero блок не под шапкой) ===== */ | ||
| + | |||
| + | .page-Main_Page .banner-container, | ||
| + | .page-Заглавная_страница .banner-container { | ||
| + | margin-top: 13px !important; /* подгони при необходимости */ | ||
| + | } | ||
| + | |||
| + | /* На главной скрываем поиск в верхней панели */ | ||
| + | body.page-Главная header.header-container.header-chrome > form.header > .search-box, | ||
| + | body.page-Main_Page header.header-container.header-chrome > form.header > .search-box { | ||
| + | display: none !important; | ||
| + | } | ||
| + | |||
| + | /* Поиск внутри hero на главной */ | ||
| + | body.page-Главная .bl-hero-search, | ||
| + | body.page-Main_Page .bl-hero-search { | ||
| + | max-width: 640px; | ||
| + | margin: 26px auto 0; | ||
| + | } | ||
| + | |||
| + | body.page-Главная .bl-search-form, | ||
| + | body.page-Main_Page .bl-search-form { | ||
| + | display: block; | ||
| + | width: 100%; | ||
| + | } | ||
| + | |||
| + | body.page-Главная .bl-search-input, | ||
| + | body.page-Main_Page .bl-search-input { | ||
| + | width: 100%; | ||
| + | height: 56px; | ||
| + | box-sizing: border-box; | ||
| + | padding: 0 22px 0 52px; | ||
| + | border: 1px solid #eef1f6; | ||
| + | border-radius: 18px; | ||
| + | background-color: #ffffff; | ||
| + | color: #667085; | ||
| + | font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; | ||
| + | font-size: 18px; | ||
| + | line-height: 1.2; | ||
| + | box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06); | ||
| + | outline: none; | ||
| + | background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2398a2b3' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='7'/><line x1='20' y1='20' x2='16.65' y2='16.65'/></svg>"); | ||
| + | background-repeat: no-repeat; | ||
| + | background-position: left 18px center; | ||
| + | background-size: 20px 20px; | ||
| + | } | ||
| + | |||
| + | body.page-Главная .bl-search-input::placeholder, | ||
| + | body.page-Main_Page .bl-search-input::placeholder { | ||
| + | color: #98a2b3; | ||
| + | opacity: 1; | ||
| + | } | ||
| + | |||
| + | body.page-Главная .bl-search-input:focus, | ||
| + | body.page-Main_Page .bl-search-input:focus { | ||
| + | border-color: #dbe2ea; | ||
| + | box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08); | ||
| + | } | ||
| + | |||
| + | /* шапка карточки: иконка и заголовок в одну строку */ | ||
| + | .page-Главная .bl-card-head, | ||
| + | .page-Main_Page .bl-card-head { | ||
| + | display: flex; | ||
| + | align-items: center; | ||
| + | gap: 12px; | ||
| + | margin-bottom: 14px; | ||
| + | } | ||
| + | |||
| + | /* иконка */ | ||
| + | .page-Главная .bl-card-icon, | ||
| + | .page-Main_Page .bl-card-icon { | ||
| + | margin: 0 !important; | ||
| + | height: auto !important; | ||
| + | line-height: 1; | ||
| + | flex: 0 0 auto; | ||
| + | } | ||
| + | |||
| + | /* заголовок сервиса */ | ||
| + | .page-Главная .bl-card-title, | ||
| + | .page-Main_Page .bl-card-title { | ||
| + | margin: 0 !important; | ||
| + | line-height: 1.2; | ||
| + | font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important; | ||
| + | font-weight: 600 !important; /* semibold */ | ||
| + | color: #1f2937 !important; | ||
| + | } | ||
| + | |||
| + | /* названия сервисов в списках тоже semibold */ | ||
| + | .page-Главная .bl-card-links li:first-child a, | ||
| + | .page-Main_Page .bl-card-links li:first-child a { | ||
| + | font-weight: 600 !important; | ||
| + | } | ||
| + | |||
| + | .page-Главная .bl-card-links a, | ||
| + | .page-Main_Page .bl-card-links a { | ||
| + | font-weight: 600 !important; | ||
| + | } | ||
| + | |||
| + | /* === Скрыть вкладки "Статья / Обсуждение" для гостей === */ | ||
| + | body:not(.logged-in) .minerva__tab-container { | ||
| + | display: none !important; | ||
| + | } | ||
| + | |||
| + | /* === Скрыть панель действий (язык, следить, история, править, ещё) === */ | ||
| + | body:not(.logged-in) #page-actions, | ||
| + | body:not(.logged-in) .page-actions-menu, | ||
| + | body:not(.logged-in) .page-actions-menu__list { | ||
| + | display: none !important; | ||
| + | } | ||
| + | |||
| + | /* === Скрыть "Ещё" (три точки) отдельно === */ | ||
| + | body:not(.logged-in) .minerva__menu { | ||
| + | display: none !important; | ||
| + | } | ||
| + | |||
| + | /* ========================================================= | ||
| + | ВНУТРЕННЯЯ ГЛАВНАЯ | ||
| + | Страница: Внутреннее:Заглавная страница | ||
| + | ========================================================= */ | ||
| + | |||
| + | body.page-Внутреннее_Заглавная_страница, | ||
| + | body.page-Внутреннее_Заглавная_страница #mw-mf-viewport, | ||
| + | body.page-Внутреннее_Заглавная_страница #content, | ||
| + | body.page-Внутреннее_Заглавная_страница .mw-body, | ||
| + | body.page-Внутреннее_Заглавная_страница #bodyContent, | ||
| + | body.page-Внутреннее_Заглавная_страница .content, | ||
| + | body.page-Внутреннее_Заглавная_страница main, | ||
| + | body.page-Внутреннее_Заглавная_страница .pre-content, | ||
| + | body.page-Внутреннее_Заглавная_страница .post-content { | ||
| + | background: #f3f4f6 !important; | ||
| + | background-color: #f3f4f6 !important; | ||
| + | max-width: none !important; | ||
| + | width: 100% !important; | ||
| + | margin-left: 0 !important; | ||
| + | margin-right: 0 !important; | ||
| + | padding-left: 0 !important; | ||
| + | padding-right: 0 !important; | ||
| + | box-sizing: border-box !important; | ||
| + | } | ||
| + | |||
| + | body.page-Внутреннее_Заглавная_страница .bl-help-home { | ||
| + | background: #f3f4f6 !important; | ||
| + | background-color: #f3f4f6 !important; | ||
| + | max-width: none !important; | ||
| + | width: 100% !important; | ||
| + | margin: -1em 0 0 0 !important; | ||
| + | padding: 0 0 32px 0 !important; | ||
| + | box-sizing: border-box !important; | ||
| + | font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important; | ||
| + | } | ||
| + | |||
| + | body.page-Внутреннее_Заглавная_страница .bl-help-home * { | ||
| + | font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important; | ||
| + | } | ||
| + | |||
| + | body.page-Внутреннее_Заглавная_страница .bl-hero { | ||
| + | background: #fcf8f8 !important; | ||
| + | background-color: #fcf8f8 !important; | ||
| + | padding: 40px 0 40px !important; | ||
| + | text-align: center !important; | ||
| + | margin: 0 calc(50% - 50vw) !important; | ||
| + | width: 100vw !important; | ||
| + | box-sizing: border-box !important; | ||
| + | } | ||
| + | |||
| + | body.page-Внутреннее_Заглавная_страница .bl-hero-inner { | ||
| + | max-width: 1120px !important; | ||
| + | margin: 0 auto !important; | ||
| + | padding: 0 20px !important; | ||
| + | text-align: center !important; | ||
| + | box-sizing: border-box !important; | ||
| + | } | ||
| + | |||
| + | body.page-Внутреннее_Заглавная_страница .bl-hero-title { | ||
| + | font-size: 44px !important; | ||
| + | line-height: 1.12 !important; | ||
| + | font-weight: 700 !important; | ||
| + | letter-spacing: -0.02em !important; | ||
| + | color: #1f2937 !important; | ||
| + | margin-bottom: 14px !important; | ||
| + | } | ||
| + | |||
| + | body.page-Внутреннее_Заглавная_страница .bl-hero-subtitle { | ||
| + | font-size: 22px !important; | ||
| + | line-height: 1.45 !important; | ||
| + | font-weight: 400 !important; | ||
| + | color: #667085 !important; | ||
| + | max-width: 760px !important; | ||
| + | margin: 0 auto !important; | ||
| + | } | ||
| + | |||
| + | body.page-Внутреннее_Заглавная_страница .bl-section { | ||
| + | max-width: 1400px !important; | ||
| + | margin: 0 auto !important; | ||
| + | padding: 28px 24px 0 !important; | ||
| + | box-sizing: border-box !important; | ||
| + | background: transparent !important; | ||
| + | } | ||
| + | |||
| + | body.page-Внутреннее_Заглавная_страница .bl-section-title { | ||
| + | font-size: 14px !important; | ||
| + | font-weight: 800 !important; | ||
| + | color: #9ca3af !important; | ||
| + | letter-spacing: 0.12em !important; | ||
| + | margin: 0 0 16px !important; | ||
| + | text-transform: uppercase !important; | ||
| + | } | ||
| + | |||
| + | body.page-Внутреннее_Заглавная_страница .bl-cards { | ||
| + | display: grid !important; | ||
| + | grid-template-columns: repeat(4, minmax(0, 1fr)) !important; | ||
| + | gap: 20px !important; | ||
| + | width: 100% !important; | ||
| + | } | ||
| + | |||
| + | body.page-Внутреннее_Заглавная_страница .bl-card { | ||
| + | background: #ffffff !important; | ||
| + | background-color: #ffffff !important; | ||
| + | border: 1px solid #e5e7eb !important; | ||
| + | border-radius: 16px !important; | ||
| + | padding: 20px 18px !important; | ||
| + | box-shadow: 0 1px 3px rgba(0,0,0,0.06) !important; | ||
| + | width: 100% !important; | ||
| + | max-width: none !important; | ||
| + | box-sizing: border-box !important; | ||
| + | } | ||
| + | |||
| + | body.page-Внутреннее_Заглавная_страница .bl-card-head { | ||
| + | display: flex !important; | ||
| + | align-items: center !important; | ||
| + | gap: 12px !important; | ||
| + | margin-bottom: 14px !important; | ||
| + | } | ||
| + | |||
| + | body.page-Внутреннее_Заглавная_страница .bl-card-icon { | ||
| + | margin: 0 !important; | ||
| + | height: auto !important; | ||
| + | line-height: 1 !important; | ||
| + | flex: 0 0 auto !important; | ||
| + | font-size: 22px !important; | ||
| + | } | ||
| + | |||
| + | body.page-Внутреннее_Заглавная_страница .bl-card-title { | ||
| + | margin: 0 !important; | ||
| + | line-height: 1.2 !important; | ||
| + | font-size: 21px !important; | ||
| + | font-weight: 600 !important; | ||
| + | color: #1f2937 !important; | ||
| + | } | ||
| + | |||
| + | body.page-Внутреннее_Заглавная_страница .bl-card-links { | ||
| + | border-top: 1px solid #f0f0f0 !important; | ||
| + | padding-top: 14px !important; | ||
| + | margin-top: 6px !important; | ||
| + | } | ||
| + | |||
| + | body.page-Внутреннее_Заглавная_страница .bl-card-links ul { | ||
| + | list-style: none !important; | ||
| + | margin: 0 !important; | ||
| + | padding: 0 !important; | ||
| + | } | ||
| + | |||
| + | body.page-Внутреннее_Заглавная_страница .bl-card-links li { | ||
| + | list-style: none !important; | ||
| + | margin: 0 0 10px !important; | ||
| + | font-size: 16px !important; | ||
| + | line-height: 1.45 !important; | ||
| + | font-weight: 400 !important; | ||
| + | } | ||
| + | |||
| + | body.page-Внутреннее_Заглавная_страница .bl-card-links li::before { | ||
| + | content: "›" !important; | ||
| + | color: #6877de !important; | ||
| + | font-weight: 400 !important; | ||
| + | display: inline-block !important; | ||
| + | margin-right: 0.5em !important; | ||
| + | } | ||
| + | |||
| + | body.page-Внутреннее_Заглавная_страница .bl-card-links a { | ||
| + | color: #6877de !important; | ||
| + | font-weight: 400 !important; | ||
| + | text-decoration: none !important; | ||
| + | } | ||
| + | |||
| + | body.page-Внутреннее_Заглавная_страница .bl-card-links a:hover { | ||
| + | color: #6877de !important; | ||
| + | text-decoration: underline !important; | ||
| + | } | ||
| + | |||
| + | @media (max-width: 1200px) { | ||
| + | body.page-Внутреннее_Заглавная_страница .bl-cards { | ||
| + | grid-template-columns: repeat(2, minmax(0, 1fr)) !important; | ||
| + | } | ||
| + | } | ||
| + | |||
| + | @media (max-width: 768px) { | ||
| + | body.page-Внутреннее_Заглавная_страница .bl-help-home { | ||
| + | margin-left: -0.75em !important; | ||
| + | margin-right: -0.75em !important; | ||
| + | } | ||
| + | |||
| + | body.page-Внутреннее_Заглавная_страница .bl-hero { | ||
| + | padding: 24px 0 20px !important; | ||
| + | } | ||
| + | |||
| + | body.page-Внутреннее_Заглавная_страница .bl-hero-title { | ||
| + | font-size: 31px !important; | ||
| + | } | ||
| + | |||
| + | body.page-Внутреннее_Заглавная_страница .bl-hero-subtitle { | ||
| + | font-size: 17px !important; | ||
| + | } | ||
| + | |||
| + | body.page-Внутреннее_Заглавная_страница .bl-section { | ||
| + | padding: 20px 14px 0 !important; | ||
| + | } | ||
| + | |||
| + | body.page-Внутреннее_Заглавная_страница .bl-cards { | ||
| + | grid-template-columns: 1fr !important; | ||
| + | gap: 14px !important; | ||
| + | } | ||
| + | |||
| + | body.page-Внутреннее_Заглавная_страница .bl-card { | ||
| + | padding: 18px !important; | ||
| + | border-radius: 16px !important; | ||
| + | } | ||
| + | |||
| + | body.page-Внутреннее_Заглавная_страница .bl-card-title { | ||
| + | font-size: 22px !important; | ||
| + | } | ||
| + | } | ||
| + | |||
| + | body.page-Внутреннее_Заглавная_страница .bl-help-home { | ||
| + | margin-top: -2em !important; /* ← подтягиваем вверх под header */ | ||
| + | } | ||
| + | |||
| + | /* ===== Внутренняя главная: фон на всю ширину ===== */ | ||
| + | |||
| + | body.page-Внутреннее_Заглавная_страница #bodyContent, | ||
| + | body.page-Внутреннее_Заглавная_страница .mw-parser-output, | ||
| + | body.page-Внутреннее_Заглавная_страница .bl-help-home { | ||
| + | background: #f3f4f6 !important; | ||
| + | background-color: #f3f4f6 !important; | ||
| + | width: 100vw !important; | ||
| + | max-width: none !important; | ||
| + | margin-left: calc(50% - 50vw) !important; | ||
| + | margin-right: calc(50% - 50vw) !important; | ||
| + | box-sizing: border-box !important; | ||
| + | } | ||
| + | |||
| + | /* hero тоже на всю ширину и без верхнего зазора */ | ||
| + | body.page-Внутреннее_Заглавная_страница .bl-hero { | ||
| + | margin: -1em calc(50% - 50vw) 0 calc(50% - 50vw) !important; | ||
| + | width: 100vw !important; | ||
| + | } | ||
| + | |||
| + | /* контент разделов снова центрируем внутри серого фона */ | ||
| + | body.page-Внутреннее_Заглавная_страница .bl-section { | ||
| + | max-width: 1400px !important; | ||
| + | width: 100% !important; | ||
| + | margin: 0 auto !important; | ||
| + | padding: 28px 24px 0 !important; | ||
| + | box-sizing: border-box !important; | ||
| + | background: transparent !important; | ||
| + | } | ||
| + | |||
| + | /* чтобы карточки не растягивались сверх рабочей области */ | ||
| + | body.page-Внутреннее_Заглавная_страница .bl-cards { | ||
| + | width: 100% !important; | ||
| + | } | ||
| + | |||
| + | body.page-Внутреннее_Заглавная_страница { | ||
| + | background: #f3f4f6 !important; | ||
| + | } | ||
| + | |||
| + | body.page-Внутреннее_Заглавная_страница { | ||
| + | overflow-x: hidden !important; | ||
| + | } | ||
| + | |||
| + | /* Внутренняя главная: закрасить низ страницы общим фоном */ | ||
| + | html, | ||
| + | body.page-Внутреннее_Заглавная_страница, | ||
| + | body.page-Внутреннее_Заглавная_страница #mw-mf-viewport, | ||
| + | body.page-Внутреннее_Заглавная_страница #mw-mf-page-center, | ||
| + | body.page-Внутреннее_Заглавная_страница main, | ||
| + | body.page-Внутреннее_Заглавная_страница #content, | ||
| + | body.page-Внутреннее_Заглавная_страница #bodyContent { | ||
| + | background: #f3f4f6 !important; | ||
| + | background-color: #f3f4f6 !important; | ||
| + | } | ||
| + | |||
| + | /* чтобы серый фон тянулся минимум до низа экрана */ | ||
| + | body.page-Внутреннее_Заглавная_страница .bl-help-home { | ||
| + | min-height: calc(100vh - 72px) !important; | ||
| + | } | ||
| + | |||
| + | body.page-Внутреннее_Заглавная_страница .mw-parser-output { | ||
| + | min-height: calc(100vh - 72px) !important; | ||
| + | background: #f3f4f6 !important; | ||
} | } | ||
Текущая версия от 16:35, 24 апреля 2026
/* =========================================================
COMMON.CSS — чистовая версия
========================================================= */
/* ---------- БАЗА ---------- */
html,
body,
input,
button,
select,
textarea,
.mw-body,
#content,
.minerva-header,
.header,
.search-box .search {
font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
}
/* Скрыть заголовок страницы */
h1,
.mw-first-heading,
.page-heading,
#content .mw-first-heading,
#content .page-heading,
header + .pre-content h1,
.pre-content h1 {
display: none !important;
}
/* Скрыть кнопку "Обсуждение" */
#page-secondary-actions .talk {
display: none !important;
}
/* ---------- ШАПКА ---------- */
.minerva-header,
.header-container.header-chrome,
header.header-container.header-chrome,
header.header-container.header-chrome > form.header {
background: #ffffff !important;
background-color: #ffffff !important;
border-bottom: 1px solid #eceff1 !important;
box-shadow: none !important;
}
/* Логотип без тусклости и немного меньше */
.header .branding-box img,
.header .branding-box h1 img,
.header .branding-box a img,
.mw-logo-icon,
.mw-logo-wordmark,
.branding-box img,
header.header-container.header-chrome .branding-box img,
header.header-container.header-chrome .branding-box a img,
header.header-container.header-chrome .branding-box h1 img {
opacity: 1 !important;
filter: none !important;
mix-blend-mode: normal !important;
height: 80px !important;
width: auto !important;
margin-left: 0 !important;
margin-right: 10px !important;
}
.header .branding-box,
.branding-box,
.branding-box a,
.branding-box h1,
header.header-container.header-chrome .branding-box,
header.header-container.header-chrome .branding-box a,
header.header-container.header-chrome .branding-box h1 {
opacity: 1 !important;
filter: none !important;
}
/* Поиск */
.search-box .search,
.header .search-box .search {
background: #f1f3f5 !important;
background-color: #f1f3f5 !important;
border: 1px solid #f1f3f5 !important;
border-radius: 999px !important;
color: #667085 !important;
box-shadow: none !important;
padding-left: 42px !important;
padding-right: 16px !important;
background-size: 17px 17px !important;
background-position: left 14px center !important;
background-repeat: no-repeat !important;
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='7'/><line x1='20' y1='20' x2='16.65' y2='16.65'/></svg>") !important;
}
.search-box .search::placeholder,
.search-box input::placeholder {
color: #98a2b3 !important;
opacity: 1 !important;
}
.client-nojs .search-box input:focus,
.search-box input:focus {
border-color: #f1f3f5 !important;
box-shadow: none !important;
outline: none !important;
}
/* Нижняя панель */
.minerva-ui-bottomNavigation {
background: #ffffff !important;
background-color: #ffffff !important;
border-top: 1px solid #eceff1 !important;
box-shadow: none !important;
}
.minerva-ui-bottomNavigation .mw-ui-icon {
background: transparent !important;
border-radius: 0 !important;
}
/* ---------- ПРАВЫЕ ИКОНКИ ШАПКИ ---------- */
.minerva-user-notifications .mw-ui-icon,
.minerva-user-menu .mw-ui-icon,
.minerva-user-notifications .mw-ui-icon-element,
.minerva-user-menu .mw-ui-icon-element,
.toggle-list__toggle.mw-ui-icon,
.toggle-list__toggle.mw-ui-icon-element {
font-size: 0 !important;
line-height: 0 !important;
text-indent: 0 !important;
overflow: hidden !important;
color: #4b5563 !important;
}
.minerva-user-notifications .mw-ui-icon:before,
.minerva-user-menu .mw-ui-icon:before,
.minerva-user-notifications .mw-ui-icon-element:before,
.minerva-user-menu .mw-ui-icon-element:before,
.toggle-list__toggle.mw-ui-icon:before,
.toggle-list__toggle.mw-ui-icon-element:before {
font-family: 'MinervaNeueIcons' !important;
font-style: normal !important;
font-weight: normal !important;
font-variant: normal !important;
text-transform: none !important;
speak: none !important;
font-size: 24px !important;
line-height: 1 !important;
display: inline-block !important;
color: #4b5563 !important;
}
.minerva-user-notifications .mw-ui-icon-label,
.minerva-user-menu .mw-ui-icon-label,
.minerva-user-notifications .mw-ui-button-label,
.minerva-user-menu .mw-ui-button-label,
.minerva-user-notifications span,
.minerva-user-menu span {
display: none !important;
}
/* ---------- ACTION-ПАНЕЛИ НЕ ЛОМАТЬ ---------- */
.minerva__tab-container,
.page-actions-menu,
#page-actions,
.minerva-page-actions,
.minerva-sticky-header {
background: transparent !important;
background-color: transparent !important;
box-shadow: none !important;
border-color: transparent !important;
}
body:not(.page-Главная):not(.page-Main_Page) #page-secondary-actions,
body:not(.page-Главная):not(.page-Main_Page) .minerva__tab-container,
body:not(.page-Главная):not(.page-Main_Page) .page-actions-menu,
body:not(.page-Главная):not(.page-Main_Page) #page-actions,
body:not(.page-Главная):not(.page-Main_Page) .minerva-page-actions,
body:not(.page-Главная):not(.page-Main_Page) .post-content {
margin-left: 0 !important;
margin-right: 0 !important;
padding-left: 0 !important;
padding-right: 0 !important;
left: auto !important;
right: auto !important;
width: auto !important;
max-width: none !important;
transform: none !important;
position: static !important;
box-sizing: border-box !important;
}
body:not(.page-Главная):not(.page-Main_Page) #content,
body:not(.page-Главная):not(.page-Main_Page) .mw-body,
body:not(.page-Главная):not(.page-Main_Page) #bodyContent {
overflow-x: visible !important;
}
/* ---------- ГЛАВНАЯ ---------- */
.page-Главная,
.page-Main_Page,
.page-Главная #content,
.page-Main_Page #content,
.page-Главная .mw-body,
.page-Main_Page .mw-body,
.page-Главная #bodyContent,
.page-Main_Page #bodyContent {
background: #f3f6fb !important;
}
.page-Главная #content,
.page-Main_Page #content,
.page-Главная .pre-content,
.page-Main_Page .pre-content,
.page-Главная .banner-container,
.page-Main_Page .banner-container {
margin-top: 0 !important;
padding-top: 0 !important;
}
.page-Главная .bl-help-home,
.page-Main_Page .bl-help-home {
background: #f3f6fb !important;
margin: -1em -1em 0 -1em;
padding-bottom: 32px;
font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
}
.page-Главная .bl-help-home *,
.page-Main_Page .bl-help-home * {
font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
}
.page-Главная .bl-hero,
.page-Main_Page .bl-hero {
background: #fcf8f8 !important;
padding: 80px 0 80px !important;
text-align: center;
margin: 0 calc(50% - 50vw) !important;
width: 100vw !important;
box-sizing: border-box !important;
}
.page-Главная .bl-hero-inner,
.page-Main_Page .bl-hero-inner {
max-width: 1120px !important;
margin: 0 auto !important;
padding: 0 20px !important;
text-align: center !important;
box-sizing: border-box !important;
}
.page-Главная .bl-hero-title,
.page-Main_Page .bl-hero-title {
font-size: 44px;
line-height: 1.12;
font-weight: 700 !important;
letter-spacing: -0.02em;
color: #1f2937 !important;
margin-bottom: 14px;
}
.page-Главная .bl-hero-subtitle,
.page-Main_Page .bl-hero-subtitle {
font-size: 22px;
line-height: 1.45;
font-weight: 400 !important;
color: #667085 !important;
max-width: 760px;
margin: 0 auto;
}
.page-Главная .bl-hero-subtitle br,
.page-Main_Page .bl-hero-subtitle br {
display: block;
content: "";
margin-top: 0.15em;
}
/* ===== Главная: секция "Продукты" по ширине рабочей области ===== */
.page-Главная .bl-section,
.page-Main_Page .bl-section {
max-width: 1400px !important; /* как новая рабочая область */
margin: 0 auto !important;
padding: 28px 24px 0 !important;
box-sizing: border-box !important;
}
.page-Главная .bl-section-title,
.page-Main_Page .bl-section-title {
font-size: 14px;
font-weight: 800;
color: #9ca3af;
letter-spacing: 0.12em;
margin: 0 0 16px;
text-transform: uppercase;
}
.page-Главная .bl-cards,
.page-Main_Page .bl-cards {
display: grid !important;
grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
gap: 20px !important;
width: 100% !important;
}
.page-Главная .bl-card,
.page-Main_Page .bl-card {
width: 100% !important;
max-width: none !important;
box-sizing: border-box !important;
}
.page-Главная .bl-card-icon,
.page-Main_Page .bl-card-icon {
margin-bottom: 14px;
height: 46px;
}
.page-Главная .bl-card-title,
.page-Main_Page .bl-card-title {
font-size: 21px;
font-weight: 800;
color: #1f2937 !important;
margin-bottom: 12px;
}
.page-Главная .bl-card-text,
.page-Main_Page .bl-card-text {
font-size: 16px;
line-height: 1.55;
color: #667085 !important;
min-height: 92px;
margin-bottom: 16px;
}
.page-Главная .bl-card-links,
.page-Main_Page .bl-card-links {
border-top: 1px solid #f0f0f0;
padding-top: 14px;
margin-top: 6px;
}
.page-Главная .bl-card-links ul,
.page-Main_Page .bl-card-links ul {
list-style: none;
margin: 0;
padding: 0;
}
.page-Главная .bl-card-links li,
.page-Main_Page .bl-card-links li {
margin: 0 0 10px;
font-size: 16px;
line-height: 1.45;
}
.page-Главная .bl-card-links li::before,
.page-Main_Page .bl-card-links li::before {
content: "› ";
color: #f1a4a4;
font-weight: 700;
}
.page-Главная .bl-card-links a,
.page-Main_Page .bl-card-links a {
font-weight: 600;
text-decoration: none;
}
.page-Главная .bl-card-links a:hover,
.page-Main_Page .bl-card-links a:hover {
text-decoration: underline;
}
.page-Главная .bl-card-more,
.page-Main_Page .bl-card-more {
margin-top: 10px;
font-size: 15px;
}
.page-Главная .bl-school,
.page-Main_Page .bl-school {
max-width: 1120px;
margin: 24px auto 0;
background: #ffffff;
border: 1px solid #e5e7eb;
border-radius: 18px;
box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
padding: 24px;
display: flex;
gap: 18px;
align-items: flex-start;
}
.page-Главная .bl-school-icon,
.page-Main_Page .bl-school-icon {
flex: 0 0 84px;
}
.page-Главная .bl-school-title,
.page-Main_Page .bl-school-title {
font-size: 30px;
font-weight: 800;
color: #1f2937 !important;
margin-bottom: 8px;
}
.page-Главная .bl-school-text,
.page-Main_Page .bl-school-text {
font-size: 17px;
line-height: 1.5;
color: #667085 !important;
margin-bottom: 14px;
}
.page-Главная .bl-school-tags,
.page-Main_Page .bl-school-tags {
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.page-Главная .bl-tag,
.page-Main_Page .bl-tag {
display: inline-block;
}
.page-Главная .bl-tag a,
.page-Main_Page .bl-tag a {
display: inline-block;
background: #fff2f2;
border: 1px solid #fde2e2;
padding: 9px 14px;
border-radius: 999px;
font-size: 14px;
font-weight: 700;
text-decoration: none;
}
.page-Главная .bl-tag a:hover,
.page-Main_Page .bl-tag a:hover {
text-decoration: none;
filter: brightness(0.98);
}
.page-Главная .bl-tag-muted a,
.page-Main_Page .bl-tag-muted a {
background: #ffffff;
border-color: #e5e7eb;
color: #6b7280 !important;
}
.page-Главная .bl-help-home p,
.page-Main_Page .bl-help-home p,
.page-Главная .bl-help-home ul,
.page-Main_Page .bl-help-home ul,
.page-Главная .bl-help-home li,
.page-Main_Page .bl-help-home li {
margin-top: 0;
}
/* Ссылки на главной */
.page-Главная .bl-help-home a,
.page-Main_Page .bl-help-home a,
.page-Главная .bl-card-links a,
.page-Main_Page .bl-card-links a,
.page-Главная .bl-card-more a,
.page-Main_Page .bl-card-more a,
.page-Главная .bl-tag a,
.page-Main_Page .bl-tag a {
color: #3366cc !important;
}
.page-Главная .bl-help-home a:hover,
.page-Main_Page .bl-help-home a:hover,
.page-Главная .bl-card-links a:hover,
.page-Main_Page .bl-card-links a:hover,
.page-Главная .bl-card-more a:hover,
.page-Main_Page .bl-card-more a:hover,
.page-Главная .bl-tag a:hover,
.page-Main_Page .bl-tag a:hover {
color: #254a99 !important;
}
/* Адаптив desktop/tablet */
@media (max-width: 1200px) {
.page-Главная .bl-cards,
.page-Main_Page .bl-cards {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (max-width: 768px) {
.page-Главная .bl-help-home,
.page-Main_Page .bl-help-home {
margin-left: -0.75em;
margin-right: -0.75em;
}
.page-Главная .bl-hero,
.page-Main_Page .bl-hero {
padding: 24px 0 20px !important;
}
.page-Главная .bl-hero-title,
.page-Main_Page .bl-hero-title {
font-size: 31px;
}
.page-Главная .bl-hero-subtitle,
.page-Main_Page .bl-hero-subtitle {
font-size: 17px;
}
.page-Главная .bl-section,
.page-Main_Page .bl-section {
padding: 20px 14px 0;
}
.page-Главная .bl-cards,
.page-Main_Page .bl-cards {
grid-template-columns: 1fr;
gap: 14px;
}
.page-Главная .bl-card,
.page-Main_Page .bl-card {
min-height: auto;
padding: 18px;
border-radius: 16px;
}
.page-Главная .bl-card-title,
.page-Main_Page .bl-card-title {
font-size: 22px;
}
.page-Главная .bl-card-text,
.page-Main_Page .bl-card-text {
min-height: auto;
font-size: 15px;
}
.page-Главная .bl-school,
.page-Main_Page .bl-school {
margin: 18px 14px 0;
padding: 18px;
border-radius: 16px;
display: block;
}
.page-Главная .bl-school-icon,
.page-Main_Page .bl-school-icon {
margin-bottom: 12px;
}
.page-Главная .bl-school-title,
.page-Main_Page .bl-school-title {
font-size: 24px;
}
.page-Главная .bl-school-text,
.page-Main_Page .bl-school-text {
font-size: 15px;
}
}
/* ===== Главная: карточки сервисов ===== */
/* 1. Заголовки сервисов */
.page-Главная .bl-card-title,
.page-Main_Page .bl-card-title {
font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
font-weight: 700 !important; /* Bold */
color: #1f2937 !important;
}
/* 2. Ссылки по сервисам */
.page-Главная .bl-card-links a,
.page-Main_Page .bl-card-links a,
.page-Главная .bl-help-home .bl-card-links a,
.page-Main_Page .bl-help-home .bl-card-links a {
font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
font-weight: 400 !important; /* Regular */
color: #6877de !important;
text-decoration: none !important;
}
/* стрелочка перед пунктом */
.page-Главная .bl-card-links li::before,
.page-Main_Page .bl-card-links li::before {
content: "›";
color: #6877de !important;
font-weight: 400 !important;
display: inline-block;
margin-right: 0.5em; /* отодвигаем текст примерно на 50% ширины символа */
}
/* убираем лишнюю жирность у пунктов списка */
.page-Главная .bl-card-links li,
.page-Main_Page .bl-card-links li {
font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
font-weight: 400 !important;
}
/* hover */
.page-Главная .bl-card-links a:hover,
.page-Main_Page .bl-card-links a:hover {
color: #6877de !important;
text-decoration: underline !important;
}
/* блок с полем занимает всю доступную ширину */
.search-overlay .search-header-view,
.overlay.search-overlay .search-header-view,
.search-overlay .overlay-title {
flex: 1 1 auto !important;
width: auto !important;
max-width: none !important;
min-width: 0 !important;
padding-right: 0 !important;
margin-right: 48px !important; /* резерв под крестик */
box-sizing: border-box !important;
}
/* само поле поиска — на всю ширину блока */
.search-overlay .search-box,
.search-overlay input[type="search"],
.search-overlay .search,
.overlay.search-overlay .search-box,
.overlay.search-overlay input[type="search"],
.overlay.search-overlay .search {
width: 100% !important;
max-width: none !important;
padding-right: 16px !important;
box-sizing: border-box !important;
}
/* кнопка-крестик — отдельно справа */
.search-overlay .header-action,
.overlay.search-overlay .header-action {
position: absolute !important;
right: 12px !important;
top: 50% !important;
transform: translateY(-50%) !important;
margin: 0 !important;
z-index: 5 !important;
}
.search-overlay .cancel,
.overlay.search-overlay .cancel,
.overlay .cancel.mw-ui-icon {
position: static !important;
margin: 0 !important;
}
/* Полностью убрать нижний блок сайта */
footer,
.mw-footer,
.minerva-footer {
display: none !important;
}
/* ===== Главная: принудительно один фон на весь холст ===== */
html body.page-Главная,
html body.page-Main_Page,
html body.page-Главная > *,
html body.page-Main_Page > *,
html body.page-Главная #mw-mf-viewport,
html body.page-Main_Page #mw-mf-viewport,
html body.page-Главная #mw-mf-page-center,
html body.page-Main_Page #mw-mf-page-center,
html body.page-Главная #content,
html body.page-Main_Page #content,
html body.page-Главная .mw-body,
html body.page-Main_Page .mw-body,
html body.page-Главная main,
html body.page-Main_Page main,
html body.page-Главная .content,
html body.page-Main_Page .content,
html body.page-Главная .pre-content,
html body.page-Main_Page .pre-content,
html body.page-Главная .post-content,
html body.page-Main_Page .post-content,
html body.page-Главная .bl-help-home,
html body.page-Main_Page .bl-help-home,
html body.page-Главная .bl-section,
html body.page-Main_Page .bl-section {
background: #f3f4f6 !important;
background-color: #f3f4f6 !important;
}
/* сохранить отдельные цвета нужных блоков */
html body.page-Главная .bl-hero,
html body.page-Main_Page .bl-hero {
background: #fcf8f8 !important;
background-color: #fcf8f8 !important;
}
html body.page-Главная .bl-card,
html body.page-Main_Page .bl-card,
html body.page-Главная .bl-school,
html body.page-Main_Page .bl-school {
background: #ffffff !important;
background-color: #ffffff !important;
}
/* =========================================================
ШИРИНА И ФОНЫ — БЕЗ ПОЛОС
========================================================= */
/* ---------- 1. Обычные статьи ---------- */
/* Внешние контейнеры статей оставляем белыми и без ограничения ширины */
body:not(.page-Главная):not(.page-Main_Page),
body:not(.page-Главная):not(.page-Main_Page) #mw-mf-viewport,
body:not(.page-Главная):not(.page-Main_Page) #content,
body:not(.page-Главная):not(.page-Main_Page) .mw-body,
body:not(.page-Главная):not(.page-Main_Page) #bodyContent,
body:not(.page-Главная):not(.page-Main_Page) .content,
body:not(.page-Главная):not(.page-Main_Page) main {
background: #ffffff !important;
background-color: #ffffff !important;
max-width: none !important;
width: 100% !important;
margin-left: 0 !important;
margin-right: 0 !important;
padding-left: 0 !important;
padding-right: 0 !important;
box-sizing: border-box !important;
}
/* Расширяем только внутреннюю рабочую область статьи */
body:not(.page-Главная):not(.page-Main_Page) .pre-content,
body:not(.page-Главная):not(.page-Main_Page) .post-content,
body:not(.page-Главная):not(.page-Main_Page) #mw-content-text {
max-width: 1400px !important;
width: 100% !important;
margin-left: auto !important;
margin-right: auto !important;
padding-left: 24px !important;
padding-right: 24px !important;
box-sizing: border-box !important;
background: #ffffff !important;
background-color: #ffffff !important;
}
/* ---------- 2. Главная ---------- */
/* На главной внешние контейнеры на всю ширину и одного цвета */
body.page-Главная,
body.page-Main_Page,
body.page-Главная #mw-mf-viewport,
body.page-Main_Page #mw-mf-viewport,
body.page-Главная #content,
body.page-Main_Page #content,
body.page-Главная .mw-body,
body.page-Main_Page .mw-body,
body.page-Главная #bodyContent,
body.page-Main_Page #bodyContent,
body.page-Главная .content,
body.page-Main_Page .content,
body.page-Главная main,
body.page-Main_Page main,
body.page-Главная .pre-content,
body.page-Main_Page .pre-content,
body.page-Главная .post-content,
body.page-Main_Page .post-content {
background: #f3f4f6 !important;
background-color: #f3f4f6 !important;
max-width: none !important;
width: 100% !important;
margin-left: 0 !important;
margin-right: 0 !important;
padding-left: 0 !important;
padding-right: 0 !important;
box-sizing: border-box !important;
}
/* Внутренний блок главной */
body.page-Главная .bl-help-home,
body.page-Main_Page .bl-help-home {
background: #f3f4f6 !important;
background-color: #f3f4f6 !important;
max-width: none !important;
width: 100% !important;
margin: -1em 0 0 0 !important;
padding: 0 0 32px 0 !important;
box-sizing: border-box !important;
}
/* Секция продуктов — без отдельной полосы */
body.page-Главная .bl-section,
body.page-Main_Page .bl-section {
background: transparent !important;
background-color: transparent !important;
}
/* Hero остаётся розовым */
body.page-Главная .bl-hero,
body.page-Main_Page .bl-hero {
background: #fcf8f8 !important;
background-color: #fcf8f8 !important;
}
/* Карточки остаются белыми */
body.page-Главная .bl-card,
body.page-Main_Page .bl-card,
body.page-Главная .bl-school,
body.page-Main_Page .bl-school {
background: #ffffff !important;
background-color: #ffffff !important;
}
/* логотип не смещаем */
.header .branding-box,
header .branding-box {
margin-left: 0 !important;
padding-left: 0 !important;
}
/* логотип остаётся у левого края рабочей области */
.header .branding-box,
header .branding-box {
margin-left: 0 !important;
padding-left: 0 !important;
}
/* само поле */
header.header-container.header-chrome .search-box .search,
.header-container.header-chrome .search-box .search,
.header .search-box .search {
width: 100% !important;
height: 38px !important;
box-sizing: border-box !important;
}
/* крестик overlay отдельно справа */
.overlay.search-overlay .header-action,
.search-overlay .header-action {
position: absolute !important;
right: 12px !important;
top: 50% !important;
transform: translateY(-50%) !important;
z-index: 5 !important;
}
/* Сам overlay-поиск — штатный, без смещений */
.search-overlay.visible .search-box,
.overlay.search-overlay.visible .search-box {
position: static !important;
left: auto !important;
top: auto !important;
transform: none !important;
width: auto !important;
max-width: none !important;
margin: 0 !important;
}
/* И его поле на всю доступную ширину */
.search-overlay.visible .search,
.overlay.search-overlay.visible .search {
width: 100% !important;
max-width: none !important;
}
/* ===== ЕДИНСТВЕННЫЕ ПРАВИЛА ДЛЯ ПОИСКА ===== */
/* контейнер шапки по ширине рабочей области */
header.header-container.header-chrome > form.header {
max-width: 1400px !important;
margin-left: auto !important;
margin-right: auto !important;
padding-left: 24px !important;
padding-right: 24px !important;
box-sizing: border-box !important;
position: relative !important;
}
/* логотип у левого края рабочей области */
header.header-container.header-chrome .branding-box,
header .branding-box {
margin-left: 0 !important;
padding-left: 0 !important;
}
/* только обычный поиск в шапке */
header.header-container.header-chrome > form.header > .search-box {
position: absolute !important;
left: 50% !important;
top: 50% !important;
transform: translate(-50%, -50%) !important;
width: 420px !important;
max-width: 420px !important;
margin: 0 !important;
z-index: 20 !important;
}
/* само поле обычного поиска */
header.header-container.header-chrome > form.header > .search-box .search {
width: 100% !important;
height: 38px !important;
box-sizing: border-box !important;
position: relative !important;
z-index: 21 !important;
}
/* ===== Когда открыт overlay-поиск, скрыть обычный поиск в шапке ===== */
/* обычный поиск в шапке */
header.header-container.header-chrome > form.header > .search-box {
position: absolute !important;
left: 50% !important;
top: 50% !important;
transform: translate(-50%, -50%) !important;
width: 420px !important;
max-width: 420px !important;
margin: 0 !important;
z-index: 20 !important;
}
/* если открыт overlay-поиск — обычный поиск прячем */
body:has(.overlay.search-overlay.visible) header.header-container.header-chrome > form.header > .search-box {
display: none !important;
}
/* overlay-поиск оставляем штатным */
body:has(.overlay.search-overlay.visible) .overlay.search-overlay.visible .overlay-title.search-header-view > form.search-box {
position: static !important;
width: 100% !important;
max-width: none !important;
margin: 0 !important;
transform: none !important;
}
body:has(.overlay.search-overlay.visible) .overlay.search-overlay.visible .overlay-title.search-header-view > form.search-box > input.search {
width: 100% !important;
max-width: none !important;
box-sizing: border-box !important;
}
/* кнопки overlay справа — штатно */
body:has(.overlay.search-overlay.visible) .overlay.search-overlay.visible .header-action,
body:has(.overlay.search-overlay.visible) .overlay.search-overlay.visible .clear,
body:has(.overlay.search-overlay.visible) .overlay.search-overlay.visible .cancel {
position: static !important;
transform: none !important;
}
/* ===== Карточки: вернуть скругления и отступы ===== */
.page-Главная .bl-card,
.page-Main_Page .bl-card {
background: #fff !important;
border-radius: 16px !important; /* скругление как было */
padding: 20px 18px !important; /* внутренние отступы */
box-shadow: 0 1px 3px rgba(0,0,0,0.06) !important; /* мягкая тень */
}
/* заголовок карточки */
.page-Главная .bl-card-title,
.page-Main_Page .bl-card-title {
margin-top: 12px !important;
margin-bottom: 12px !important;
}
/* список ссылок */
.page-Главная .bl-card-links,
.page-Main_Page .bl-card-links {
margin: 0 !important;
padding-left: 0 !important;
}
/* элементы списка */
.page-Главная .bl-card-links li,
.page-Main_Page .bl-card-links li {
margin: 6px 0 !important;
}
/* ===== Вернуть overflow-кнопку "Ещё" в панели действий ===== */
.page-actions-menu,
#page-actions,
.page-actions-menu__list {
overflow: visible !important;
}
#page-actions > li,
.page-actions-menu__list > li {
display: inline-flex !important;
visibility: visible !important;
opacity: 1 !important;
}
/* если overflow-кнопка существует как toggle-list item */
#page-actions > li.toggle-list-item,
#page-actions > li.toggle-list-item > a,
#page-actions > li.toggle-list-item > button,
#page-actions > li .toggle-list__toggle,
.page-actions-menu__list > li.toggle-list-item,
.page-actions-menu__list > li .toggle-list__toggle {
display: inline-flex !important;
visibility: visible !important;
opacity: 1 !important;
overflow: visible !important;
}
/* вернуть иконочный шрифт именно overflow-кнопке */
#page-actions .toggle-list__toggle.mw-ui-icon:before,
#page-actions .toggle-list__toggle.mw-ui-icon-element:before,
.page-actions-menu__list .toggle-list__toggle.mw-ui-icon:before,
.page-actions-menu__list .toggle-list__toggle.mw-ui-icon-element:before {
font-family: "MinervaNeueIcons" !important;
font-size: 24px !important;
line-height: 1 !important;
}
/* на всякий случай не обнулять текст и размер именно для action menu */
#page-actions .toggle-list__toggle,
.page-actions-menu__list .toggle-list__toggle {
font-size: inherit !important;
line-height: inherit !important;
text-indent: 0 !important;
}
/* ===== Отступ для главной (hero блок не под шапкой) ===== */
.page-Main_Page .banner-container,
.page-Заглавная_страница .banner-container {
margin-top: 13px !important; /* подгони при необходимости */
}
/* На главной скрываем поиск в верхней панели */
body.page-Главная header.header-container.header-chrome > form.header > .search-box,
body.page-Main_Page header.header-container.header-chrome > form.header > .search-box {
display: none !important;
}
/* Поиск внутри hero на главной */
body.page-Главная .bl-hero-search,
body.page-Main_Page .bl-hero-search {
max-width: 640px;
margin: 26px auto 0;
}
body.page-Главная .bl-search-form,
body.page-Main_Page .bl-search-form {
display: block;
width: 100%;
}
body.page-Главная .bl-search-input,
body.page-Main_Page .bl-search-input {
width: 100%;
height: 56px;
box-sizing: border-box;
padding: 0 22px 0 52px;
border: 1px solid #eef1f6;
border-radius: 18px;
background-color: #ffffff;
color: #667085;
font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
font-size: 18px;
line-height: 1.2;
box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
outline: none;
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2398a2b3' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='7'/><line x1='20' y1='20' x2='16.65' y2='16.65'/></svg>");
background-repeat: no-repeat;
background-position: left 18px center;
background-size: 20px 20px;
}
body.page-Главная .bl-search-input::placeholder,
body.page-Main_Page .bl-search-input::placeholder {
color: #98a2b3;
opacity: 1;
}
body.page-Главная .bl-search-input:focus,
body.page-Main_Page .bl-search-input:focus {
border-color: #dbe2ea;
box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}
/* шапка карточки: иконка и заголовок в одну строку */
.page-Главная .bl-card-head,
.page-Main_Page .bl-card-head {
display: flex;
align-items: center;
gap: 12px;
margin-bottom: 14px;
}
/* иконка */
.page-Главная .bl-card-icon,
.page-Main_Page .bl-card-icon {
margin: 0 !important;
height: auto !important;
line-height: 1;
flex: 0 0 auto;
}
/* заголовок сервиса */
.page-Главная .bl-card-title,
.page-Main_Page .bl-card-title {
margin: 0 !important;
line-height: 1.2;
font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
font-weight: 600 !important; /* semibold */
color: #1f2937 !important;
}
/* названия сервисов в списках тоже semibold */
.page-Главная .bl-card-links li:first-child a,
.page-Main_Page .bl-card-links li:first-child a {
font-weight: 600 !important;
}
.page-Главная .bl-card-links a,
.page-Main_Page .bl-card-links a {
font-weight: 600 !important;
}
/* === Скрыть вкладки "Статья / Обсуждение" для гостей === */
body:not(.logged-in) .minerva__tab-container {
display: none !important;
}
/* === Скрыть панель действий (язык, следить, история, править, ещё) === */
body:not(.logged-in) #page-actions,
body:not(.logged-in) .page-actions-menu,
body:not(.logged-in) .page-actions-menu__list {
display: none !important;
}
/* === Скрыть "Ещё" (три точки) отдельно === */
body:not(.logged-in) .minerva__menu {
display: none !important;
}
/* =========================================================
ВНУТРЕННЯЯ ГЛАВНАЯ
Страница: Внутреннее:Заглавная страница
========================================================= */
body.page-Внутреннее_Заглавная_страница,
body.page-Внутреннее_Заглавная_страница #mw-mf-viewport,
body.page-Внутреннее_Заглавная_страница #content,
body.page-Внутреннее_Заглавная_страница .mw-body,
body.page-Внутреннее_Заглавная_страница #bodyContent,
body.page-Внутреннее_Заглавная_страница .content,
body.page-Внутреннее_Заглавная_страница main,
body.page-Внутреннее_Заглавная_страница .pre-content,
body.page-Внутреннее_Заглавная_страница .post-content {
background: #f3f4f6 !important;
background-color: #f3f4f6 !important;
max-width: none !important;
width: 100% !important;
margin-left: 0 !important;
margin-right: 0 !important;
padding-left: 0 !important;
padding-right: 0 !important;
box-sizing: border-box !important;
}
body.page-Внутреннее_Заглавная_страница .bl-help-home {
background: #f3f4f6 !important;
background-color: #f3f4f6 !important;
max-width: none !important;
width: 100% !important;
margin: -1em 0 0 0 !important;
padding: 0 0 32px 0 !important;
box-sizing: border-box !important;
font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
}
body.page-Внутреннее_Заглавная_страница .bl-help-home * {
font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
}
body.page-Внутреннее_Заглавная_страница .bl-hero {
background: #fcf8f8 !important;
background-color: #fcf8f8 !important;
padding: 40px 0 40px !important;
text-align: center !important;
margin: 0 calc(50% - 50vw) !important;
width: 100vw !important;
box-sizing: border-box !important;
}
body.page-Внутреннее_Заглавная_страница .bl-hero-inner {
max-width: 1120px !important;
margin: 0 auto !important;
padding: 0 20px !important;
text-align: center !important;
box-sizing: border-box !important;
}
body.page-Внутреннее_Заглавная_страница .bl-hero-title {
font-size: 44px !important;
line-height: 1.12 !important;
font-weight: 700 !important;
letter-spacing: -0.02em !important;
color: #1f2937 !important;
margin-bottom: 14px !important;
}
body.page-Внутреннее_Заглавная_страница .bl-hero-subtitle {
font-size: 22px !important;
line-height: 1.45 !important;
font-weight: 400 !important;
color: #667085 !important;
max-width: 760px !important;
margin: 0 auto !important;
}
body.page-Внутреннее_Заглавная_страница .bl-section {
max-width: 1400px !important;
margin: 0 auto !important;
padding: 28px 24px 0 !important;
box-sizing: border-box !important;
background: transparent !important;
}
body.page-Внутреннее_Заглавная_страница .bl-section-title {
font-size: 14px !important;
font-weight: 800 !important;
color: #9ca3af !important;
letter-spacing: 0.12em !important;
margin: 0 0 16px !important;
text-transform: uppercase !important;
}
body.page-Внутреннее_Заглавная_страница .bl-cards {
display: grid !important;
grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
gap: 20px !important;
width: 100% !important;
}
body.page-Внутреннее_Заглавная_страница .bl-card {
background: #ffffff !important;
background-color: #ffffff !important;
border: 1px solid #e5e7eb !important;
border-radius: 16px !important;
padding: 20px 18px !important;
box-shadow: 0 1px 3px rgba(0,0,0,0.06) !important;
width: 100% !important;
max-width: none !important;
box-sizing: border-box !important;
}
body.page-Внутреннее_Заглавная_страница .bl-card-head {
display: flex !important;
align-items: center !important;
gap: 12px !important;
margin-bottom: 14px !important;
}
body.page-Внутреннее_Заглавная_страница .bl-card-icon {
margin: 0 !important;
height: auto !important;
line-height: 1 !important;
flex: 0 0 auto !important;
font-size: 22px !important;
}
body.page-Внутреннее_Заглавная_страница .bl-card-title {
margin: 0 !important;
line-height: 1.2 !important;
font-size: 21px !important;
font-weight: 600 !important;
color: #1f2937 !important;
}
body.page-Внутреннее_Заглавная_страница .bl-card-links {
border-top: 1px solid #f0f0f0 !important;
padding-top: 14px !important;
margin-top: 6px !important;
}
body.page-Внутреннее_Заглавная_страница .bl-card-links ul {
list-style: none !important;
margin: 0 !important;
padding: 0 !important;
}
body.page-Внутреннее_Заглавная_страница .bl-card-links li {
list-style: none !important;
margin: 0 0 10px !important;
font-size: 16px !important;
line-height: 1.45 !important;
font-weight: 400 !important;
}
body.page-Внутреннее_Заглавная_страница .bl-card-links li::before {
content: "›" !important;
color: #6877de !important;
font-weight: 400 !important;
display: inline-block !important;
margin-right: 0.5em !important;
}
body.page-Внутреннее_Заглавная_страница .bl-card-links a {
color: #6877de !important;
font-weight: 400 !important;
text-decoration: none !important;
}
body.page-Внутреннее_Заглавная_страница .bl-card-links a:hover {
color: #6877de !important;
text-decoration: underline !important;
}
@media (max-width: 1200px) {
body.page-Внутреннее_Заглавная_страница .bl-cards {
grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
}
@media (max-width: 768px) {
body.page-Внутреннее_Заглавная_страница .bl-help-home {
margin-left: -0.75em !important;
margin-right: -0.75em !important;
}
body.page-Внутреннее_Заглавная_страница .bl-hero {
padding: 24px 0 20px !important;
}
body.page-Внутреннее_Заглавная_страница .bl-hero-title {
font-size: 31px !important;
}
body.page-Внутреннее_Заглавная_страница .bl-hero-subtitle {
font-size: 17px !important;
}
body.page-Внутреннее_Заглавная_страница .bl-section {
padding: 20px 14px 0 !important;
}
body.page-Внутреннее_Заглавная_страница .bl-cards {
grid-template-columns: 1fr !important;
gap: 14px !important;
}
body.page-Внутреннее_Заглавная_страница .bl-card {
padding: 18px !important;
border-radius: 16px !important;
}
body.page-Внутреннее_Заглавная_страница .bl-card-title {
font-size: 22px !important;
}
}
body.page-Внутреннее_Заглавная_страница .bl-help-home {
margin-top: -2em !important; /* ← подтягиваем вверх под header */
}
/* ===== Внутренняя главная: фон на всю ширину ===== */
body.page-Внутреннее_Заглавная_страница #bodyContent,
body.page-Внутреннее_Заглавная_страница .mw-parser-output,
body.page-Внутреннее_Заглавная_страница .bl-help-home {
background: #f3f4f6 !important;
background-color: #f3f4f6 !important;
width: 100vw !important;
max-width: none !important;
margin-left: calc(50% - 50vw) !important;
margin-right: calc(50% - 50vw) !important;
box-sizing: border-box !important;
}
/* hero тоже на всю ширину и без верхнего зазора */
body.page-Внутреннее_Заглавная_страница .bl-hero {
margin: -1em calc(50% - 50vw) 0 calc(50% - 50vw) !important;
width: 100vw !important;
}
/* контент разделов снова центрируем внутри серого фона */
body.page-Внутреннее_Заглавная_страница .bl-section {
max-width: 1400px !important;
width: 100% !important;
margin: 0 auto !important;
padding: 28px 24px 0 !important;
box-sizing: border-box !important;
background: transparent !important;
}
/* чтобы карточки не растягивались сверх рабочей области */
body.page-Внутреннее_Заглавная_страница .bl-cards {
width: 100% !important;
}
body.page-Внутреннее_Заглавная_страница {
background: #f3f4f6 !important;
}
body.page-Внутреннее_Заглавная_страница {
overflow-x: hidden !important;
}
/* Внутренняя главная: закрасить низ страницы общим фоном */
html,
body.page-Внутреннее_Заглавная_страница,
body.page-Внутреннее_Заглавная_страница #mw-mf-viewport,
body.page-Внутреннее_Заглавная_страница #mw-mf-page-center,
body.page-Внутреннее_Заглавная_страница main,
body.page-Внутреннее_Заглавная_страница #content,
body.page-Внутреннее_Заглавная_страница #bodyContent {
background: #f3f4f6 !important;
background-color: #f3f4f6 !important;
}
/* чтобы серый фон тянулся минимум до низа экрана */
body.page-Внутреннее_Заглавная_страница .bl-help-home {
min-height: calc(100vh - 72px) !important;
}
body.page-Внутреннее_Заглавная_страница .mw-parser-output {
min-height: calc(100vh - 72px) !important;
background: #f3f4f6 !important;
}