(не показано 14 промежуточных версий этого же участника)
Строка 1: Строка 1:
 
/* =========================================================
 
/* =========================================================
   MOBILE.CSS — фиксы мобильной главной страницы
+
   MOBILE.CSS — чистовая версия
 
   ========================================================= */
 
   ========================================================= */
  
/* 1) Верхняя мобильная шапка — оставить синей */
+
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;
 +
}
 +
 
 +
/* Шапка */
 
header.header-container.header-chrome,
 
header.header-container.header-chrome,
 
header.header-container.header-chrome > form.header,
 
header.header-container.header-chrome > form.header,
Строка 10: Строка 40:
 
header.header-container.header-chrome > form.header::before,
 
header.header-container.header-chrome > form.header::before,
 
header.header-container.header-chrome > form.header::after {
 
header.header-container.header-chrome > form.header::after {
     background: rgb(110, 132, 247) !important;
+
     background: #ffffff !important;
     background-color: rgb(110, 132, 247) !important;
+
     background-color: #ffffff !important;
 +
    border-bottom: 1px solid #eceff1 !important;
 
     box-shadow: none !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 img,
 
header.header-container.header-chrome .branding-box a img,
 
header.header-container.header-chrome .branding-box a img,
Строка 26: Строка 56:
 
     filter: none !important;
 
     filter: none !important;
 
     mix-blend-mode: normal !important;
 
     mix-blend-mode: normal !important;
 +
    height: 64px !important;
 +
    width: auto !important;
 +
    margin-left: 0 !important;
 +
    margin-right: 8px !important;
 
}
 
}
  
Строка 35: Строка 69:
 
}
 
}
  
/* 3) Скрыть заголовок страницы на мобиле */
+
/* Поиск */
h1,
+
header .search-box .search,
.mw-first-heading,
+
.search-box .search {
.page-heading,
+
    background: #f1f3f5 !important;
#content .mw-first-heading,
+
    background-color: #f1f3f5 !important;
#content .page-heading,
+
    border: 1px solid #f1f3f5 !important;
header + .pre-content h1,
+
    border-radius: 999px !important;
.pre-content h1 {
+
    color: #667085 !important;
 +
    box-shadow: none !important;
 +
    padding-left: 40px !important;
 +
    padding-right: 14px !important;
 +
    background-size: 16px 16px !important;
 +
    background-position: left 13px 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;
 +
}
 +
 
 +
header .search-box .search::placeholder,
 +
header .search-box input::placeholder,
 +
.search-box .search::placeholder,
 +
.search-box input::placeholder {
 +
    color: #98a2b3 !important;
 +
    opacity: 1 !important;
 +
}
 +
 
 +
header .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;
 +
}
 +
 
 +
/* ---------- ПРАВЫЕ ИКОНКИ ШАПКИ ---------- */
 +
/* только иконки user menu / notifications, не трогаем другие toggle-кнопки Minerva */
 +
 
 +
.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 {
 +
    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 {
 +
    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;
 
     display: none !important;
 
}
 
}
  
/* 4) Не прокрашивать служебную панель страницы */
+
/* Action-панели не ломать */
 
.minerva__tab-container,
 
.minerva__tab-container,
 
.page-actions-menu,
 
.page-actions-menu,
Строка 58: Строка 165:
 
}
 
}
  
/* 5) Нижняя мобильная панель остаётся синей */
+
body:not(.page-Главная):not(.page-Main_Page) #page-secondary-actions,
.minerva-ui-bottomNavigation {
+
body:not(.page-Главная):not(.page-Main_Page) .minerva__tab-container,
    background: rgb(110, 132, 247) !important;
+
body:not(.page-Главная):not(.page-Main_Page) .page-actions-menu,
     background-color: rgb(110, 132, 247) !important;
+
body:not(.page-Главная):not(.page-Main_Page) #page-actions,
     box-shadow: none !important;
+
body:not(.page-Главная):not(.page-Main_Page) .minerva-page-actions,
     border-color: rgb(110, 132, 247) !important;
+
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;
 
}
 
}
  
.minerva-ui-bottomNavigation .mw-ui-icon {
+
/* Главная */
     background-color: #ffffff !important;
+
.page-Главная,
    border-radius: 14px !important;
+
.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;
 +
}
  
.bl-help-home {
+
.page-Главная .bl-help-home,
     background: #f3f4f6;
+
.page-Main_Page .bl-help-home {
 +
     background: #f3f6fb !important;
 
     margin: -0.75em -0.75em 0 -0.75em;
 
     margin: -0.75em -0.75em 0 -0.75em;
 
     padding-bottom: 18px;
 
     padding-bottom: 18px;
 +
    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;
 
}
 
}
  
.bl-hero {
+
.page-Главная .bl-hero,
     background: #fff7f7;
+
.page-Main_Page .bl-hero {
     padding: 22px 14px 18px;
+
     background: #fff1f1 !important;
 +
     padding: 22px 0 18px !important;
 
     text-align: center;
 
     text-align: center;
 +
    margin: 0 calc(50% - 50vw) !important;
 +
    width: 100vw !important;
 +
    box-sizing: border-box !important;
 
}
 
}
  
.bl-hero-inner {
+
.page-Главная .bl-hero-inner,
     max-width: 100%;
+
.page-Main_Page .bl-hero-inner {
     margin: 0 auto;
+
     max-width: 100% !important;
 +
     margin: 0 auto !important;
 +
    padding: 0 14px !important;
 +
    text-align: center !important;
 +
    box-sizing: border-box !important;
 
}
 
}
  
.bl-hero-title {
+
.page-Главная .bl-hero-title,
 +
.page-Main_Page .bl-hero-title {
 
     font-size: 28px;
 
     font-size: 28px;
 
     line-height: 1.15;
 
     line-height: 1.15;
     font-weight: 800;
+
     font-weight: 700 !important;
     color: #1f2937;
+
     color: #1f2937 !important;
 
     margin-bottom: 10px;
 
     margin-bottom: 10px;
 
}
 
}
  
.bl-hero-subtitle {
+
.page-Главная .bl-hero-subtitle,
 +
.page-Main_Page .bl-hero-subtitle {
 
     font-size: 16px;
 
     font-size: 16px;
 
     line-height: 1.45;
 
     line-height: 1.45;
     color: #6b7280;
+
    font-weight: 400 !important;
 +
     color: #667085 !important;
 
}
 
}
  
.bl-section {
+
.page-Главная .bl-section,
 +
.page-Main_Page .bl-section {
 
     padding: 18px 14px 0;
 
     padding: 18px 14px 0;
 
}
 
}
  
.bl-section-title {
+
.page-Главная .bl-section-title,
 +
.page-Main_Page .bl-section-title {
 
     font-size: 12px;
 
     font-size: 12px;
 
     font-weight: 800;
 
     font-weight: 800;
Строка 119: Строка 270:
 
}
 
}
  
.bl-cards {
+
.page-Главная .bl-cards,
 +
.page-Main_Page .bl-cards {
 
     display: block;
 
     display: block;
 
}
 
}
  
.bl-card {
+
.page-Главная .bl-card,
 +
.page-Main_Page .bl-card {
 
     background: #ffffff;
 
     background: #ffffff;
 
     border: 1px solid #e5e7eb;
 
     border: 1px solid #e5e7eb;
Строка 133: Строка 286:
 
}
 
}
  
.bl-card:last-child {
+
.page-Главная .bl-card:last-child,
 +
.page-Main_Page .bl-card:last-child {
 
     margin-bottom: 0;
 
     margin-bottom: 0;
 
}
 
}
  
.bl-card-icon {
+
.page-Главная .bl-card-icon,
 +
.page-Main_Page .bl-card-icon {
 
     margin-bottom: 12px;
 
     margin-bottom: 12px;
 
     height: auto;
 
     height: auto;
 
}
 
}
  
.bl-card-title {
+
.page-Главная .bl-card-title,
 +
.page-Main_Page .bl-card-title {
 
     font-size: 22px;
 
     font-size: 22px;
 
     line-height: 1.2;
 
     line-height: 1.2;
 
     font-weight: 800;
 
     font-weight: 800;
     color: #1f2937;
+
     color: #1f2937 !important;
 
     margin-bottom: 10px;
 
     margin-bottom: 10px;
 
}
 
}
  
.bl-card-text {
+
.page-Главная .bl-card-text,
 +
.page-Main_Page .bl-card-text {
 
     font-size: 15px;
 
     font-size: 15px;
 
     line-height: 1.55;
 
     line-height: 1.55;
     color: #6b7280;
+
     color: #667085 !important;
 
     margin-bottom: 14px;
 
     margin-bottom: 14px;
 
     min-height: auto;
 
     min-height: auto;
 
}
 
}
  
.bl-card-links {
+
.page-Главная .bl-card-links,
 +
.page-Main_Page .bl-card-links {
 
     border-top: 1px solid #f0f0f0;
 
     border-top: 1px solid #f0f0f0;
 
     padding-top: 12px;
 
     padding-top: 12px;
Строка 164: Строка 322:
 
}
 
}
  
.bl-card-links ul {
+
.page-Главная .bl-card-links ul,
 +
.page-Main_Page .bl-card-links ul {
 
     list-style: none;
 
     list-style: none;
 
     margin: 0;
 
     margin: 0;
Строка 170: Строка 329:
 
}
 
}
  
.bl-card-links li {
+
.page-Главная .bl-card-links li,
 +
.page-Main_Page .bl-card-links li {
 
     margin: 0 0 9px;
 
     margin: 0 0 9px;
 
     font-size: 15px;
 
     font-size: 15px;
Строка 176: Строка 336:
 
}
 
}
  
.bl-card-links li::before {
+
.page-Главная .bl-card-links li::before,
 +
.page-Main_Page .bl-card-links li::before {
 
     content: "› ";
 
     content: "› ";
 
     color: #f1a4a4;
 
     color: #f1a4a4;
Строка 182: Строка 343:
 
}
 
}
  
.bl-card-links a {
+
.page-Главная .bl-card-links a,
     color: #e58c8c !important;
+
.page-Main_Page .bl-card-links a {
 +
     font-weight: 600;
 
     text-decoration: none;
 
     text-decoration: none;
    font-weight: 600;
 
 
}
 
}
  
.bl-card-more {
+
.page-Главная .bl-card-more,
 +
.page-Main_Page .bl-card-more {
 
     margin-top: 8px;
 
     margin-top: 8px;
 
     font-size: 14px;
 
     font-size: 14px;
 
}
 
}
  
.bl-card-more a {
+
.page-Главная .bl-school,
    color: #6b7280 !important;
+
.page-Main_Page .bl-school {
    text-decoration: none;
 
}
 
 
 
.bl-school {
 
 
     margin: 18px 14px 0;
 
     margin: 18px 14px 0;
 
     background: #ffffff;
 
     background: #ffffff;
Строка 208: Строка 366:
 
}
 
}
  
.bl-school-icon {
+
.page-Главная .bl-school-icon,
 +
.page-Main_Page .bl-school-icon {
 
     margin-bottom: 10px;
 
     margin-bottom: 10px;
 
}
 
}
  
.bl-school-title {
+
.page-Главная .bl-school-title,
 +
.page-Main_Page .bl-school-title {
 
     font-size: 23px;
 
     font-size: 23px;
 
     line-height: 1.2;
 
     line-height: 1.2;
 
     font-weight: 800;
 
     font-weight: 800;
     color: #1f2937;
+
     color: #1f2937 !important;
 
     margin-bottom: 8px;
 
     margin-bottom: 8px;
 
}
 
}
  
.bl-school-text {
+
.page-Главная .bl-school-text,
 +
.page-Main_Page .bl-school-text {
 
     font-size: 15px;
 
     font-size: 15px;
 
     line-height: 1.5;
 
     line-height: 1.5;
     color: #6b7280;
+
     color: #667085 !important;
 
     margin-bottom: 12px;
 
     margin-bottom: 12px;
 
}
 
}
  
.bl-school-tags {
+
.page-Главная .bl-school-tags,
 +
.page-Main_Page .bl-school-tags {
 
     display: flex;
 
     display: flex;
 
     flex-wrap: wrap;
 
     flex-wrap: wrap;
Строка 233: Строка 395:
 
}
 
}
  
.bl-tag {
+
.page-Главная .bl-tag,
 +
.page-Main_Page .bl-tag {
 
     display: inline-block;
 
     display: inline-block;
 
}
 
}
  
.bl-tag a {
+
.page-Главная .bl-tag a,
 +
.page-Main_Page .bl-tag a {
 
     display: inline-block;
 
     display: inline-block;
 
     background: #fff2f2;
 
     background: #fff2f2;
 
     border: 1px solid #fde2e2;
 
     border: 1px solid #fde2e2;
    color: #e58c8c !important;
 
 
     padding: 8px 12px;
 
     padding: 8px 12px;
 
     border-radius: 999px;
 
     border-radius: 999px;
Строка 249: Строка 412:
 
}
 
}
  
.bl-tag-muted a {
+
.page-Главная .bl-tag-muted a,
     background: #f3f4f6;
+
.page-Main_Page .bl-tag-muted a {
 +
     background: #ffffff;
 
     border-color: #e5e7eb;
 
     border-color: #e5e7eb;
 
     color: #6b7280 !important;
 
     color: #6b7280 !important;
 
}
 
}
  
/* Убираем стандартные wiki-отступы внутри кастомной главной */
+
.page-Главная .bl-help-home p,
.bl-help-home p,
+
.page-Main_Page .bl-help-home p,
.bl-help-home ul,
+
.page-Главная .bl-help-home ul,
.bl-help-home li {
+
.page-Main_Page .bl-help-home ul,
 +
.page-Главная .bl-help-home li,
 +
.page-Main_Page .bl-help-home li {
 
     margin-top: 0;
 
     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;
 +
}
 +
 
 
@media (max-width: 380px) {
 
@media (max-width: 380px) {
     .bl-hero-title {
+
     .page-Главная .bl-hero-title,
 +
    .page-Main_Page .bl-hero-title {
 
         font-size: 24px;
 
         font-size: 24px;
 
     }
 
     }
  
     .bl-hero-subtitle {
+
     .page-Главная .bl-hero-subtitle,
 +
    .page-Main_Page .bl-hero-subtitle {
 
         font-size: 15px;
 
         font-size: 15px;
 
     }
 
     }
  
     .bl-card-title {
+
     .page-Главная .bl-card-title,
 +
    .page-Main_Page .bl-card-title {
 
         font-size: 20px;
 
         font-size: 20px;
 
     }
 
     }
  
     .bl-school-title {
+
     .page-Главная .bl-school-title,
 +
    .page-Main_Page .bl-school-title {
 
         font-size: 21px;
 
         font-size: 21px;
 
     }
 
     }
 
}
 
}
  
/* Ссылки на главной — синие */
+
/* ===== Главная: карточки сервисов ===== */
.bl-help-home a,
+
 
.bl-card-links a,
+
/* 1. Заголовки сервисов */
.bl-card-more a,
+
.page-Главная .bl-card-title,
.bl-tag a {
+
.page-Main_Page .bl-card-title {
     color: #3366cc !important;
+
    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;
 +
}
 +
 
 +
/* Полностью убрать нижний блок сайта */
 +
footer,
 +
.mw-footer,
 +
.minerva-footer {
 +
    display: none !important;
 +
}
 +
 
 +
/* вернуть кнопку "Ещё" / overflow menu в action bar */
 +
.toggle-list__toggle,
 +
.page-actions-menu .toggle-list__toggle,
 +
.minerva-page-actions .toggle-list__toggle,
 +
#page-secondary-actions .toggle-list__toggle {
 +
    display: inline-flex !important;
 +
    visibility: visible !important;
 +
    opacity: 1 !important;
 +
    font-size: inherit !important;
 +
    line-height: inherit !important;
 +
    overflow: visible !important;
 +
}
 +
 
 +
.toggle-list__toggle.mw-ui-icon:before,
 +
.toggle-list__toggle.mw-ui-icon-element:before,
 +
.page-actions-menu .toggle-list__toggle:before,
 +
.minerva-page-actions .toggle-list__toggle:before,
 +
#page-secondary-actions .toggle-list__toggle:before {
 +
    font-family: 'MinervaNeueIcons' !important;
 +
    font-size: 24px !important;
 +
    line-height: 1 !important;
 +
}
 +
 
 +
/* ===== Скрыть бургер в мобильной шапке ===== */
 +
 
 +
/* сама кнопка */
 +
#mw-mf-main-menu-button,
 +
.navigation-drawer .toggle-list__toggle,
 +
.navigation-drawer .mw-ui-icon-wikimedia-menu-base20,
 +
.navigation-drawer .mw-ui-icon-element {
 +
    display: none !important;
 +
    visibility: hidden !important;
 +
    opacity: 0 !important;
 +
    width: 0 !important;
 +
    min-width: 0 !important;
 +
    margin: 0 !important;
 +
    padding: 0 !important;
 +
    overflow: hidden !important;
 +
}
 +
 
 +
/* обёртка левой навигации */
 +
.navigation-drawer {
 +
    display: none !important;
 +
    width: 0 !important;
 +
    min-width: 0 !important;
 +
    margin: 0 !important;
 +
    padding: 0 !important;
 +
}
 +
 
 +
/* скрыть связанный checkbox и выезжающее меню */
 +
#main-menu-input,
 +
#mw-mf-page-left,
 +
.main-menu-mask {
 +
    display: none !important;
 +
}
 +
 
 +
/* ===== Убрать центральный поиск на мобильной ===== */
 +
 
 +
.page-Главная .bl-hero-search,
 +
.page-Main_Page .bl-hero-search {
 +
    display: none !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;
 +
}
 +
 
 +
.bl-card img {
 +
    float: left;
 +
    margin-right: 8px;
 
}
 
}
  
/* hover как у стандартной вики */
+
.bl-card h3 {
.bl-help-home a:hover,
+
    display: inline-block;
.bl-card-links a:hover,
+
     vertical-align: middle;
.bl-card-more a:hover,
 
.bl-tag a:hover {
 
     color: #254a99 !important;
 
 
}
 
}

Текущая версия от 16:14, 22 апреля 2026

/* =========================================================
   MOBILE.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;
}

/* Шапка */
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: #ffffff !important;
    background-color: #ffffff !important;
    border-bottom: 1px solid #eceff1 !important;
    box-shadow: none !important;
}

/* Логотип */
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;
    height: 64px !important;
    width: auto !important;
    margin-left: 0 !important;
    margin-right: 8px !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;
}

/* Поиск */
header .search-box .search,
.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: 40px !important;
    padding-right: 14px !important;
    background-size: 16px 16px !important;
    background-position: left 13px 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;
}

header .search-box .search::placeholder,
header .search-box input::placeholder,
.search-box .search::placeholder,
.search-box input::placeholder {
    color: #98a2b3 !important;
    opacity: 1 !important;
}

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

/* ---------- ПРАВЫЕ ИКОНКИ ШАПКИ ---------- */
/* только иконки user menu / notifications, не трогаем другие toggle-кнопки Minerva */

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

/* Главная */
.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: -0.75em -0.75em 0 -0.75em;
    padding-bottom: 18px;
    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: #fff1f1 !important;
    padding: 22px 0 18px !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: 100% !important;
    margin: 0 auto !important;
    padding: 0 14px !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

.page-Главная .bl-hero-title,
.page-Main_Page .bl-hero-title {
    font-size: 28px;
    line-height: 1.15;
    font-weight: 700 !important;
    color: #1f2937 !important;
    margin-bottom: 10px;
}

.page-Главная .bl-hero-subtitle,
.page-Main_Page .bl-hero-subtitle {
    font-size: 16px;
    line-height: 1.45;
    font-weight: 400 !important;
    color: #667085 !important;
}

.page-Главная .bl-section,
.page-Main_Page .bl-section {
    padding: 18px 14px 0;
}

.page-Главная .bl-section-title,
.page-Main_Page .bl-section-title {
    font-size: 12px;
    font-weight: 800;
    color: #9ca3af;
    letter-spacing: 0.12em;
    margin: 0 0 12px;
    text-transform: uppercase;
}

.page-Главная .bl-cards,
.page-Main_Page .bl-cards {
    display: block;
}

.page-Главная .bl-card,
.page-Main_Page .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;
}

.page-Главная .bl-card:last-child,
.page-Main_Page .bl-card:last-child {
    margin-bottom: 0;
}

.page-Главная .bl-card-icon,
.page-Main_Page .bl-card-icon {
    margin-bottom: 12px;
    height: auto;
}

.page-Главная .bl-card-title,
.page-Main_Page .bl-card-title {
    font-size: 22px;
    line-height: 1.2;
    font-weight: 800;
    color: #1f2937 !important;
    margin-bottom: 10px;
}

.page-Главная .bl-card-text,
.page-Main_Page .bl-card-text {
    font-size: 15px;
    line-height: 1.55;
    color: #667085 !important;
    margin-bottom: 14px;
    min-height: auto;
}

.page-Главная .bl-card-links,
.page-Main_Page .bl-card-links {
    border-top: 1px solid #f0f0f0;
    padding-top: 12px;
    margin-top: 4px;
}

.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 9px;
    font-size: 15px;
    line-height: 1.4;
}

.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-more,
.page-Main_Page .bl-card-more {
    margin-top: 8px;
    font-size: 14px;
}

.page-Главная .bl-school,
.page-Main_Page .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;
}

.page-Главная .bl-school-icon,
.page-Main_Page .bl-school-icon {
    margin-bottom: 10px;
}

.page-Главная .bl-school-title,
.page-Main_Page .bl-school-title {
    font-size: 23px;
    line-height: 1.2;
    font-weight: 800;
    color: #1f2937 !important;
    margin-bottom: 8px;
}

.page-Главная .bl-school-text,
.page-Main_Page .bl-school-text {
    font-size: 15px;
    line-height: 1.5;
    color: #667085 !important;
    margin-bottom: 12px;
}

.page-Главная .bl-school-tags,
.page-Main_Page .bl-school-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.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: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

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

@media (max-width: 380px) {
    .page-Главная .bl-hero-title,
    .page-Main_Page .bl-hero-title {
        font-size: 24px;
    }

    .page-Главная .bl-hero-subtitle,
    .page-Main_Page .bl-hero-subtitle {
        font-size: 15px;
    }

    .page-Главная .bl-card-title,
    .page-Main_Page .bl-card-title {
        font-size: 20px;
    }

    .page-Главная .bl-school-title,
    .page-Main_Page .bl-school-title {
        font-size: 21px;
    }
}

/* ===== Главная: карточки сервисов ===== */

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

/* Полностью убрать нижний блок сайта */
footer,
.mw-footer,
.minerva-footer {
    display: none !important;
}

/* вернуть кнопку "Ещё" / overflow menu в action bar */
.toggle-list__toggle,
.page-actions-menu .toggle-list__toggle,
.minerva-page-actions .toggle-list__toggle,
#page-secondary-actions .toggle-list__toggle {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: inherit !important;
    line-height: inherit !important;
    overflow: visible !important;
}

.toggle-list__toggle.mw-ui-icon:before,
.toggle-list__toggle.mw-ui-icon-element:before,
.page-actions-menu .toggle-list__toggle:before,
.minerva-page-actions .toggle-list__toggle:before,
#page-secondary-actions .toggle-list__toggle:before {
    font-family: 'MinervaNeueIcons' !important;
    font-size: 24px !important;
    line-height: 1 !important;
}

/* ===== Скрыть бургер в мобильной шапке ===== */

/* сама кнопка */
#mw-mf-main-menu-button,
.navigation-drawer .toggle-list__toggle,
.navigation-drawer .mw-ui-icon-wikimedia-menu-base20,
.navigation-drawer .mw-ui-icon-element {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* обёртка левой навигации */
.navigation-drawer {
    display: none !important;
    width: 0 !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* скрыть связанный checkbox и выезжающее меню */
#main-menu-input,
#mw-mf-page-left,
.main-menu-mask {
    display: none !important;
}

/* ===== Убрать центральный поиск на мобильной ===== */

.page-Главная .bl-hero-search,
.page-Main_Page .bl-hero-search {
    display: none !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;
}

.bl-card img {
    float: left;
    margin-right: 8px;
}

.bl-card h3 {
    display: inline-block;
    vertical-align: middle;
}