MediaWiki:Common.css: различия между версиями
Admin (обсуждение | вклад) |
Admin (обсуждение | вклад) |
||
| Строка 1: | Строка 1: | ||
| − | . | + | /* ===== БАРЛАЙВ HELP CENTER ===== */ |
| − | + | ||
| − | + | body.page-Main_Page #firstHeading, | |
| − | + | body.page-Заглавная_страница #firstHeading, | |
| − | + | body.page-Главная_страница #firstHeading { | |
| − | + | display: none; | |
| − | + | } | |
| + | |||
| + | body.page-Main_Page #mw-content-text, | ||
| + | body.page-Заглавная_страница #mw-content-text, | ||
| + | body.page-Главная_страница #mw-content-text { | ||
| + | padding-top: 0; | ||
| + | } | ||
| + | |||
| + | .bl-home { | ||
| + | font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; | ||
| + | color: #1e2a3a; | ||
| + | background: #f8f8fa; | ||
| + | margin: -1rem -1rem 0 -1rem; | ||
| + | } | ||
| + | |||
| + | .bl-hero { | ||
| + | padding: 56px 28px 64px; | ||
| + | text-align: center; | ||
| + | background: linear-gradient(135deg, #fff 0%, #fef5f4 100%); | ||
| + | border-bottom: 1px solid #e5e7eb; | ||
| + | } | ||
| + | |||
| + | .bl-hero h1 { | ||
| + | font-size: 34px; | ||
| + | font-weight: 600; | ||
| + | letter-spacing: -0.5px; | ||
| + | margin: 0 0 8px; | ||
| + | color: #1e2a3a; | ||
| + | } | ||
| + | |||
| + | .bl-hero p { | ||
| + | font-size: 15px; | ||
| + | color: #6b7280; | ||
| + | margin: 0 auto 28px; | ||
| + | max-width: 560px; | ||
| + | line-height: 1.6; | ||
| + | } | ||
| + | |||
| + | .bl-hero-search { | ||
| + | max-width: 520px; | ||
| + | margin: 0 auto; | ||
| + | background: #fff; | ||
| + | border-radius: 12px; | ||
| + | min-height: 48px; | ||
| + | display: flex; | ||
| + | align-items: center; | ||
| + | justify-content: center; | ||
| + | padding: 12px 16px; | ||
| + | border: 1px solid #e5e7eb; | ||
| + | box-shadow: 0 4px 24px rgba(0,0,0,.08); | ||
| + | font-size: 14px; | ||
| + | color: #9ca3af; | ||
| + | line-height: 1.5; | ||
| + | } | ||
| + | |||
| + | .bl-hero-search a { | ||
| + | color: inherit; | ||
| + | text-decoration: none; | ||
| + | display: block; | ||
| + | width: 100%; | ||
| + | } | ||
| + | |||
| + | .bl-chips { | ||
| + | display: flex; | ||
| + | justify-content: center; | ||
| + | flex-wrap: wrap; | ||
| + | gap: 8px; | ||
| + | margin-top: 20px; | ||
| + | } | ||
| + | |||
| + | .bl-chip { | ||
| + | display: inline-block; | ||
| + | background: #fef5f4; | ||
| + | border: 1px solid #e5e7eb; | ||
| + | border-radius: 999px; | ||
| + | padding: 6px 14px; | ||
| + | font-size: 12px; | ||
| + | font-weight: 500; | ||
| + | color: #E8544A; | ||
| + | transition: all .15s; | ||
| + | } | ||
| + | |||
| + | .bl-chip:hover { | ||
| + | background: #E8544A; | ||
| + | color: #fff; | ||
| + | border-color: #E8544A; | ||
| + | text-decoration: none; | ||
| + | } | ||
| + | |||
| + | .bl-main { | ||
| + | max-width: 1080px; | ||
| + | margin: 0 auto; | ||
| + | padding: 32px 28px 40px; | ||
| + | } | ||
| + | |||
| + | .bl-section-label { | ||
| + | font-size: 11px; | ||
| + | font-weight: 600; | ||
| + | letter-spacing: 2px; | ||
| + | text-transform: uppercase; | ||
| + | color: #6b7280; | ||
| + | margin-bottom: 16px; | ||
| + | } | ||
| + | |||
| + | .bl-grid { | ||
| + | display: grid; | ||
| + | grid-template-columns: repeat(4, 1fr); | ||
| + | gap: 12px; | ||
| + | margin-bottom: 32px; | ||
| + | } | ||
| + | |||
| + | .bl-card { | ||
| + | background: #fff; | ||
| + | border: 1px solid #e5e7eb; | ||
| + | border-radius: 12px; | ||
| + | padding: 20px; | ||
| + | box-shadow: 0 1px 3px rgba(0,0,0,.04); | ||
| + | transition: all .2s; | ||
| + | } | ||
| + | |||
| + | .bl-card:hover { | ||
| + | border-color: rgba(232,84,74,.3); | ||
| + | box-shadow: 0 4px 16px rgba(0,0,0,.08); | ||
| + | } | ||
| + | |||
| + | .bl-card-head { | ||
| + | display: flex; | ||
| + | align-items: center; | ||
| + | gap: 12px; | ||
| + | margin-bottom: 12px; | ||
| + | } | ||
| + | |||
| + | .bl-card-icon { | ||
| + | width: 40px; | ||
| + | height: 40px; | ||
| + | border-radius: 10px; | ||
| + | display: flex; | ||
| + | align-items: center; | ||
| + | justify-content: center; | ||
| + | font-size: 20px; | ||
| + | flex-shrink: 0; | ||
| + | } | ||
| + | |||
| + | .bl-card-icon-blue { background: #eff6ff; } | ||
| + | .bl-card-icon-amber { background: #fffbeb; } | ||
| + | .bl-card-icon-red { background: #fef2f2; } | ||
| + | .bl-card-icon-green { background: #f0fdf4; } | ||
| + | |||
| + | .bl-card-name { | ||
| + | font-size: 15px; | ||
| + | font-weight: 600; | ||
| + | color: #1e2a3a; | ||
| + | } | ||
| + | |||
| + | .bl-card p { | ||
| + | font-size: 13px; | ||
| + | color: #6b7280; | ||
| + | line-height: 1.6; | ||
| + | margin: 0 0 14px; | ||
} | } | ||
| − | . | + | .bl-card-links { |
| − | + | border-top: 1px solid #e5e7eb; | |
| − | + | padding-top: 12px; | |
} | } | ||
| − | . | + | .bl-card-links ul { |
| − | + | list-style: none; | |
| − | + | margin: 0; | |
| − | + | padding: 0; | |
} | } | ||
| − | . | + | .bl-card-links li { |
| − | + | margin: 0 0 6px; | |
| − | |||
} | } | ||
| − | . | + | .bl-card-links a { |
| − | + | font-size: 13px; | |
| − | + | color: #E8544A; | |
| − | + | text-decoration: none; | |
| − | |||
| − | |||
} | } | ||
| − | . | + | .bl-card-links a:hover { |
| − | + | text-decoration: underline; | |
| − | |||
| − | |||
| − | |||
| − | |||
} | } | ||
| − | . | + | |
| − | + | .bl-card-more { | |
| − | + | font-size: 12px; | |
| − | + | color: #6b7280; | |
| + | margin-top: 6px; | ||
} | } | ||
| − | . | + | .bl-school { |
| − | + | background: #fff; | |
| − | + | border: 1px solid #e5e7eb; | |
| − | + | 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 { | |
| − | + | width: 56px; | |
| − | + | height: 56px; | |
| − | + | border-radius: 12px; | |
| − | + | background: #fffbeb; | |
| + | display: flex; | ||
| + | align-items: center; | ||
| + | justify-content: center; | ||
| + | font-size: 24px; | ||
| + | flex-shrink: 0; | ||
} | } | ||
| + | .bl-school h3 { | ||
| + | font-size: 16px; | ||
| + | font-weight: 600; | ||
| + | color: #1e2a3a; | ||
| + | margin: 0 0 4px; | ||
| + | } | ||
| + | .bl-school p { | ||
| + | font-size: 13px; | ||
| + | color: #6b7280; | ||
| + | margin: 0 0 12px; | ||
| + | line-height: 1.6; | ||
| + | } | ||
| − | + | .bl-tags { | |
| − | + | display: flex; | |
| − | + | flex-wrap: wrap; | |
| − | + | gap: 8px; | |
| − | |||
} | } | ||
| − | . | + | .bl-tag { |
| − | + | display: inline-block; | |
| + | border: 1px solid #e5e7eb; | ||
| + | border-radius: 8px; | ||
| + | padding: 6px 12px; | ||
| + | font-size: 12px; | ||
| + | font-weight: 500; | ||
| + | text-decoration: none; | ||
| + | transition: all .15s; | ||
} | } | ||
| − | + | .bl-tag-hl { | |
| + | background: #fef5f4; | ||
| + | color: #E8544A; | ||
| + | } | ||
| − | + | .bl-tag-hl:hover { | |
| + | background: #E8544A; | ||
| + | color: #fff; | ||
| + | border-color: #E8544A; | ||
| + | text-decoration: none; | ||
| + | } | ||
| − | . | + | .bl-tag-dim { |
| − | + | background: #f4f4f6; | |
| − | + | color: #6b7280; | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
} | } | ||
| − | . | + | .bl-tag-dim:hover { |
| − | + | background: #e5e7eb; | |
| − | + | text-decoration: none; | |
| − | |||
| − | |||
| − | |||
} | } | ||
| − | + | @media (max-width: 1024px) { | |
| − | . | + | .bl-grid { |
| − | + | grid-template-columns: repeat(2, 1fr); | |
| − | + | } | |
} | } | ||
| − | + | @media (max-width: 640px) { | |
| − | . | + | .bl-grid { |
| − | + | grid-template-columns: 1fr; | |
| − | + | } | |
| − | + | ||
| − | . | + | .bl-school { |
| − | + | flex-direction: column; | |
| + | align-items: flex-start; | ||
| + | } | ||
| + | |||
| + | .bl-hero h1 { | ||
| + | font-size: 28px; | ||
| + | } | ||
} | } | ||
Версия от 16:24, 17 апреля 2026
/* ===== БАРЛАЙВ HELP CENTER ===== */
body.page-Main_Page #firstHeading,
body.page-Заглавная_страница #firstHeading,
body.page-Главная_страница #firstHeading {
display: none;
}
body.page-Main_Page #mw-content-text,
body.page-Заглавная_страница #mw-content-text,
body.page-Главная_страница #mw-content-text {
padding-top: 0;
}
.bl-home {
font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
color: #1e2a3a;
background: #f8f8fa;
margin: -1rem -1rem 0 -1rem;
}
.bl-hero {
padding: 56px 28px 64px;
text-align: center;
background: linear-gradient(135deg, #fff 0%, #fef5f4 100%);
border-bottom: 1px solid #e5e7eb;
}
.bl-hero h1 {
font-size: 34px;
font-weight: 600;
letter-spacing: -0.5px;
margin: 0 0 8px;
color: #1e2a3a;
}
.bl-hero p {
font-size: 15px;
color: #6b7280;
margin: 0 auto 28px;
max-width: 560px;
line-height: 1.6;
}
.bl-hero-search {
max-width: 520px;
margin: 0 auto;
background: #fff;
border-radius: 12px;
min-height: 48px;
display: flex;
align-items: center;
justify-content: center;
padding: 12px 16px;
border: 1px solid #e5e7eb;
box-shadow: 0 4px 24px rgba(0,0,0,.08);
font-size: 14px;
color: #9ca3af;
line-height: 1.5;
}
.bl-hero-search a {
color: inherit;
text-decoration: none;
display: block;
width: 100%;
}
.bl-chips {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 8px;
margin-top: 20px;
}
.bl-chip {
display: inline-block;
background: #fef5f4;
border: 1px solid #e5e7eb;
border-radius: 999px;
padding: 6px 14px;
font-size: 12px;
font-weight: 500;
color: #E8544A;
transition: all .15s;
}
.bl-chip:hover {
background: #E8544A;
color: #fff;
border-color: #E8544A;
text-decoration: none;
}
.bl-main {
max-width: 1080px;
margin: 0 auto;
padding: 32px 28px 40px;
}
.bl-section-label {
font-size: 11px;
font-weight: 600;
letter-spacing: 2px;
text-transform: uppercase;
color: #6b7280;
margin-bottom: 16px;
}
.bl-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 12px;
margin-bottom: 32px;
}
.bl-card {
background: #fff;
border: 1px solid #e5e7eb;
border-radius: 12px;
padding: 20px;
box-shadow: 0 1px 3px rgba(0,0,0,.04);
transition: all .2s;
}
.bl-card:hover {
border-color: rgba(232,84,74,.3);
box-shadow: 0 4px 16px rgba(0,0,0,.08);
}
.bl-card-head {
display: flex;
align-items: center;
gap: 12px;
margin-bottom: 12px;
}
.bl-card-icon {
width: 40px;
height: 40px;
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
font-size: 20px;
flex-shrink: 0;
}
.bl-card-icon-blue { background: #eff6ff; }
.bl-card-icon-amber { background: #fffbeb; }
.bl-card-icon-red { background: #fef2f2; }
.bl-card-icon-green { background: #f0fdf4; }
.bl-card-name {
font-size: 15px;
font-weight: 600;
color: #1e2a3a;
}
.bl-card p {
font-size: 13px;
color: #6b7280;
line-height: 1.6;
margin: 0 0 14px;
}
.bl-card-links {
border-top: 1px solid #e5e7eb;
padding-top: 12px;
}
.bl-card-links ul {
list-style: none;
margin: 0;
padding: 0;
}
.bl-card-links li {
margin: 0 0 6px;
}
.bl-card-links a {
font-size: 13px;
color: #E8544A;
text-decoration: none;
}
.bl-card-links a:hover {
text-decoration: underline;
}
.bl-card-more {
font-size: 12px;
color: #6b7280;
margin-top: 6px;
}
.bl-school {
background: #fff;
border: 1px solid #e5e7eb;
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 {
width: 56px;
height: 56px;
border-radius: 12px;
background: #fffbeb;
display: flex;
align-items: center;
justify-content: center;
font-size: 24px;
flex-shrink: 0;
}
.bl-school h3 {
font-size: 16px;
font-weight: 600;
color: #1e2a3a;
margin: 0 0 4px;
}
.bl-school p {
font-size: 13px;
color: #6b7280;
margin: 0 0 12px;
line-height: 1.6;
}
.bl-tags {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.bl-tag {
display: inline-block;
border: 1px solid #e5e7eb;
border-radius: 8px;
padding: 6px 12px;
font-size: 12px;
font-weight: 500;
text-decoration: none;
transition: all .15s;
}
.bl-tag-hl {
background: #fef5f4;
color: #E8544A;
}
.bl-tag-hl:hover {
background: #E8544A;
color: #fff;
border-color: #E8544A;
text-decoration: none;
}
.bl-tag-dim {
background: #f4f4f6;
color: #6b7280;
}
.bl-tag-dim:hover {
background: #e5e7eb;
text-decoration: none;
}
@media (max-width: 1024px) {
.bl-grid {
grid-template-columns: repeat(2, 1fr);
}
}
@media (max-width: 640px) {
.bl-grid {
grid-template-columns: 1fr;
}
.bl-school {
flex-direction: column;
align-items: flex-start;
}
.bl-hero h1 {
font-size: 28px;
}
}