Строка 1: Строка 1:
/* ===== Главная страница Центра помощи ===== */
+
/* ===== ФИКСЫ после переработки главной ===== */
  
.bl-help-home {
+
/* 1) Логотип снова делаем нормальным, без тусклости */
     background: #f3f4f6;
+
.header .branding-box img,
     margin: -1em -1em 0 -1em;
+
.header .branding-box h1 img,
     padding-bottom: 32px;
+
.header .branding-box a img,
    font-family: -apple-system, 'Manrope', 'Arial', sans-serif;
+
.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;
 
}
 
}
  
.bl-hero {
+
.header .branding-box,
     background: #fff7f7;
+
.branding-box,
     padding: 34px 16px 28px;
+
.branding-box a,
    text-align: center;
+
.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;
 
}
 
}
  
.bl-hero-inner {
+
/* 2) Синяя только настоящая шапка сайта */
    max-width: 760px;
 
    margin: 0 auto;
 
}
 
 
 
.bl-hero-title {
 
    font-size: 44px;
 
    line-height: 1.12;
 
    font-weight: 800;
 
    color: #1f2937;
 
    margin-bottom: 14px;
 
}
 
 
 
.bl-hero-subtitle {
 
    font-size: 22px;
 
    line-height: 1.45;
 
    color: #6b7280;
 
}
 
 
 
.bl-section {
 
    max-width: 1120px;
 
    margin: 0 auto;
 
    padding: 28px 20px 0;
 
}
 
 
 
.bl-section-title {
 
    font-size: 14px;
 
    font-weight: 800;
 
    color: #9ca3af;
 
    letter-spacing: 0.12em;
 
    margin: 0 0 16px;
 
    text-transform: uppercase;
 
}
 
 
 
.bl-cards {
 
    display: grid;
 
    grid-template-columns: repeat(4, minmax(0, 1fr));
 
    gap: 16px;
 
}
 
 
 
.bl-card {
 
    background: #ffffff;
 
    border: 1px solid #e5e7eb;
 
    border-radius: 18px;
 
    padding: 22px;
 
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
 
    min-height: 300px;
 
}
 
 
 
.bl-card-icon {
 
    margin-bottom: 14px;
 
    height: 46px;
 
}
 
 
 
.bl-card-title {
 
    font-size: 21px;
 
    font-weight: 800;
 
    color: #1f2937;
 
    margin-bottom: 12px;
 
}
 
 
 
.bl-card-text {
 
    font-size: 16px;
 
    line-height: 1.55;
 
    color: #6b7280;
 
    min-height: 92px;
 
    margin-bottom: 16px;
 
}
 
 
 
.bl-card-links {
 
    border-top: 1px solid #f0f0f0;
 
    padding-top: 14px;
 
    margin-top: 6px;
 
}
 
 
 
.bl-card-links ul {
 
    list-style: none;
 
    margin: 0;
 
    padding: 0;
 
}
 
 
 
.bl-card-links li {
 
    margin: 0 0 10px;
 
    font-size: 16px;
 
    line-height: 1.45;
 
}
 
 
 
.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-links a:hover {
 
    text-decoration: underline;
 
}
 
 
 
.bl-card-more {
 
    margin-top: 10px;
 
    font-size: 15px;
 
}
 
 
 
.bl-card-more a {
 
    color: #6b7280 !important;
 
    text-decoration: none;
 
}
 
 
 
.bl-card-more a:hover {
 
    text-decoration: underline;
 
}
 
 
 
.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;
 
}
 
 
 
.bl-school-icon {
 
    flex: 0 0 84px;
 
}
 
 
 
.bl-school-title {
 
    font-size: 30px;
 
    font-weight: 800;
 
    color: #1f2937;
 
    margin-bottom: 8px;
 
}
 
 
 
.bl-school-text {
 
    font-size: 17px;
 
    line-height: 1.5;
 
    color: #6b7280;
 
    margin-bottom: 14px;
 
}
 
 
 
.bl-school-tags {
 
    display: flex;
 
    flex-wrap: wrap;
 
    gap: 10px;
 
}
 
 
 
.bl-tag {
 
    display: inline-block;
 
}
 
 
 
.bl-tag a {
 
    display: inline-block;
 
    background: #fff2f2;
 
    border: 1px solid #fde2e2;
 
    color: #e58c8c !important;
 
    padding: 9px 14px;
 
    border-radius: 999px;
 
    font-size: 14px;
 
    font-weight: 700;
 
    text-decoration: none;
 
}
 
 
 
.bl-tag a:hover {
 
    text-decoration: none;
 
    filter: brightness(0.98);
 
}
 
 
 
.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: 1200px) {
 
    .bl-cards {
 
        grid-template-columns: repeat(2, minmax(0, 1fr));
 
    }
 
}
 
 
 
@media (max-width: 768px) {
 
    .bl-help-home {
 
        margin-left: -0.75em;
 
        margin-right: -0.75em;
 
    }
 
 
 
    .bl-hero {
 
        padding: 24px 14px 20px;
 
    }
 
 
 
    .bl-hero-title {
 
        font-size: 31px;
 
    }
 
 
 
    .bl-hero-subtitle {
 
        font-size: 17px;
 
    }
 
 
 
    .bl-section {
 
        padding: 20px 14px 0;
 
    }
 
 
 
    .bl-cards {
 
        grid-template-columns: 1fr;
 
        gap: 14px;
 
    }
 
 
 
    .bl-card {
 
        min-height: auto;
 
        padding: 18px;
 
        border-radius: 16px;
 
    }
 
 
 
    .bl-card-title {
 
        font-size: 22px;
 
    }
 
 
 
    .bl-card-text {
 
        min-height: auto;
 
        font-size: 15px;
 
    }
 
 
 
    .bl-school {
 
        margin: 18px 14px 0;
 
        padding: 18px;
 
        border-radius: 16px;
 
        display: block;
 
    }
 
 
 
    .bl-school-icon {
 
        margin-bottom: 12px;
 
    }
 
 
 
    .bl-school-title {
 
        font-size: 24px;
 
    }
 
 
 
    .bl-school-text {
 
        font-size: 15px;
 
    }
 
}
 
 
 
/* ФИКС: вернуть синий хедер поверх новых стилей */
 
 
.minerva-header,
 
.minerva-header,
.header-container.header-chrome,
 
 
header.header-container.header-chrome,
 
header.header-container.header-chrome,
header.header-container.header-chrome > form.header {
+
header.header-container.header-chrome > form.header,
 +
.header-container.header-chrome > form.header {
 
     background: rgb(110, 132, 247) !important;
 
     background: rgb(110, 132, 247) !important;
 
     background-color: rgb(110, 132, 247) !important;
 
     background-color: rgb(110, 132, 247) !important;
Строка 281: Строка 37:
 
}
 
}
  
/* ФИКС: нижняя мобильная панель */
+
/* убираем прокрашивание служебной панели страницы / actions */
 +
.minerva__tab-container,
 
.page-actions-menu,
 
.page-actions-menu,
 
#page-actions,
 
#page-actions,
.minerva-footer,
+
.minerva-page-actions,
.minerva__tab-container,
+
.minerva-sticky-header {
.minerva-ui-bottomNavigation,
+
    background: transparent !important;
.minerva-sticky-header,
+
    background-color: transparent !important;
.minerva-page-actions {
+
    box-shadow: none !important;
 +
    border-color: transparent !important;
 +
}
 +
 
 +
/* 3) Нижнюю мобильную панель красим отдельно и только там, где нужно */
 +
.minerva-ui-bottomNavigation {
 
     background: rgb(110, 132, 247) !important;
 
     background: rgb(110, 132, 247) !important;
 
     background-color: rgb(110, 132, 247) !important;
 
     background-color: rgb(110, 132, 247) !important;
Строка 295: Строка 57:
 
}
 
}
  
/* ФИКС: всегда скрывать заголовок страницы */
+
/* белые подложки иконок в нужных мобильных кнопках */
h1,
+
.minerva-ui-bottomNavigation .mw-ui-icon {
.mw-first-heading,
+
     background-color: #ffffff !important;
.page-heading,
+
     border-radius: 14px !important;
#content .mw-first-heading,
 
#content .page-heading,
 
header + .pre-content h1,
 
.pre-content h1 {
 
     display: none !important;
 
}
 
 
 
/* Убираем зазор под хедером */
 
#content {
 
    margin-top: 0 !important;
 
}
 
 
 
.bl-help-home {
 
     margin-top: 0 !important;
 
 
}
 
}

Версия от 17:20, 17 апреля 2026

/* ===== ФИКСЫ после переработки главной ===== */

/* 1) Логотип снова делаем нормальным, без тусклости */
.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;
}

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

/* 2) Синяя только настоящая шапка сайта */
.minerva-header,
header.header-container.header-chrome,
header.header-container.header-chrome > form.header,
.header-container.header-chrome > form.header {
    background: rgb(110, 132, 247) !important;
    background-color: rgb(110, 132, 247) !important;
    box-shadow: inset 0 0 0 100px rgb(110, 132, 247) !important;
}

/* убираем прокрашивание служебной панели страницы / actions */
.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;
}

/* 3) Нижнюю мобильную панель красим отдельно и только там, где нужно */
.minerva-ui-bottomNavigation {
    background: rgb(110, 132, 247) !important;
    background-color: rgb(110, 132, 247) !important;
    border-color: rgb(110, 132, 247) !important;
    box-shadow: none !important;
}

/* белые подложки иконок в нужных мобильных кнопках */
.minerva-ui-bottomNavigation .mw-ui-icon {
    background-color: #ffffff !important;
    border-radius: 14px !important;
}