Изменения

нет описания правки
Строка 1: Строка 1: −
.minerva-user-navigation {
+
/* ===== Главная страница Центра помощи ===== */
     display: flex;
+
 
     min-width: 7em;
+
.bl-help-home {
     min-height: 5em;
+
    background: #f3f4f6;
     position: relative;
+
    margin: -1em -1em 0 -1em;
     align-items: center;
+
    padding-bottom: 32px;
     justify-content: center;
+
    font-family: -apple-system, 'Manrope', 'Arial', sans-serif;
 +
}
 +
 
 +
.bl-hero {
 +
    background: #fff7f7;
 +
    padding: 34px 16px 28px;
 +
    text-align: center;
 +
}
 +
 
 +
.bl-hero-inner {
 +
    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;
 
}
 
}
   −
.mw-ui-icon {
+
.bl-card-links li::before {
background-color: #ffffff;
+
    content: "› ";
border-radius: 14px !important;
+
    color: #f1a4a4;
 +
    font-weight: 700;
 
}
 
}
   −
.header-container.header-chrome {
+
.bl-card-links a {
     /* background-color: #eaecf0; */
+
     color: #e58c8c !important;
     /* border: 0; */
+
     text-decoration: none;
     box-shadow: inset 0px 0px 0px 100px rgb(110 132 247);
+
     font-weight: 600;
 
}
 
}
   −
.header-container {
+
.bl-card-links a:hover {
     border-bottom: 1px solid #c8ccd1;
+
     text-decoration: underline;
    padding: 0 16px;
   
}
 
}
   −
.header .branding-box h1 img, .header .branding-box a img {
+
.bl-card-more {
    height: 100px !important;
+
     margin-top: 10px;
    width: auto !important;
+
     font-size: 15px;
    display: block !important;
  −
     margin-right: 20px;
  −
     margin-left: -15px;
   
}
 
}
   −
.header .search-box .search {
+
.bl-card-more a {
width: -webkit-fill-available;
+
    color: #6b7280 !important;
     }
+
     text-decoration: none;
   
  −
.overlay.search-overlay .header input {
  −
    width: 23.4375em !important;
   
}
 
}
.client-nojs .search-box input:focus,
+
 
.search-box input:focus {
+
.bl-card-more a:hover {
     border-color: #ffffff !important;
+
     text-decoration: underline;
    box-shadow: 0 0 0 1px #ffffff, 0 1px 1px rgba(0, 0, 0, 0) !important;
   
}
 
}
   −
.search-box .search {
+
.bl-school {
     background-color: #ffffff;
+
     max-width: 1120px;
     background-position: left 6px center;
+
     margin: 24px auto 0;
     background-repeat: no-repeat;
+
     background: #ffffff;
     background-size: 18px;
+
     border: 1px solid #e5e7eb;
     -webkit-appearance: none;
+
     border-radius: 18px;
     width: 100%;
+
     box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
     margin-top: 0;
+
     padding: 24px;
     height: 2.25em;
+
     display: flex;
     border: 1px solid #ffffff;
+
     gap: 18px;
     border-radius: 14px;
+
     align-items: flex-start;
 +
}
   −
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0);
+
.bl-school-icon {
     outline: 0;
+
     flex: 0 0 84px;
    -webkit-transition: border-color 250ms, box-shadow 250ms;
  −
    -moz-transition: border-color 250ms,box-shadow 250ms;
  −
    transition: border-color 250ms, box-shadow 250ms;
   
}
 
}
    +
.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;
 +
}
   −
body {
+
.bl-school-tags {
    font-family: -apple-system, 'Manrope', 'Arial', 'sans-serif';
+
     display: flex;
     font-size: 100%;
+
     flex-wrap: wrap;
     line-height: 1.4;
+
     gap: 10px;
     -webkit-tap-highlight-color: rgba(0, 0, 0, 0.2);
   
}
 
}
   −
.minerva-footer {
+
.bl-tag {
     display: none !important;
+
     display: inline-block;
 
}
 
}
   −
#hde-contact-container #hde-contact-list li:nth-child(3) {background: url('https://wiki.barlane.ru/resources/assets/noavatar.svg')!important; background-size: cover !important;}
+
.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;
 +
}
   −
#hde-contact-container #hde-contact-list li:nth-child(3) svg {display: none !important;}
+
.bl-tag a:hover {
 +
    text-decoration: none;
 +
    filter: brightness(0.98);
 +
}
   −
.header .branding-box img,
+
.bl-tag-muted a {
.header .branding-box h1 img,
+
     background: #f3f4f6;
.header .branding-box a img,
+
     border-color: #e5e7eb;
.mw-logo-icon,
+
     color: #6b7280 !important;
.mw-logo-wordmark,
  −
.branding-box img {
  −
     opacity: 1 !important;
  −
     filter: none !important;
  −
     mix-blend-mode: normal !important;
   
}
 
}
   −
.header .branding-box,
+
/* Убираем стандартные отступы wiki внутри кастомных блоков */
.branding-box,
+
.bl-help-home p,
.branding-box a,
+
.bl-help-home ul,
.branding-box h1 {
+
.bl-help-home li {
     opacity: 1 !important;
+
     margin-top: 0;
    filter: none !important;
   
}
 
}
   −
.minerva-header,
+
/* Адаптив */
.header-container.header-chrome {
+
@media (max-width: 1200px) {
    background-color: rgb(110, 132, 247) !important;
+
    .bl-cards {
     box-shadow: inset 0 0 0 100px rgb(110, 132, 247) !important;
+
        grid-template-columns: repeat(2, minmax(0, 1fr));
 +
     }
 
}
 
}
   −
.mw-first-heading,
+
@media (max-width: 768px) {
.page-heading,
+
    .bl-help-home {
#content .mw-first-heading,
+
        margin-left: -0.75em;
#content .page-heading,
+
        margin-right: -0.75em;
header + .pre-content h1,
+
    }
.pre-content h1 {
+
 
     display: none !important;
+
    .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;
 +
    }
 
}
 
}