| Строка 1: |
Строка 1: |
| − | /* ===== БАЗОВЫЕ СТИЛИ ИЗ СТАРОГО COMMON.CSS ===== */ | + | /* ===== СОХРАНЯЕМ ИЗ СТАРОГО COMMON.CSS ===== */ |
| − | | |
| − | body {
| |
| − | font-family: -apple-system, 'Manrope', 'Arial', 'sans-serif';
| |
| − | font-size: 100%;
| |
| − | line-height: 1.4;
| |
| − | -webkit-tap-highlight-color: rgba(0, 0, 0, 0.2);
| |
| − | }
| |
| − | | |
| − | .minerva-footer {
| |
| − | display: none !important;
| |
| − | }
| |
| − | | |
| − | .mw-ui-icon {
| |
| − | background-color: #ffffff;
| |
| − | border-radius: 14px !important;
| |
| − | }
| |
| | | | |
| | .minerva-header, | | .minerva-header, |
| Строка 23: |
Строка 7: |
| | } | | } |
| | | | |
| − | .header-container {
| |
| − | border-bottom: 1px solid #c8ccd1;
| |
| − | padding: 0 16px;
| |
| − | }
| |
| − |
| |
| − | .header .branding-box h1 img,
| |
| − | .header .branding-box a img {
| |
| − | height: 100px !important;
| |
| − | width: auto !important;
| |
| − | display: block !important;
| |
| − | margin-right: 20px;
| |
| − | margin-left: -15px;
| |
| − | }
| |
| − |
| |
| − | .header .search-box .search {
| |
| − | width: -webkit-fill-available;
| |
| − | }
| |
| − |
| |
| − | .overlay.search-overlay .header input {
| |
| − | width: 23.4375em !important;
| |
| − | }
| |
| − |
| |
| − | .client-nojs .search-box input:focus,
| |
| − | .search-box input:focus {
| |
| − | border-color: #ffffff !important;
| |
| − | box-shadow: 0 0 0 1px #ffffff, 0 1px 1px rgba(0, 0, 0, 0) !important;
| |
| − | }
| |
| − |
| |
| − | .search-box .search {
| |
| − | background-color: #ffffff;
| |
| − | background-position: left 6px center;
| |
| − | background-repeat: no-repeat;
| |
| − | background-size: 18px;
| |
| − | -webkit-appearance: none;
| |
| − | width: 100%;
| |
| − | margin-top: 0;
| |
| − | height: 2.25em;
| |
| − | border: 1px solid #ffffff;
| |
| − | border-radius: 14px;
| |
| − | box-shadow: 0 1px 1px rgba(0, 0, 0, 0);
| |
| − | outline: 0;
| |
| − | -webkit-transition: border-color 250ms, box-shadow 250ms;
| |
| − | -moz-transition: border-color 250ms, box-shadow 250ms;
| |
| − | transition: border-color 250ms, box-shadow 250ms;
| |
| − | }
| |
| − |
| |
| − | .header .branding-box img,
| |
| − | .header .branding-box h1 img,
| |
| − | .header .branding-box a img,
| |
| − | .mw-logo-icon,
| |
| − | .mw-logo-wordmark,
| |
| − | .branding-box img {
| |
| − | opacity: 1 !important;
| |
| − | filter: none !important;
| |
| − | mix-blend-mode: normal !important;
| |
| − | }
| |
| − |
| |
| − | .header .branding-box,
| |
| − | .branding-box,
| |
| − | .branding-box a,
| |
| − | .branding-box h1 {
| |
| − | opacity: 1 !important;
| |
| − | filter: none !important;
| |
| − | }
| |
| − |
| |
| − | /* Скрытие заголовка страниц */
| |
| | .mw-first-heading, | | .mw-first-heading, |
| | .page-heading, | | .page-heading, |
| Строка 98: |
Строка 16: |
| | } | | } |
| | | | |
| | + | /* ===== НОВАЯ ГЛАВНАЯ ===== */ |
| | | | |
| − | /* ===== ГЛАВНАЯ СТРАНИЦА БАЗЫ ЗНАНИЙ ===== */
| + | .bl-kb { |
| − | | |
| − | .bl-home { | |
| | font-family: -apple-system, 'Manrope', 'Arial', 'sans-serif'; | | font-family: -apple-system, 'Manrope', 'Arial', 'sans-serif'; |
| − | color: #1e2a3a; | + | color: #2D3748; |
| − | background: #f8f8fa; | + | background: #F8F9FA; |
| | margin: -1rem -1rem 0 -1rem; | | margin: -1rem -1rem 0 -1rem; |
| | } | | } |
| | | | |
| − | /* HERO */
| + | .bl-kb .container { |
| − | .bl-hero { | + | max-width: 1152px; |
| − | padding: 56px 28px 64px;
| + | margin: 0 auto; |
| − | text-align: center;
| + | padding: 0 1rem; |
| − | background: linear-gradient(135deg, rgb(110, 132, 247) 0%, #8ea2ff 100%);
| |
| − | border-bottom: 1px solid rgba(255,255,255,.18);
| |
| − | }
| |
| − | | |
| − | .bl-hero h1 {
| |
| − | font-size: 34px; | |
| − | font-weight: 600; | |
| − | letter-spacing: -0.5px;
| |
| − | margin: 0 0 8px; | |
| − | color: #ffffff;
| |
| | } | | } |
| | | | |
| − | .bl-hero p { | + | .bl-kb-top { |
| − | font-size: 15px; | + | padding: 2rem 0 1rem; |
| − | color: rgba(255,255,255,.88);
| |
| − | margin: 0 auto 28px;
| |
| − | max-width: 560px;
| |
| − | line-height: 1.6;
| |
| | } | | } |
| | | | |
| − | .bl-hero-search { | + | .bl-kb-search { |
| − | max-width: 520px;
| |
| − | margin: 0 auto;
| |
| | background: #ffffff; | | background: #ffffff; |
| | + | border: 1px solid #E2E8F0; |
| | border-radius: 12px; | | border-radius: 12px; |
| − | min-height: 48px; | + | padding: 1rem 1.25rem; |
| | + | box-shadow: 0 1px 3px rgba(0,0,0,0.04); |
| | display: flex; | | display: flex; |
| | + | flex-wrap: wrap; |
| | + | gap: 0.75rem; |
| | align-items: center; | | align-items: center; |
| − | justify-content: center; | + | justify-content: space-between; |
| − | padding: 12px 16px;
| + | } |
| − | border: 1px solid rgba(255,255,255,.25);
| + | |
| − | box-shadow: 0 4px 24px rgba(0,0,0,.08);
| + | .bl-kb-search-text { |
| − | font-size: 14px; | + | min-width: 220px; |
| − | color: #6b7280; | + | flex: 1 1 320px; |
| − | line-height: 1.5;
| |
| | } | | } |
| | | | |
| − | .bl-hero-search a { | + | .bl-kb-search-title { |
| − | color: inherit; | + | font-size: 1.5rem; |
| − | text-decoration: none; | + | font-weight: 700; |
| − | display: block; | + | margin: 0 0 0.35rem; |
| − | width: 100%; | + | color: #2D3748; |
| | } | | } |
| | | | |
| − | .bl-chips { | + | .bl-kb-search-desc { |
| − | display: flex; | + | font-size: 0.95rem; |
| − | justify-content: center; | + | color: #718096; |
| − | flex-wrap: wrap; | + | line-height: 1.55; |
| − | gap: 8px;
| + | margin: 0; |
| − | margin-top: 20px; | |
| | } | | } |
| | | | |
| − | .bl-chip { | + | .bl-kb-search-btn { |
| | display: inline-block; | | display: inline-block; |
| − | background: rgba(255,255,255,.14); | + | background: #C93846; |
| − | border: 1px solid rgba(255,255,255,.24); | + | color: #ffffff !important; |
| − | border-radius: 999px; | + | padding: 0.85rem 1.25rem; |
| − | padding: 6px 14px; | + | border-radius: 12px; |
| − | font-size: 12px; | + | font-weight: 600; |
| − | font-weight: 500; | + | text-decoration: none !important; |
| − | color: #ffffff; | + | white-space: nowrap; |
| − | transition: all .15s; | + | } |
| | + | |
| | + | .bl-kb-search-btn:hover { |
| | + | opacity: 0.92; |
| | + | text-decoration: none !important; |
| | + | } |
| | + | |
| | + | .bl-kb-popular { |
| | + | margin-top: 0.85rem; |
| | + | font-size: 0.92rem; |
| | + | color: #718096; |
| | + | line-height: 1.6; |
| | } | | } |
| | | | |
| − | .bl-chip:hover { | + | .bl-kb-popular a { |
| − | background: #ffffff;
| |
| | color: rgb(110, 132, 247); | | color: rgb(110, 132, 247); |
| − | border-color: #ffffff;
| |
| | text-decoration: none; | | text-decoration: none; |
| | } | | } |
| | | | |
| − | /* MAIN */
| + | .bl-kb-popular a:hover { |
| − | .bl-main { | + | text-decoration: underline; |
| − | max-width: 1080px; | |
| − | margin: 0 auto;
| |
| − | padding: 32px 28px 40px;
| |
| | } | | } |
| | | | |
| − | .bl-section-label { | + | .bl-kb-section-title { |
| − | font-size: 11px; | + | font-size: 1.75rem; |
| − | font-weight: 600; | + | font-weight: 700; |
| − | letter-spacing: 2px; | + | text-align: center; |
| − | text-transform: uppercase; | + | margin: 2.5rem 0 2rem; |
| − | color: #6b7280; | + | color: #2D3748; |
| − | margin-bottom: 16px;
| |
| | } | | } |
| | | | |
| − | /* GRID */
| + | .bl-kb-cards { |
| − | .bl-grid { | |
| | display: grid; | | display: grid; |
| | grid-template-columns: repeat(4, 1fr); | | grid-template-columns: repeat(4, 1fr); |
| − | gap: 12px; | + | gap: 1.25rem; |
| − | margin-bottom: 32px;
| |
| | } | | } |
| | | | |
| − | .bl-card { | + | .bl-kb-card { |
| | + | display: block; |
| | background: #ffffff; | | background: #ffffff; |
| − | border: 1px solid #e5e7eb; | + | border: 2px solid #E2E8F0; |
| | border-radius: 12px; | | border-radius: 12px; |
| − | padding: 20px; | + | padding: 1.5rem; |
| − | box-shadow: 0 1px 3px rgba(0,0,0,.04); | + | text-align: center; |
| | + | text-decoration: none !important; |
| | + | color: inherit !important; |
| | transition: all .2s; | | transition: all .2s; |
| | } | | } |
| | | | |
| − | .bl-card:hover { | + | .bl-kb-card:hover { |
| − | border-color: rgba(110, 132, 247, .35); | + | border-color: rgb(110, 132, 247); |
| − | box-shadow: 0 4px 16px rgba(0,0,0,.08); | + | background: rgba(113,132,247,0.08); |
| | + | box-shadow: 0 4px 16px rgba(0,0,0,0.08); |
| | + | text-decoration: none !important; |
| | } | | } |
| | | | |
| − | .bl-card-head { | + | .bl-kb-card-icon { |
| − | display: flex; | + | width: 88px; |
| − | align-items: center; | + | height: 88px; |
| − | gap: 12px;
| + | margin: 0 auto 1rem; |
| − | margin-bottom: 12px; | + | border-radius: 18px; |
| − | }
| |
| − | | |
| − | .bl-card-icon {
| |
| − | width: 40px;
| |
| − | height: 40px;
| |
| − | border-radius: 10px; | |
| | display: flex; | | display: flex; |
| | align-items: center; | | align-items: center; |
| | justify-content: center; | | justify-content: center; |
| − | font-size: 20px; | + | font-size: 2rem; |
| − | flex-shrink: 0; | + | background: #EDF2F7; |
| | } | | } |
| | | | |
| − | .bl-card-icon-blue { background: #eff3ff; } | + | .bl-kb-card h3 { |
| − | .bl-card-icon-amber { background: #fffbeb; }
| + | font-size: 1.2rem; |
| − | .bl-card-icon-red { background: #fef2f2; }
| + | font-weight: 700; |
| − | .bl-card-icon-green { background: #f0fdf4; }
| + | margin: 0 0 0.5rem; |
| − | | |
| − | .bl-card-name {
| |
| − | font-size: 15px; | |
| − | font-weight: 600; | |
| − | color: #1e2a3a; | |
| | } | | } |
| | | | |
| − | .bl-card p { | + | .bl-kb-card p { |
| − | font-size: 13px; | + | font-size: 0.9rem; |
| − | color: #6b7280; | + | color: #718096; |
| − | line-height: 1.6; | + | line-height: 1.55; |
| − | margin: 0 0 14px; | + | margin: 0; |
| | } | | } |
| | | | |
| − | .bl-card-links { | + | .bl-kb-tabs { |
| − | border-top: 1px solid #e5e7eb; | + | display: flex; |
| − | padding-top: 12px; | + | gap: 0.25rem; |
| | + | background: #EDF2F7; |
| | + | border-radius: 12px; |
| | + | padding: 0.25rem; |
| | + | margin: 2rem 0 1.5rem; |
| | } | | } |
| | | | |
| − | .bl-card-links ul { | + | .bl-kb-tab { |
| − | list-style: none; | + | flex: 1; |
| − | margin: 0; | + | padding: 0.85rem 1rem; |
| − | padding: 0; | + | border-radius: 10px; |
| | + | font-size: 0.95rem; |
| | + | font-weight: 600; |
| | + | text-align: center; |
| | + | background: transparent; |
| | + | color: #718096 !important; |
| | + | text-decoration: none !important; |
| | } | | } |
| | | | |
| − | .bl-card-links li { | + | .bl-kb-tab.active { |
| − | margin: 0 0 6px; | + | background: #ffffff; |
| | + | color: #2D3748 !important; |
| | + | box-shadow: 0 1px 3px rgba(0,0,0,0.08); |
| | } | | } |
| | | | |
| − | .bl-card-links a { | + | .bl-kb-hot-title { |
| − | font-size: 13px; | + | font-size: 1.5rem; |
| | + | font-weight: 700; |
| | color: rgb(110, 132, 247); | | color: rgb(110, 132, 247); |
| − | text-decoration: none; | + | margin: 0 0 1.5rem; |
| | } | | } |
| | | | |
| − | .bl-card-links a:hover { | + | .bl-kb-hot-grid { |
| − | text-decoration: underline; | + | display: grid; |
| | + | grid-template-columns: repeat(3, 1fr); |
| | + | gap: 1rem; |
| | + | margin-bottom: 2.5rem; |
| | } | | } |
| | | | |
| − | .bl-card-more { | + | .bl-kb-hot-card { |
| − | font-size: 12px; | + | display: block; |
| − | color: #6b7280; | + | background: #ffffff; |
| − | margin-top: 6px; | + | border: 1px solid #E2E8F0; |
| | + | border-radius: 12px; |
| | + | padding: 1.25rem; |
| | + | box-shadow: 0 1px 3px rgba(0,0,0,0.04); |
| | + | text-decoration: none !important; |
| | + | color: inherit !important; |
| | + | transition: box-shadow .2s, transform .15s; |
| | } | | } |
| | | | |
| − | /* SCHOOL */
| + | .bl-kb-hot-card:hover { |
| − | .bl-school { | + | box-shadow: 0 4px 12px rgba(0,0,0,0.10); |
| − | background: #ffffff;
| + | transform: translateY(-1px); |
| − | border: 1px solid #e5e7eb;
| + | text-decoration: none !important; |
| − | border-radius: 12px;
| |
| − | padding: 24px;
| |
| − | display: flex;
| |
| − | align-items: center;
| |
| − | gap: 20px;
| |
| − | box-shadow: 0 1px 3px rgba(0,0,0,.04); | |
| | } | | } |
| | | | |
| − | .bl-school-icon { | + | .bl-kb-hot-cat { |
| − | width: 56px; | + | font-size: 0.75rem; |
| − | height: 56px;
| + | font-weight: 700; |
| − | border-radius: 12px;
| + | color: rgb(110, 132, 247); |
| − | background: #eff3ff; | + | text-transform: uppercase; |
| − | display: flex;
| + | letter-spacing: 0.05em; |
| − | align-items: center;
| |
| − | justify-content: center; | |
| − | font-size: 24px; | |
| − | flex-shrink: 0; | |
| | } | | } |
| | | | |
| − | .bl-school h3 { | + | .bl-kb-hot-card h3 { |
| − | font-size: 16px; | + | margin: 0.55rem 0 0; |
| | + | font-size: 1rem; |
| | font-weight: 600; | | font-weight: 600; |
| − | color: #1e2a3a; | + | color: #2D3748; |
| − | margin: 0 0 4px;
| |
| | } | | } |
| | | | |
| − | .bl-school p { | + | .bl-kb-hot-card:hover h3 { |
| − | font-size: 13px;
| + | color: #C93846; |
| − | color: #6b7280; | |
| − | margin: 0 0 12px;
| |
| − | line-height: 1.6;
| |
| | } | | } |
| | | | |
| − | .bl-tags { | + | .bl-kb-cta { |
| − | display: flex; | + | background: #ffffff; |
| − | flex-wrap: wrap; | + | border: 1px solid #E2E8F0; |
| − | gap: 8px; | + | border-radius: 12px; |
| | + | padding: 2rem; |
| | + | text-align: center; |
| | + | margin: 2.5rem 0; |
| | + | box-shadow: 0 1px 3px rgba(0,0,0,0.04); |
| | } | | } |
| | | | |
| − | .bl-tag { | + | .bl-kb-cta h2 { |
| − | display: inline-block;
| + | font-size: 1.25rem; |
| − | border: 1px solid #e5e7eb;
| + | font-weight: 700; |
| − | border-radius: 8px;
| + | margin: 0 0 0.75rem; |
| − | padding: 6px 12px;
| + | color: #2D3748; |
| − | font-size: 12px; | |
| − | font-weight: 500; | |
| − | text-decoration: none; | |
| − | transition: all .15s; | |
| | } | | } |
| | | | |
| − | .bl-tag-hl { | + | .bl-kb-cta p { |
| − | background: #eff3ff; | + | color: #718096; |
| − | color: rgb(110, 132, 247); | + | margin: 0 0 1.25rem; |
| | + | line-height: 1.6; |
| | } | | } |
| | | | |
| − | .bl-tag-hl:hover { | + | .bl-kb-cta-btn { |
| − | background: rgb(110, 132, 247); | + | display: inline-block; |
| − | color: #ffffff; | + | background: #C93846; |
| − | border-color: rgb(110, 132, 247); | + | color: #ffffff !important; |
| − | text-decoration: none; | + | padding: 0.85rem 2rem; |
| | + | border-radius: 12px; |
| | + | font-weight: 700; |
| | + | font-size: 1rem; |
| | + | text-decoration: none !important; |
| | } | | } |
| | | | |
| − | .bl-tag-dim { | + | .bl-kb-cta-btn:hover { |
| − | background: #f4f4f6; | + | opacity: 0.92; |
| − | color: #6b7280; | + | text-decoration: none !important; |
| | } | | } |
| | | | |
| − | .bl-tag-dim:hover { | + | .bl-kb-footer { |
| − | background: #e5e7eb; | + | border-top: 1px solid #E2E8F0; |
| − | text-decoration: none; | + | padding: 1.5rem 0 2rem; |
| | + | text-align: center; |
| | + | font-size: 0.875rem; |
| | + | color: #718096; |
| | } | | } |
| | | | |
| − | /* RESPONSIVE */
| + | @media (max-width: 900px) { |
| − | @media (max-width: 1024px) { | + | .bl-kb-cards { |
| − | .bl-grid { | + | grid-template-columns: repeat(2, 1fr); |
| | + | } |
| | + | |
| | + | .bl-kb-hot-grid { |
| | grid-template-columns: repeat(2, 1fr); | | grid-template-columns: repeat(2, 1fr); |
| | } | | } |
| Строка 373: |
Строка 293: |
| | | | |
| | @media (max-width: 640px) { | | @media (max-width: 640px) { |
| − | .bl-grid { | + | .bl-kb-cards, |
| | + | .bl-kb-hot-grid { |
| | grid-template-columns: 1fr; | | grid-template-columns: 1fr; |
| | } | | } |
| | | | |
| − | .bl-school { | + | .bl-kb-search { |
| − | flex-direction: column;
| |
| | align-items: flex-start; | | align-items: flex-start; |
| | } | | } |
| | | | |
| − | .bl-hero h1 { | + | .bl-kb-tabs { |
| − | font-size: 28px; | + | flex-direction: column; |
| | } | | } |
| | } | | } |