Замечание. Возможно, после сохранения вам придётся очистить кэш своего браузера, чтобы увидеть изменения.

  • Firefox / Safari: Удерживая клавишу Shift, нажмите на панели инструментов Обновить либо нажмите Ctrl-F5 или Ctrl-R (⌘-R на Mac)
  • Google Chrome: Нажмите Ctrl-Shift-R (⌘-Shift-R на Mac)
  • Internet Explorer: Удерживая Ctrl, нажмите Обновить либо нажмите Ctrl-F5
  • Opera: Перейдите в Menu → Настройки (Opera → Настройки на Mac), а затем Безопасность → Очистить историю посещений → Кэшированные изображения и файлы
/* =========================================================
   MOBILE.CSS — фиксы мобильной главной страницы
   ========================================================= */

/* 1) Верхняя мобильная шапка — оставить синей */
header.header-container.header-chrome,
header.header-container.header-chrome > form.header,
header.header-container.header-chrome::before,
header.header-container.header-chrome::after,
header.header-container.header-chrome > form.header::before,
header.header-container.header-chrome > form.header::after {
    background: rgb(110, 132, 247) !important;
    background-color: rgb(110, 132, 247) !important;
    box-shadow: none !important;
    border-color: rgb(110, 132, 247) !important;
}

/* 2) Логотип в мобильной шапке — без тусклости */
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,
.mw-logo-icon,
.mw-logo-wordmark,
.branding-box img {
    opacity: 1 !important;
    filter: none !important;
    mix-blend-mode: normal !important;
}

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;
}

/* 3) Скрыть заголовок страницы на мобиле */
h1,
.mw-first-heading,
.page-heading,
#content .mw-first-heading,
#content .page-heading,
header + .pre-content h1,
.pre-content h1 {
    display: none !important;
}

/* 4) Не прокрашивать служебную панель страницы */
.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;
}

/* 5) Нижняя мобильная панель остаётся синей */
.minerva-ui-bottomNavigation {
    background: rgb(110, 132, 247) !important;
    background-color: rgb(110, 132, 247) !important;
    box-shadow: none !important;
    border-color: rgb(110, 132, 247) !important;
}

.minerva-ui-bottomNavigation .mw-ui-icon {
    background-color: #ffffff !important;
    border-radius: 14px !important;
}

/* =========================================================
   Мобильная вёрстка новой главной
   ========================================================= */

.bl-help-home {
    background: #f3f4f6;
    margin: -0.75em -0.75em 0 -0.75em;
    padding-bottom: 18px;
}

.bl-hero {
    background: #fff7f7;
    padding: 22px 14px 18px;
    text-align: center;
}

.bl-hero-inner {
    max-width: 100%;
    margin: 0 auto;
}

.bl-hero-title {
    font-size: 28px;
    line-height: 1.15;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 10px;
}

.bl-hero-subtitle {
    font-size: 16px;
    line-height: 1.45;
    color: #6b7280;
}

.bl-section {
    padding: 18px 14px 0;
}

.bl-section-title {
    font-size: 12px;
    font-weight: 800;
    color: #9ca3af;
    letter-spacing: 0.12em;
    margin: 0 0 12px;
    text-transform: uppercase;
}

.bl-cards {
    display: block;
}

.bl-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
    min-height: auto;
    margin-bottom: 14px;
}

.bl-card:last-child {
    margin-bottom: 0;
}

.bl-card-icon {
    margin-bottom: 12px;
    height: auto;
}

.bl-card-title {
    font-size: 22px;
    line-height: 1.2;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 10px;
}

.bl-card-text {
    font-size: 15px;
    line-height: 1.55;
    color: #6b7280;
    margin-bottom: 14px;
    min-height: auto;
}

.bl-card-links {
    border-top: 1px solid #f0f0f0;
    padding-top: 12px;
    margin-top: 4px;
}

.bl-card-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bl-card-links li {
    margin: 0 0 9px;
    font-size: 15px;
    line-height: 1.4;
}

.bl-card-links li::before {
    content: "› ";
    color: #f1a4a4;
    font-weight: 700;
}

.bl-card-links a {
    color: #e58c8c !important;
    text-decoration: none;
    font-weight: 600;
}

.bl-card-more {
    margin-top: 8px;
    font-size: 14px;
}

.bl-card-more a {
    color: #6b7280 !important;
    text-decoration: none;
}

.bl-school {
    margin: 18px 14px 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
    padding: 18px;
    display: block;
}

.bl-school-icon {
    margin-bottom: 10px;
}

.bl-school-title {
    font-size: 23px;
    line-height: 1.2;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 8px;
}

.bl-school-text {
    font-size: 15px;
    line-height: 1.5;
    color: #6b7280;
    margin-bottom: 12px;
}

.bl-school-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bl-tag {
    display: inline-block;
}

.bl-tag a {
    display: inline-block;
    background: #fff2f2;
    border: 1px solid #fde2e2;
    color: #e58c8c !important;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.bl-tag-muted a {
    background: #f3f4f6;
    border-color: #e5e7eb;
    color: #6b7280 !important;
}

/* Убираем стандартные wiki-отступы внутри кастомной главной */
.bl-help-home p,
.bl-help-home ul,
.bl-help-home li {
    margin-top: 0;
}

/* На очень узких экранах чуть компактнее */
@media (max-width: 380px) {
    .bl-hero-title {
        font-size: 24px;
    }

    .bl-hero-subtitle {
        font-size: 15px;
    }

    .bl-card-title {
        font-size: 20px;
    }

    .bl-school-title {
        font-size: 21px;
    }
}