MediaWiki:Citizen.css: различия между версиями
Страница интерфейса MediaWiki
Дополнительные действия
Admin (обсуждение | вклад) Нет описания правки |
Admin (обсуждение | вклад) Нет описания правки |
||
| (не показаны 32 промежуточные версии этого же участника) | |||
| Строка 1: | Строка 1: | ||
/* | /* ========================================================= | ||
Ethereal Portal Wiki / MediaWiki Citizen | |||
Главная + общие стили | |||
========================================================= */ | |||
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Cormorant+Garamond:wght@500;600;700&display=swap'); | |||
.ep- | /* ========================================================= | ||
1. ПЕРЕМЕННЫЕ | |||
========================================================= */ | |||
:root{ | |||
--ep-ink: #2a2117; | |||
--ep-ink-soft: rgba(42, 33, 23, 0.82); | |||
--ep-ink-muted: rgba(42, 33, 23, 0.68); | |||
--ep-paper: rgba(255, 252, 246, 0.92); | |||
--ep-paper-2: rgba(244, 229, 199, 0.88); | |||
--ep-paper-soft: rgba(255, 249, 239, 0.88); | |||
--ep-line: rgba(132, 95, 42, 0.18); | |||
--ep-line-soft: rgba(132, 95, 42, 0.10); | |||
--ep-gold-text: #6a4b24; | |||
--ep-gold-text-dark: #4e3519; | |||
--ep-gold-border: rgba(145, 108, 52, 0.18); | |||
--ep-gold-glow: rgba(188,141,74,0.18); | |||
--ep-shadow: 0 14px 34px rgba(0, 0, 0, 0.10); | |||
--ep-shadow-soft: 0 10px 24px rgba(0, 0, 0, 0.08); | |||
--ep-shadow-hover: 0 18px 38px rgba(0, 0, 0, 0.14); | |||
--ep-inset: inset 0 1px 0 rgba(255,255,255,0.42); | |||
--ep-radius-xl: 24px; | |||
--ep-radius-lg: 20px; | |||
--ep-radius-md: 16px; | |||
--ep-radius-pill: 999px; | |||
--ep-content-max: 1320px; | |||
} | |||
/* ========================================================= | |||
2. БАЗОВАЯ ТИПОГРАФИКА | |||
========================================================= */ | |||
html, | |||
body, | |||
.mw-body, | |||
.citizen-body-container, | |||
.vector-body, | |||
body.skin-citizen, | |||
.mw-parser-output, | |||
.mw-parser-output p, | |||
.mw-parser-output li, | |||
.mw-parser-output td, | |||
.mw-parser-output th, | |||
.mw-parser-output blockquote, | |||
.mw-parser-output figcaption{ | |||
font-family: 'Inter', system-ui, sans-serif; | |||
color: var(--ep-ink-soft); | |||
} | |||
h1, h2, h3, h4, h5, h6, | |||
.firstHeading, | |||
.mw-page-title-main{ | |||
font-family: 'Cormorant Garamond', serif !important; | |||
font-style: normal; | |||
color: var(--ep-ink); | |||
letter-spacing: 0.01em; | |||
} | |||
.mw-parser-output h1, | |||
.firstHeading{ | |||
font-size: 48px; | |||
line-height: 1.02; | |||
font-weight: 700; | |||
} | |||
.mw-parser-output h2{ | |||
font-size: 36px; | |||
line-height: 1.08; | |||
font-weight: 700; | |||
margin-top: 1.1em; | |||
color: var(--ep-ink) !important; | |||
border-bottom-color: rgba(132,95,42,0.16) !important; | |||
} | |||
.mw-parser-output h3{ | |||
font-size: 28px; | |||
line-height: 1.12; | |||
font-weight: 700; | |||
color: var(--ep-ink) !important; | |||
} | |||
.mw-parser-output h4{ | |||
font-size: 22px; | |||
line-height: 1.18; | |||
font-weight: 700; | |||
color: var(--ep-ink) !important; | |||
} | } | ||
.mw-parser-output p, | |||
.mw-parser-output li{ | |||
font-size: 17px; | |||
line-height: 1.72; | |||
} | |||
/* ========================================================= | |||
3. ФОН И ОБОЛОЧКА | |||
========================================================= */ | |||
html, | html, | ||
body { | body{ | ||
background: url("/resources/assets/ep-bg.jpg") center top / cover no-repeat fixed !important; | background: url("/resources/assets/ep-bg.jpg") center top / cover no-repeat fixed !important; | ||
} | } | ||
body::before { | body::before{ | ||
content: ""; | content: ""; | ||
position: fixed; | position: fixed; | ||
| Строка 25: | Строка 120: | ||
backdrop-filter: blur(3px); | backdrop-filter: blur(3px); | ||
-webkit-backdrop-filter: blur(3px); | -webkit-backdrop-filter: blur(3px); | ||
background: rgba(255, 255, 255, 0.08); | background: rgba(255,255,255,0.08); | ||
} | } | ||
.mw-page-container, | .mw-page-container, | ||
.mw-body, | .mw-body, | ||
| Строка 35: | Строка 129: | ||
.citizen-page-header, | .citizen-page-header, | ||
.citizen-featured-actions, | .citizen-featured-actions, | ||
.main-page-wrapper { | .main-page-wrapper{ | ||
background: transparent !important; | background: transparent !important; | ||
box-shadow: none !important; | box-shadow: none !important; | ||
border: 0 !important; | border: 0 !important; | ||
position: relative; | position: relative; | ||
z-index: 1; | z-index: 1; | ||
} | } | ||
/* | .skin-citizen .mw-body, | ||
.skin-citizen #content{ | |||
border-radius: var(--ep-radius-lg); | |||
} | |||
/* ========================================================= | |||
4. ОБЫЧНЫЕ СТРАНИЦЫ | |||
========================================================= */ | |||
body:not(.page-Main_Page):not(.page-Заглавная_страница) .mw-parser-output{ | |||
padding: 26px 28px; | |||
border-radius: var(--ep-radius-lg); | |||
background: linear-gradient(180deg, rgba(255,253,248,0.92), rgba(244,229,199,0.84)); | |||
border: 1px solid var(--ep-line); | |||
box-shadow: var(--ep-shadow-soft), var(--ep-inset); | |||
} | |||
.mw-parser-output table.wikitable{ | |||
background: rgba(255,251,243,0.92); | |||
border: 1px solid var(--ep-line) !important; | |||
overflow: hidden; | |||
border-radius: 14px; | |||
} | |||
.mw-parser-output table.wikitable th{ | |||
background: rgba(238,224,194,0.88); | |||
color: var(--ep-ink); | |||
border-color: rgba(132,95,42,0.16) !important; | |||
} | |||
.mw-parser-output table.wikitable td{ | |||
border-color: rgba(132,95,42,0.12) !important; | |||
} | |||
.mw-parser-output blockquote{ | |||
margin: 1.2em 0; | |||
padding: 14px 18px; | |||
background: rgba(250,241,222,0.78); | |||
border-left: 4px solid rgba(184,139,66,0.55); | |||
color: var(--ep-ink-soft); | |||
border-radius: 14px; | |||
} | |||
.mw-parser-output pre{ | |||
padding: 14px 16px; | |||
background: rgba(48, 52, 60, 0.90) !important; | |||
color: #f5efe3 !important; | |||
border: 1px solid rgba(255,255,255,0.10); | |||
border-radius: 12px; | |||
overflow: auto; | |||
} | |||
.mw-parser-output code, | |||
.mw-parser-output .mw-code{ | |||
font-family: ui-monospace, SFMono-Regular, Consolas, monospace !important; | |||
} | |||
.mw-parser-output code{ | |||
background: rgba(120,85,35,0.08) !important; | |||
color: var(--ep-ink); | |||
border-radius: 8px; | |||
padding: 0.14em 0.36em; | |||
} | |||
/* ========================================================= | |||
5. ССЫЛКИ И ФУТЕР | |||
========================================================= */ | |||
a{ | |||
color: #7a5423; | |||
text-decoration-color: rgba(122,84,35,0.28); | |||
text-underline-offset: 0.14em; | |||
} | |||
a:hover{ | |||
color: #4d3317; | |||
text-decoration-color: rgba(77,51,23,0.45); | |||
} | |||
#footer, | |||
.mw-footer{ | |||
background: rgba(236,242,255,0.84) !important; | |||
backdrop-filter: blur(6px); | |||
-webkit-backdrop-filter: blur(6px); | |||
border-top: 1px solid rgba(120,85,35,0.10); | |||
} | |||
.page-Main_Page .mw-portlet#p-toc, | .page-Main_Page .mw-portlet#p-toc, | ||
.page-Заглавная_страница .mw-portlet#p-toc { | .page-Заглавная_страница .mw-portlet#p-toc{ | ||
display: none !important; | display: none !important; | ||
} | } | ||
/* ---------- | /* ========================================================= | ||
.ep-hero { | 6. ГЛАВНАЯ: КОНТЕЙНЕР | ||
padding: | ========================================================= */ | ||
.page-Main_Page .ep-home, | |||
.page-Заглавная_страница .ep-home{ | |||
max-width: var(--ep-content-max); | |||
margin: 0 auto; | |||
position: relative; | |||
z-index: 2; | |||
} | |||
/* ========================================================= | |||
7. ГЛАВНАЯ: HERO | |||
========================================================= */ | |||
.page-Main_Page .ep-hero, | |||
.page-Заглавная_страница .ep-hero{ | |||
padding: 30px 20px 18px; | |||
text-align: center; | text-align: center; | ||
position: relative; | position: relative; | ||
| Строка 58: | Строка 249: | ||
} | } | ||
.ep-kicker { | .page-Main_Page .ep-kicker, | ||
.page-Заглавная_страница .ep-kicker{ | |||
display: inline-block; | display: inline-block; | ||
padding: | padding: 8px 16px; | ||
border-radius: | border-radius: var(--ep-radius-pill); | ||
background: rgba(246, 235, 214, 0. | background: rgba(246,235,214,0.90); | ||
border: 1px solid rgba(120, 85, 35, 0.18); | border: 1px solid rgba(120,85,35,0.18); | ||
color: #866238; | color: #866238; | ||
font-size: | font-family: 'Cormorant Garamond', serif !important; | ||
letter-spacing: 0. | font-size: 14px; | ||
font-weight: 600; | |||
line-height: 1.1; | |||
letter-spacing: 0.10em; | |||
text-transform: uppercase; | text-transform: uppercase; | ||
margin-bottom: | margin-bottom: 18px; | ||
box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06); | box-shadow: 0 8px 18px rgba(0,0,0,0.06); | ||
} | } | ||
.ep- | .page-Main_Page .ep-hero-logo, | ||
.page-Заглавная_страница .ep-hero-logo{ | |||
width: min(780px, 100%); | |||
aspect-ratio: 780 / 180; | |||
margin: 0 auto 18px; | |||
background: url("/resources/assets/ep-hero.png") center center / contain no-repeat; | |||
} | } | ||
.ep-subtitle { | .page-Main_Page .ep-subtitle, | ||
max-width: | .page-Заглавная_страница .ep-subtitle{ | ||
max-width: 980px; | |||
margin: 0 auto; | margin: 0 auto; | ||
padding: | padding: 18px 22px; | ||
font-size: 20px; | font-size: 20px; | ||
line-height: 1. | line-height: 1.65; | ||
color: | color: var(--ep-ink-soft) !important; | ||
background: | background: var(--ep-paper-soft) !important; | ||
border: 1px solid rgba(120, 85, 35, 0.14); | border: 1px solid rgba(120,85,35,0.14) !important; | ||
border-radius: 18px; | border-radius: 18px; | ||
box-shadow: | box-shadow: var(--ep-shadow-soft) !important; | ||
backdrop-filter: blur(6px); | |||
-webkit-backdrop-filter: blur(6px); | |||
} | } | ||
.page-Main_Page .ep-subtitle pre, | |||
.ep-subtitle | .page-Main_Page .ep-subtitle code, | ||
.ep- | .page-Main_Page .ep-subtitle .mw-code, | ||
.ep- | .page-Main_Page .ep-subtitle p, | ||
.ep-subtitle | .page-Заглавная_страница .ep-subtitle pre, | ||
.ep- | .page-Заглавная_страница .ep-subtitle code, | ||
. | .page-Заглавная_страница .ep-subtitle .mw-code, | ||
.page-Заглавная_страница .ep-subtitle p{ | |||
margin: 0 !important; | margin: 0 !important; | ||
padding: 0 !important; | padding: 0 !important; | ||
| Строка 106: | Строка 304: | ||
border: 0 !important; | border: 0 !important; | ||
box-shadow: none !important; | box-shadow: none !important; | ||
color: inherit !important; | |||
font: inherit !important; | |||
white-space: normal !important; | white-space: normal !important; | ||
} | } | ||
/* ---------- | /* ========================================================= | ||
.ep-grid { | 8. ГЛАВНАЯ: ПОДЗАГОЛОВКИ СЕКЦИЙ | ||
========================================================= */ | |||
.page-Main_Page .ep-section-heading, | |||
.page-Заглавная_страница .ep-section-heading{ | |||
margin: 0 0 14px; | |||
font-family: 'Cormorant Garamond', serif !important; | |||
font-size: 34px; | |||
line-height: 1.05; | |||
font-weight: 700; | |||
color: var(--ep-ink); | |||
letter-spacing: 0.01em; | |||
} | |||
/* ========================================================= | |||
9. ГЛАВНАЯ: БЫСТРЫЙ СТАРТ | |||
========================================================= */ | |||
.page-Main_Page .ep-quickstart, | |||
.page-Заглавная_страница .ep-quickstart{ | |||
margin: 16px 0 28px; | |||
padding: 22px 24px; | |||
border-radius: 22px; | |||
background: linear-gradient(180deg, rgba(255,253,248,0.92), rgba(244,229,199,0.84)); | |||
border: 1px solid var(--ep-line); | |||
box-shadow: var(--ep-shadow-soft), var(--ep-inset); | |||
position: relative; | |||
overflow: hidden; | |||
} | |||
.page-Main_Page .ep-quickstart::before, | |||
.page-Заглавная_страница .ep-quickstart::before{ | |||
content: ""; | |||
position: absolute; | |||
inset: 0; | |||
background: | |||
radial-gradient(circle at top left, rgba(255,255,255,0.28), transparent 28%), | |||
radial-gradient(circle at bottom right, rgba(188,141,74,0.08), transparent 32%); | |||
pointer-events: none; | |||
} | |||
.page-Main_Page .ep-quickstart__links, | |||
.page-Заглавная_страница .ep-quickstart__links{ | |||
display: flex; | |||
flex-wrap: wrap; | |||
gap: 14px; | |||
position: relative; | |||
z-index: 1; | |||
font-size: 0; | |||
} | |||
/* ========================================================= | |||
10. ГЛАВНАЯ: СЕТКА И КАРТОЧКИ | |||
========================================================= */ | |||
.page-Main_Page .ep-grid, | |||
.page-Заглавная_страница .ep-grid{ | |||
display: grid; | display: grid; | ||
grid-template-columns: repeat(2, minmax(0, 1fr)); | grid-template-columns: repeat(2, minmax(0, 1fr)); | ||
gap: | gap: 24px; | ||
margin: | margin: 0 0 18px; | ||
position: relative; | position: relative; | ||
z-index: 2; | z-index: 2; | ||
} | } | ||
.page-Main_Page .ep-card, | |||
.ep-card { | .page-Заглавная_страница .ep-card{ | ||
position: relative; | position: relative; | ||
padding: 24px 24px | padding: 26px 24px 24px; | ||
border-radius: | border-radius: var(--ep-radius-xl); | ||
background: | background: linear-gradient(180deg, rgba(255,253,248,0.95), rgba(244,229,199,0.89)); | ||
border: 1px solid var(--ep-line); | |||
border: 1px solid | box-shadow: var(--ep-shadow), var(--ep-inset); | ||
box-shadow: | |||
overflow: hidden; | overflow: hidden; | ||
transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; | |||
} | |||
.page-Main_Page .ep-card:hover, | |||
.page-Заглавная_страница .ep-card:hover{ | |||
transform: translateY(-3px); | |||
box-shadow: var(--ep-shadow-hover), var(--ep-inset); | |||
border-color: rgba(145,108,52,0.24); | |||
} | } | ||
.ep-card::before { | .page-Main_Page .ep-card::before, | ||
.page-Заглавная_страница .ep-card::before{ | |||
content: ""; | content: ""; | ||
position: absolute; | position: absolute; | ||
inset: 0; | inset: 0; | ||
border-radius: | border-radius: var(--ep-radius-xl); | ||
pointer-events: none; | pointer-events: none; | ||
background: | background: | ||
| Строка 147: | Строка 403: | ||
} | } | ||
.ep-card::after { | .page-Main_Page .ep-card::after, | ||
.page-Заглавная_страница .ep-card::after{ | |||
content: ""; | content: ""; | ||
position: absolute; | position: absolute; | ||
inset: 10px; | inset: 10px; | ||
border-radius: | border-radius: 18px; | ||
border: 1px solid rgba(132, 95, 42, 0.08); | border: 1px solid rgba(132,95,42,0.08); | ||
pointer-events: none; | pointer-events: none; | ||
} | } | ||
.ep-card | .page-Main_Page .ep-card--accent, | ||
.page-Заглавная_страница .ep-card--accent{ | |||
0 | background: | ||
linear-gradient(180deg, rgba(255,252,246,0.96), rgba(243,226,191,0.90)); | |||
border-color: rgba(145,108,52,0.22); | |||
} | |||
.page-Main_Page .ep-card--accent::before, | |||
.page-Заглавная_страница .ep-card--accent::before{ | |||
background: | |||
radial-gradient(circle at top left, rgba(255,255,255,0.34), transparent 26%), | |||
radial-gradient(circle at bottom right, rgba(205,156,82,0.14), transparent 32%); | |||
} | } | ||
.ep-card__icon { | .page-Main_Page .ep-card__icon, | ||
font-size: | .page-Заглавная_страница .ep-card__icon{ | ||
font-size: 30px; | |||
line-height: 1; | line-height: 1; | ||
margin-bottom: 14px; | margin-bottom: 14px; | ||
position: relative; | position: relative; | ||
z-index: 1; | z-index: 1; | ||
filter: drop-shadow(0 2px 2px rgba(0,0,0,0.08)); | |||
} | } | ||
.ep-card__title { | .page-Main_Page .ep-card__title, | ||
margin: 0 0 | .page-Заглавная_страница .ep-card__title{ | ||
font-size: | margin: 0 0 14px; | ||
line-height: 1 | font-family: 'Cormorant Garamond', serif !important; | ||
font-weight: | font-size: 46px; | ||
color: | line-height: 1; | ||
font-weight: 700; | |||
color: var(--ep-ink); | |||
letter-spacing: 0.01em; | |||
position: relative; | position: relative; | ||
z-index: 1; | z-index: 1; | ||
} | } | ||
.ep-card__text { | .page-Main_Page .ep-card__text, | ||
margin: 0 0 | .page-Заглавная_страница .ep-card__text{ | ||
margin: 0 0 18px; | |||
line-height: 1. | padding: 0 !important; | ||
font-size: 18px; | |||
line-height: 1.7; | |||
color: var(--ep-ink-soft) !important; | |||
background: transparent !important; | |||
border: 0 !important; | |||
box-shadow: none !important; | |||
position: relative; | position: relative; | ||
z-index: 1; | z-index: 1; | ||
} | |||
.page-Main_Page .ep-card__text p, | |||
.page-Main_Page .ep-card__text pre, | |||
.page-Main_Page .ep-card__text code, | |||
.page-Main_Page .ep-card__text .mw-code, | |||
.page-Заглавная_страница .ep-card__text p, | |||
.page-Заглавная_страница .ep-card__text pre, | |||
.page-Заглавная_страница .ep-card__text code, | |||
.page-Заглавная_страница .ep-card__text .mw-code{ | |||
margin: 0 !important; | |||
padding: 0 !important; | |||
background: transparent !important; | |||
border: 0 !important; | |||
box-shadow: none !important; | |||
color: inherit !important; | |||
font: inherit !important; | |||
white-space: normal !important; | white-space: normal !important; | ||
} | } | ||
.ep- | |||
/* ========================================================= | |||
EP MAIN PAGE — decorative panel upgrade | |||
добавить НИЖЕ текущих стилей | |||
========================================================= */ | |||
.page-Main_Page .ep-card, | |||
.page-Заглавная_страница .ep-card, | |||
.page-Main_Page .ep-panel, | |||
.page-Заглавная_страница .ep-panel, | |||
.page-Main_Page .ep-quickstart, | |||
.page-Заглавная_страница .ep-quickstart{ | |||
background: | |||
linear-gradient(180deg, rgba(255,253,246,0.96), rgba(240,224,191,0.90)) !important; | |||
border: 1px solid rgba(145,108,52,0.22) !important; | |||
box-shadow: | |||
0 12px 28px rgba(0,0,0,0.10), | |||
inset 0 1px 0 rgba(255,255,255,0.55), | |||
inset 0 0 0 1px rgba(255,248,232,0.42) !important; | |||
} | |||
/* более читаемая внутренняя рамка */ | |||
.page-Main_Page .ep-card::after, | |||
.page-Заглавная_страница .ep-card::after, | |||
.page-Main_Page .ep-panel::after, | |||
.page-Заглавная_страница .ep-panel::after, | |||
.page-Main_Page .ep-quickstart::after, | |||
.page-Заглавная_страница .ep-quickstart::after{ | |||
content: ""; | |||
position: absolute; | |||
inset: 9px; | |||
border-radius: 16px; | |||
border: 1px solid rgba(132,95,42,0.14); | |||
pointer-events: none; | |||
} | |||
/* дополнительный очень тонкий контур */ | |||
.page-Main_Page .ep-card, | |||
.page-Заглавная_страница .ep-card{ | |||
outline: 1px solid rgba(255,244,220,0.35); | |||
outline-offset: -2px; | |||
} | |||
/* чуть более “бумажная” поверхность */ | |||
.page-Main_Page .ep-card::before, | |||
.page-Заглавная_страница .ep-card::before, | |||
.page-Main_Page .ep-panel::before, | |||
.page-Заглавная_страница .ep-panel::before, | |||
.page-Main_Page .ep-quickstart::before, | |||
.page-Заглавная_страница .ep-quickstart::before{ | |||
background: | |||
radial-gradient(circle at top left, rgba(255,255,255,0.22), transparent 26%), | |||
radial-gradient(circle at bottom right, rgba(188,141,74,0.10), transparent 30%), | |||
linear-gradient(180deg, rgba(255,255,255,0.05), rgba(120,85,35,0.02)); | |||
} | |||
/* заголовки сделать чуть “титульнее” */ | |||
.page-Main_Page .ep-card__title, | |||
.page-Заглавная_страница .ep-card__title, | |||
.page-Main_Page .ep-panel h2, | |||
.page-Заглавная_страница .ep-panel h2{ | |||
color: #2b1d11 !important; | |||
text-shadow: 0 1px 0 rgba(255,255,255,0.28); | |||
} | |||
/* теги чуть более похожи на игровые кнопки */ | |||
.page-Main_Page .ep-card__links a, | |||
.page-Main_Page .ep-quickstart__links a, | |||
.page-Заглавная_страница .ep-card__links a, | |||
.page-Заглавная_страница .ep-quickstart__links a{ | |||
background: | |||
linear-gradient(180deg, rgba(250,245,234,1), rgba(233,219,189,0.98)) !important; | |||
border: 1px solid rgba(145,108,52,0.22) !important; | |||
box-shadow: | |||
inset 0 1px 0 rgba(255,255,255,0.72), | |||
inset 0 -1px 0 rgba(145,108,52,0.06), | |||
0 3px 8px rgba(0,0,0,0.05) !important; | |||
} | } | ||
/* hover сделать менее modern, более “физическим” */ | |||
. | .page-Main_Page .ep-card:hover, | ||
.ep- | .page-Заглавная_страница .ep-card:hover{ | ||
. | transform: translateY(-2px); | ||
.ep- | box-shadow: | ||
0 16px 34px rgba(0,0,0,0.12), | |||
inset 0 1px 0 rgba(255,255,255,0.55), | |||
inset 0 0 0 1px rgba(255,248,232,0.42) !important; | |||
} | } | ||
/* | /* ========================================================= | ||
.ep-card__links { | 11. ГЛАВНАЯ: КНОПКИ / ССЫЛКИ | ||
========================================================= */ | |||
.page-Main_Page .ep-card__links, | |||
.page-Заглавная_страница .ep-card__links{ | |||
display: flex; | display: flex; | ||
flex-wrap: wrap; | flex-wrap: wrap; | ||
gap: | align-items: flex-start; | ||
justify-content: flex-start; | |||
gap: 14px; | |||
margin-top: 18px; | |||
padding: 0 !important; | |||
background: transparent !important; | |||
border: 0 !important; | |||
box-shadow: none !important; | |||
position: relative; | position: relative; | ||
z-index: 1; | z-index: 1; | ||
font-size: 0; | |||
} | } | ||
.ep-card__links | .page-Main_Page .ep-card__links p, | ||
display: inline-flex; | .page-Main_Page .ep-card__links pre, | ||
.page-Main_Page .ep-card__links code, | |||
.page-Main_Page .ep-card__links .mw-code, | |||
.page-Main_Page .ep-quickstart__links p, | |||
.page-Main_Page .ep-quickstart__links pre, | |||
.page-Main_Page .ep-quickstart__links code, | |||
.page-Main_Page .ep-quickstart__links .mw-code, | |||
.page-Заглавная_страница .ep-card__links p, | |||
.page-Заглавная_страница .ep-card__links pre, | |||
.page-Заглавная_страница .ep-card__links code, | |||
.page-Заглавная_страница .ep-card__links .mw-code, | |||
.page-Заглавная_страница .ep-quickstart__links p, | |||
.page-Заглавная_страница .ep-quickstart__links pre, | |||
.page-Заглавная_страница .ep-quickstart__links code, | |||
.page-Заглавная_страница .ep-quickstart__links .mw-code{ | |||
display: contents; | |||
margin: 0 !important; | |||
padding: 0 !important; | |||
background: transparent !important; | |||
border: 0 !important; | |||
box-shadow: none !important; | |||
color: inherit !important; | |||
font: inherit !important; | |||
white-space: normal !important; | |||
} | |||
.page-Main_Page .ep-card__links a, | |||
.page-Main_Page .ep-quickstart__links a, | |||
.page-Заглавная_страница .ep-card__links a, | |||
.page-Заглавная_страница .ep-quickstart__links a{ | |||
display: inline-flex !important; | |||
align-items: center; | align-items: center; | ||
justify-content: center; | justify-content: center; | ||
min-height: | min-height: 42px; | ||
padding: | padding: 9px 18px; | ||
border-radius: | border-radius: var(--ep-radius-pill); | ||
background: rgba( | background: linear-gradient(180deg, rgba(248,243,232,0.98), rgba(235,223,197,0.94)) !important; | ||
border: 1px solid rgba( | border: 1px solid var(--ep-gold-border) !important; | ||
color: | box-shadow: | ||
font-size: | inset 0 1px 0 rgba(255,255,255,0.65), | ||
0 3px 8px rgba(0,0,0,0.05) !important; | |||
color: var(--ep-gold-text) !important; | |||
text-decoration: none !important; | |||
font-family: 'Inter', system-ui, sans-serif !important; | |||
font-size: 15px !important; | |||
font-weight: 600; | |||
line-height: 1.2; | line-height: 1.2; | ||
white-space: nowrap; | white-space: nowrap; | ||
box-shadow | transition: | ||
transform .15s ease, | |||
box-shadow .15s ease, | |||
color .15s ease, | |||
border-color .15s ease, | |||
background .15s ease; | |||
} | } | ||
.ep-card__links | .page-Main_Page .ep-card__links a:hover, | ||
color: | .page-Main_Page .ep-quickstart__links a:hover, | ||
.page-Заглавная_страница .ep-card__links a:hover, | |||
.page-Заглавная_страница .ep-quickstart__links a:hover{ | |||
color: var(--ep-gold-text-dark) !important; | |||
transform: translateY(-1px); | |||
border-color: rgba(145,108,52,0.28) !important; | |||
background: linear-gradient(180deg, rgba(252,247,238,1), rgba(240,226,198,0.97)) !important; | |||
box-shadow: | |||
inset 0 1px 0 rgba(255,255,255,0.78), | |||
0 6px 14px rgba(0,0,0,0.08), | |||
0 0 0 3px rgba(188,141,74,0.07) !important; | |||
} | } | ||
. | /* ========================================================= | ||
12. ГЛАВНАЯ: НИЖНИЕ ПАНЕЛИ | |||
========================================================= */ | |||
.page-Main_Page .ep-lower, | |||
.page-Заглавная_страница .ep-lower{ | |||
.ep-lower { | |||
display: grid; | display: grid; | ||
grid-template-columns: minmax(0, 1. | grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); | ||
gap: | gap: 24px; | ||
margin-top: 18px; | margin-top: 18px; | ||
align-items: start; | align-items: start; | ||
| Строка 248: | Строка 676: | ||
} | } | ||
.ep-panel { | .page-Main_Page .ep-panel, | ||
padding: 22px | .page-Заглавная_страница .ep-panel{ | ||
border-radius: | padding: 24px 24px 22px; | ||
border-radius: 22px; | |||
background: linear-gradient(180deg, rgba(255,253,248,0.92), rgba(244,229,199,0.84)); | |||
border: 1px solid var(--ep-line); | |||
box-shadow: 0 12px 28px rgba(0,0,0,0.10), var(--ep-inset); | |||
position: relative; | |||
overflow: hidden; | |||
} | |||
.page-Main_Page .ep-panel::before, | |||
.page-Заглавная_страница .ep-panel::before{ | |||
content: ""; | |||
position: absolute; | |||
inset: 0; | |||
background: | background: | ||
radial-gradient(circle at top left, rgba(255,255,255,0.24), transparent 28%), | |||
radial-gradient(circle at bottom right, rgba(188,141,74,0.08), transparent 30%); | |||
pointer-events: none; | |||
} | } | ||
.ep-panel h2 { | .page-Main_Page .ep-panel h2, | ||
margin: 0 0 | .page-Заглавная_страница .ep-panel h2{ | ||
margin: 0 0 14px; | |||
border: 0 !important; | border: 0 !important; | ||
color: | color: var(--ep-ink) !important; | ||
font-family: 'Cormorant Garamond', serif !important; | |||
font-size: 42px; | |||
line-height: 1.04; | |||
font-weight: 700; | |||
letter-spacing: 0.01em; | |||
position: relative; | |||
z-index: 1; | |||
} | } | ||
.ep-note { | .page-Main_Page .ep-note, | ||
color: rgba(42, 33, 23, 0. | .page-Заглавная_страница .ep-note{ | ||
line-height: 1. | margin: 0 0 14px; | ||
padding: 0 !important; | |||
background: transparent !important; | |||
border: 0 !important; | |||
box-shadow: none !important; | |||
color: rgba(42, 33, 23, 0.72) !important; | |||
font-size: 17px; | |||
line-height: 1.65; | |||
font-family: 'Inter', system-ui, sans-serif !important; | |||
position: relative; | |||
z-index: 1; | |||
} | } | ||
.ep-list { | .page-Main_Page .ep-note p, | ||
margin: 0; | .page-Main_Page .ep-note pre, | ||
.page-Main_Page .ep-note code, | |||
.page-Main_Page .ep-note .mw-code, | |||
.page-Заглавная_страница .ep-note p, | |||
.page-Заглавная_страница .ep-note pre, | |||
.page-Заглавная_страница .ep-note code, | |||
.page-Заглавная_страница .ep-note .mw-code{ | |||
margin: 0 !important; | |||
padding: 0 !important; | |||
background: transparent !important; | |||
border: 0 !important; | |||
box-shadow: none !important; | |||
color: inherit !important; | |||
font: inherit !important; | |||
white-space: normal !important; | |||
} | |||
.page-Main_Page .ep-list, | |||
.page-Заглавная_страница .ep-list{ | |||
margin: 10px 0 0; | |||
padding-left: 20px; | padding-left: 20px; | ||
} | } | ||
.ep-list li { | .page-Main_Page .ep-list li, | ||
.page-Заглавная_страница .ep-list li{ | |||
margin: 8px 0; | margin: 8px 0; | ||
line-height: 1.55; | |||
} | } | ||
/* | /* ========================================================= | ||
13. НА ГЛАВНОЙ УБИРАЕМ ЛИШНИЕ ПРОКРУТКИ | |||
========================================================= */ | |||
.page-Main_Page .mw-parser-output, | .page-Main_Page .mw-parser-output, | ||
.page-Заглавная_страница .mw-parser-output, | .page-Заглавная_страница .mw-parser-output, | ||
.page-Main_Page .mw-parser-output > div, | .page-Main_Page .mw-parser-output > div, | ||
.page-Заглавная_страница .mw-parser-output > div { | .page-Заглавная_страница .mw-parser-output > div{ | ||
overflow: visible !important; | overflow: visible !important; | ||
} | } | ||
| Строка 290: | Строка 770: | ||
.page-Заглавная_страница pre, | .page-Заглавная_страница pre, | ||
.page-Main_Page .mw-code, | .page-Main_Page .mw-code, | ||
.page-Заглавная_страница .mw-code { | .page-Заглавная_страница .mw-code{ | ||
overflow: visible !important; | overflow: visible !important; | ||
word-break: break-word !important; | word-break: break-word !important; | ||
max-width: 100% !important; | max-width: 100% !important; | ||
} | } | ||
.page-Main_Page .ep-card, | |||
.page-Main_Page .ep-panel, | |||
. | .page-Main_Page .ep-quickstart, | ||
.page-Заглавная_страница .ep-card, | |||
.page-Заглавная_страница .ep-panel, | |||
.page-Заглавная_страница .ep-quickstart{ | |||
isolation: isolate; | |||
} | } | ||
/* | /* ========================================================= | ||
@media (max-width: 1200px) { | 14. АДАПТИВ | ||
.ep-grid, | ========================================================= */ | ||
.ep-lower { | @media (max-width: 1200px){ | ||
.page-Main_Page .ep-grid, | |||
.page-Заглавная_страница .ep-grid, | |||
.page-Main_Page .ep-lower, | |||
.page-Заглавная_страница .ep-lower{ | |||
grid-template-columns: 1fr; | grid-template-columns: 1fr; | ||
} | } | ||
} | } | ||
@media (max-width: 900px) { | @media (max-width: 900px){ | ||
. | .mw-parser-output h1, | ||
.firstHeading{ | |||
font-size: 42px; | font-size: 42px; | ||
} | } | ||
.ep-subtitle { | .mw-parser-output h2{ | ||
font-size: | font-size: 32px; | ||
padding: | } | ||
.mw-parser-output h3{ | |||
font-size: 25px; | |||
} | |||
body:not(.page-Main_Page):not(.page-Заглавная_страница) .mw-parser-output{ | |||
padding: 22px 20px; | |||
} | |||
.page-Main_Page .ep-hero-logo, | |||
.page-Заглавная_страница .ep-hero-logo{ | |||
width: min(560px, 100%); | |||
margin-bottom: 16px; | |||
} | |||
.page-Main_Page .ep-subtitle, | |||
.page-Заглавная_страница .ep-subtitle{ | |||
font-size: 18px; | |||
padding: 16px 18px; | |||
} | |||
.page-Main_Page .ep-quickstart, | |||
.page-Заглавная_страница .ep-quickstart, | |||
.page-Main_Page .ep-card, | |||
.page-Заглавная_страница .ep-card, | |||
.page-Main_Page .ep-panel, | |||
.page-Заглавная_страница .ep-panel{ | |||
padding: 22px 20px; | |||
} | |||
.page-Main_Page .ep-card__title, | |||
.page-Заглавная_страница .ep-card__title{ | |||
font-size: 38px; | |||
} | |||
.page-Main_Page .ep-panel h2, | |||
.page-Заглавная_страница .ep-panel h2{ | |||
font-size: 35px; | |||
} | |||
.page-Main_Page .ep-section-heading, | |||
.page-Заглавная_страница .ep-section-heading{ | |||
font-size: 30px; | |||
} | |||
} | |||
@media (max-width: 640px){ | |||
.mw-parser-output h1, | |||
.firstHeading{ | |||
font-size: 36px; | |||
} | } | ||
. | .mw-parser-output h2{ | ||
font-size: 28px; | |||
} | } | ||
. | .mw-parser-output h3{ | ||
font-size: 22px; | font-size: 22px; | ||
} | } | ||
.mw-parser-output p, | |||
.ep-hero { | .mw-parser-output li{ | ||
font-size: 16px; | |||
line-height: 1.68; | |||
} | |||
body:not(.page-Main_Page):not(.page-Заглавная_страница) .mw-parser-output{ | |||
padding: 18px 16px; | |||
} | |||
.page-Main_Page .ep-hero, | |||
.page-Заглавная_страница .ep-hero{ | |||
padding: 20px 12px 14px; | padding: 20px 12px 14px; | ||
} | } | ||
.ep- | .page-Main_Page .ep-hero-logo, | ||
.page-Заглавная_страница .ep-hero-logo{ | |||
width: min(420px, 100%); | |||
margin-bottom: 14px; | |||
} | } | ||
.ep-kicker { | .page-Main_Page .ep-kicker, | ||
font-size: | .page-Заглавная_страница .ep-kicker{ | ||
font-size: 12px; | |||
letter-spacing: 0.08em; | letter-spacing: 0.08em; | ||
padding: 7px 14px; | |||
} | |||
.page-Main_Page .ep-subtitle, | |||
.page-Заглавная_страница .ep-subtitle{ | |||
font-size: 16px; | |||
padding: 14px 16px; | |||
} | |||
.page-Main_Page .ep-section-heading, | |||
.page-Заглавная_страница .ep-section-heading{ | |||
font-size: 27px; | |||
margin-bottom: 12px; | |||
} | |||
.page-Main_Page .ep-quickstart, | |||
.page-Заглавная_страница .ep-quickstart{ | |||
margin: 14px 0 22px; | |||
padding: 18px 16px; | |||
border-radius: 18px; | |||
} | |||
.page-Main_Page .ep-grid, | |||
.page-Заглавная_страница .ep-grid{ | |||
gap: 18px; | |||
margin-top: 0; | |||
} | |||
.page-Main_Page .ep-card, | |||
.page-Заглавная_страница .ep-card{ | |||
padding: 20px 18px 18px; | |||
border-radius: 20px; | |||
} | |||
.page-Main_Page .ep-card::after, | |||
.page-Заглавная_страница .ep-card::after{ | |||
inset: 8px; | |||
border-radius: 14px; | |||
} | |||
.page-Main_Page .ep-card__icon, | |||
.page-Заглавная_страница .ep-card__icon{ | |||
font-size: 26px; | |||
margin-bottom: 12px; | |||
} | } | ||
.ep- | .page-Main_Page .ep-card__title, | ||
.page-Заглавная_страница .ep-card__title{ | |||
font-size: 32px; | |||
line-height: 1.05; | |||
margin-bottom: 12px; | |||
} | |||
.page-Main_Page .ep-card__text, | |||
.page-Заглавная_страница .ep-card__text{ | |||
font-size: 16px; | font-size: 16px; | ||
line-height: 1.65; | |||
margin-bottom: 16px; | |||
} | |||
.page-Main_Page .ep-panel h2, | |||
.page-Заглавная_страница .ep-panel h2{ | |||
font-size: 30px; | |||
line-height: 1.08; | |||
} | |||
.page-Main_Page .ep-note, | |||
.page-Заглавная_страница .ep-note{ | |||
font-size: 16px; | |||
} | |||
.page-Main_Page .ep-card__links, | |||
.page-Заглавная_страница .ep-card__links, | |||
.page-Main_Page .ep-quickstart__links, | |||
.page-Заглавная_страница .ep-quickstart__links{ | |||
gap: 10px; | |||
margin-top: 16px; | |||
} | |||
.page-Main_Page .ep-card__links a, | |||
.page-Main_Page .ep-quickstart__links a, | |||
.page-Заглавная_страница .ep-card__links a, | |||
.page-Заглавная_страница .ep-quickstart__links a{ | |||
min-height: 38px; | |||
padding: 8px 14px; | |||
font-size: 14px !important; | |||
} | |||
} | |||
@media (max-width: 480px){ | |||
.page-Main_Page .ep-hero-logo, | |||
.page-Заглавная_страница .ep-hero-logo{ | |||
width: min(360px, 100%); | |||
margin-bottom: 12px; | |||
} | |||
.page-Main_Page .ep-card__title, | |||
.page-Заглавная_страница .ep-card__title{ | |||
font-size: 29px; | |||
} | |||
.page-Main_Page .ep-panel h2, | |||
.page-Заглавная_страница .ep-panel h2{ | |||
font-size: 27px; | |||
} | |||
.page-Main_Page .ep-card__links, | |||
.page-Заглавная_страница .ep-card__links, | |||
.page-Main_Page .ep-quickstart__links, | |||
.page-Заглавная_страница .ep-quickstart__links{ | |||
gap: 9px; | |||
} | |||
.page-Main_Page .ep-card__links a, | |||
.page-Main_Page .ep-quickstart__links a, | |||
.page-Заглавная_страница .ep-card__links a, | |||
.page-Заглавная_страница .ep-quickstart__links a{ | |||
min-height: 36px; | |||
padding: 8px 13px; | |||
font-size: 14px !important; | |||
white-space: normal; | |||
} | } | ||
} | |||
/* ========================================================= | |||
FIX: светлый инфоблок / убрать тёмный pre-style и прокрутку | |||
========================================================= */ | |||
.ep-factbox, | |||
.ep-important, | |||
.ep-wiki-page .ep-factbox, | |||
.ep-wiki-page .ep-important{ | |||
margin: 0 0 22px; | |||
padding: 18px 20px !important; | |||
background: linear-gradient(180deg, rgba(255,253,248,0.95), rgba(244,229,199,0.88)) !important; | |||
border: 1px solid rgba(132,95,42,0.14) !important; | |||
border-radius: 18px !important; | |||
box-shadow: | |||
0 10px 24px rgba(0,0,0,0.06), | |||
inset 0 1px 0 rgba(255,255,255,0.45) !important; | |||
color: rgba(42,33,23,0.88) !important; | |||
font-family: 'Inter', system-ui, sans-serif !important; | |||
font-size: 17px !important; | |||
line-height: 1.7 !important; | |||
white-space: normal !important; | |||
overflow: visible !important; | |||
word-break: break-word !important; | |||
overflow-wrap: anywhere !important; | |||
} | |||
.ep- | /* Если MediaWiki завернула содержимое в p/pre/code */ | ||
.ep-factbox p, | |||
.ep-factbox pre, | |||
.ep-factbox code, | |||
.ep-factbox .mw-code, | |||
.ep-important p, | |||
.ep-important pre, | |||
.ep-important code, | |||
.ep-important .mw-code, | |||
.ep-wiki-page .ep-factbox p, | |||
.ep-wiki-page .ep-factbox pre, | |||
.ep-wiki-page .ep-factbox code, | |||
.ep-wiki-page .ep-factbox .mw-code, | |||
.ep-wiki-page .ep-important p, | |||
.ep-wiki-page .ep-important pre, | |||
.ep-wiki-page .ep-important code, | |||
.ep-wiki-page .ep-important .mw-code{ | |||
margin: 0 0 8px !important; | |||
padding: 0 !important; | |||
background: transparent !important; | |||
border: 0 !important; | |||
box-shadow: none !important; | |||
color: inherit !important; | |||
font-family: 'Inter', system-ui, sans-serif !important; | |||
font-size: inherit !important; | |||
line-height: inherit !important; | |||
white-space: normal !important; | |||
overflow: visible !important; | |||
word-break: break-word !important; | |||
overflow-wrap: anywhere !important; | |||
} | |||
/* Последний абзац без лишнего отступа */ | |||
.ep-factbox p:last-child, | |||
.ep-important p:last-child, | |||
.ep-wiki-page .ep-factbox p:last-child, | |||
.ep-wiki-page .ep-important p:last-child{ | |||
margin-bottom: 0 !important; | |||
} | |||
/* Выделение заголовочных strong внутри блока */ | |||
.ep-factbox strong, | |||
.ep-important strong, | |||
.ep-wiki-page .ep-factbox strong, | |||
.ep-wiki-page .ep-important strong{ | |||
color: #4e3519 !important; | |||
font-weight: 700 !important; | |||
} | |||
/* Мобильная версия */ | |||
@media (max-width: 640px){ | |||
.ep-factbox, | |||
.ep-important, | |||
.ep-wiki-page .ep-factbox, | |||
.ep-wiki-page .ep-important{ | |||
padding: 14px 16px !important; | |||
border-radius: 16px !important; | |||
font-size: 15px !important; | |||
line-height: 1.6 !important; | |||
overflow: visible !important; | |||
} | |||
.ep-factbox p, | |||
.ep-factbox pre, | |||
.ep-factbox code, | |||
.ep-factbox .mw-code, | |||
.ep-important p, | |||
.ep-important pre, | |||
.ep-important code, | |||
.ep-important .mw-code, | |||
.ep-wiki-page .ep-factbox p, | |||
.ep-wiki-page .ep-factbox pre, | |||
.ep-wiki-page .ep-factbox code, | |||
.ep-wiki-page .ep-factbox .mw-code, | |||
.ep-wiki-page .ep-important p, | |||
.ep-wiki-page .ep-important pre, | |||
.ep-wiki-page .ep-important code, | |||
.ep-wiki-page .ep-important .mw-code{ | |||
white-space: normal !important; | |||
overflow: visible !important; | |||
word-break: break-word !important; | |||
overflow-wrap: anywhere !important; | |||
} | |||
} | |||
/* ========================================================= | |||
Расы / финальный стабильный вариант без раскрывашек | |||
========================================================= */ | |||
/* Общий скролл-контейнер */ | |||
.ep-table-scroll{ | |||
width: 100%; | |||
overflow-x: auto; | |||
overflow-y: visible; | |||
-webkit-overflow-scrolling: touch; | |||
position: relative; | |||
margin: 0 0 24px; | |||
padding-bottom: 6px; | |||
} | |||
.ep-table-scroll::after{ | |||
content: ""; | |||
position: sticky; | |||
right: 0; | |||
top: 0; | |||
float: right; | |||
width: 28px; | |||
height: 100%; | |||
pointer-events: none; | |||
background: linear-gradient(to left, rgba(255,248,236,0.92), rgba(255,248,236,0)); | |||
} | |||
/* Верхняя таблица сравнения */ | |||
.ep-race-compare{ | |||
width: max-content; | |||
min-width: 980px; | |||
margin: 0; | |||
border-collapse: separate; | |||
border-spacing: 0; | |||
border-radius: 18px; | |||
overflow: hidden; | |||
background: rgba(255,251,243,0.94); | |||
border: 1px solid rgba(132,95,42,0.12) !important; | |||
box-shadow: 0 10px 24px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.45); | |||
} | |||
.ep-race-compare th{ | |||
background: rgba(238,224,194,0.92) !important; | |||
color: #2a2117 !important; | |||
font-weight: 700; | |||
text-align: center; | |||
vertical-align: middle; | |||
white-space: nowrap; | |||
} | |||
.ep-race-compare td{ | |||
text-align: center; | |||
vertical-align: middle; | |||
white-space: nowrap; | |||
} | |||
.ep-race-compare td:first-child, | |||
.ep-race-compare th:first-child{ | |||
text-align: left; | |||
white-space: nowrap; | |||
font-weight: 700; | |||
position: sticky; | |||
left: 0; | |||
z-index: 2; | |||
background: rgba(255,251,243,0.98) !important; | |||
} | |||
.ep-race-compare tr:first-child th:first-child, | |||
.ep-race-compare tr:nth-child(2) th:first-child{ | |||
background: rgba(238,224,194,0.98) !important; | |||
z-index: 3; | |||
} | |||
.ep-race-compare tr th:nth-child(4), | |||
.ep-race-compare tr th:nth-child(7), | |||
.ep-race-compare tr th:nth-child(10), | |||
.ep-race-compare tr th:nth-child(13), | |||
.ep-race-compare tr th:nth-child(16), | |||
.ep-race-compare tr td:nth-child(4), | |||
.ep-race-compare tr td:nth-child(7), | |||
.ep-race-compare tr td:nth-child(10), | |||
.ep-race-compare tr td:nth-child(13), | |||
.ep-race-compare tr td:nth-child(16){ | |||
border-right: 2px solid rgba(132,95,42,0.18) !important; | |||
} | |||
.ep-race-compare tr:nth-child(2) th:nth-child(3), | |||
.ep-race-compare tr:nth-child(2) th:nth-child(6), | |||
.ep-race-compare tr:nth-child(2) th:nth-child(9), | |||
.ep-race-compare tr:nth-child(2) th:nth-child(12), | |||
.ep-race-compare tr:nth-child(2) th:nth-child(15){ | |||
border-right: 2px solid rgba(132,95,42,0.18) !important; | |||
} | |||
/* Карточки параметров */ | |||
.ep-race-stat-grid{ | |||
display: grid; | |||
grid-template-columns: repeat(3, minmax(0, 1fr)); | |||
gap: 10px; | |||
margin: 14px 0 18px; | |||
} | |||
.ep-race-stat{ | |||
padding: 12px 14px; | |||
border-radius: 14px; | |||
background: rgba(255,249,239,0.82); | |||
border: 1px solid rgba(132,95,42,0.08); | |||
min-width: 0; | |||
} | |||
.ep-race-stat__label{ | |||
display: block; | |||
margin-bottom: 4px; | |||
font-size: 12px; | |||
font-weight: 700; | |||
letter-spacing: 0.04em; | |||
text-transform: uppercase; | |||
color: rgba(42,33,23,0.62); | |||
} | |||
.ep-race-stat__value{ | |||
display: block; | |||
font-size: 18px; | |||
line-height: 1.35; | |||
font-weight: 700; | |||
color: #2a2117; | |||
word-break: break-word; | |||
overflow-wrap: anywhere; | |||
} | |||
/* Таблицы skill caps */ | |||
.ep-skillcap-table{ | |||
width: max-content; | |||
min-width: 560px; | |||
margin: 0 0 28px !important; | |||
border-collapse: separate; | |||
border-spacing: 0; | |||
border-radius: 18px; | |||
overflow: hidden; | |||
background: rgba(255,251,243,0.94); | |||
border: 1px solid rgba(132,95,42,0.12) !important; | |||
box-shadow: 0 10px 24px rgba(0,0,0,0.05), inset 0 1px 0 rgba(255,255,255,0.45); | |||
} | |||
.ep-skillcap-table th{ | |||
background: rgba(238,224,194,0.82) !important; | |||
color: #2a2117 !important; | |||
font-weight: 700; | |||
text-align: center; | |||
vertical-align: middle; | |||
white-space: nowrap; | |||
} | |||
.ep-skillcap-table td{ | |||
text-align: center; | |||
vertical-align: middle; | |||
white-space: nowrap; | |||
} | |||
.ep-skillcap-table td:first-child, | |||
.ep-skillcap-table th:first-child{ | |||
text-align: left; | |||
white-space: nowrap; | |||
min-width: 210px; | |||
} | |||
.ep-skillcap-table td:first-child a{ | |||
font-weight: 600; | |||
} | |||
/* Заголовки секций */ | |||
.mw-parser-output h3{ | |||
scroll-margin-top: 90px; | |||
} | |||
/* Планшет */ | |||
@media (max-width: 1100px){ | |||
.ep-race-stat-grid{ | |||
grid-template-columns: repeat(2, minmax(0, 1fr)); | |||
} | |||
} | |||
/* Телефон */ | |||
@media (max-width: 640px){ | |||
.ep-table-scroll{ | |||
margin: 0 0 20px; | |||
padding-bottom: 8px; | |||
} | |||
.ep-race-compare{ | |||
min-width: 980px; | |||
} | |||
.ep-skillcap-table{ | |||
min-width: 560px; | |||
} | |||
.ep-race-stat-grid{ | |||
grid-template-columns: 1fr; | |||
gap: 8px; | gap: 8px; | ||
} | } | ||
.ep-card__links | .ep-race-stat{ | ||
padding: 10px 12px; | |||
} | |||
.ep-race-stat__value{ | |||
font-size: 16px; | |||
line-height: 1.4; | |||
} | |||
.ep-skillcap-table th:first-child, | |||
.ep-skillcap-table td:first-child{ | |||
min-width: 180px; | |||
} | |||
} | |||
/* ========================================================= | |||
EP MAIN PAGE — STRONGER CARD UPGRADE | |||
ВСТАВИТЬ В САМЫЙ КОНЕЦ ФАЙЛА | |||
========================================================= */ | |||
.page-Main_Page .ep-card, | |||
.page-Заглавная_страница .ep-card, | |||
.page-Main_Page .ep-panel, | |||
.page-Заглавная_страница .ep-panel, | |||
.page-Main_Page .ep-quickstart, | |||
.page-Заглавная_страница .ep-quickstart{ | |||
background: linear-gradient(180deg, rgba(255,251,242,0.98), rgba(235,218,184,0.94)) !important; | |||
border: 1px solid rgba(145,108,52,0.30) !important; | |||
box-shadow: | |||
0 16px 34px rgba(0,0,0,0.12), | |||
inset 0 1px 0 rgba(255,255,255,0.62), | |||
inset 0 0 0 1px rgba(255,245,222,0.50) !important; | |||
} | |||
/* внутренняя рамка заметнее */ | |||
.page-Main_Page .ep-card::after, | |||
.page-Заглавная_страница .ep-card::after, | |||
.page-Main_Page .ep-panel::after, | |||
.page-Заглавная_страница .ep-panel::after, | |||
.page-Main_Page .ep-quickstart::after, | |||
.page-Заглавная_страница .ep-quickstart::after{ | |||
content: ""; | |||
position: absolute; | |||
inset: 8px; | |||
border-radius: 18px; | |||
border: 1px solid rgba(132,95,42,0.18) !important; | |||
pointer-events: none; | |||
} | |||
/* поверхность более "пергаментная" */ | |||
.page-Main_Page .ep-card::before, | |||
.page-Заглавная_страница .ep-card::before, | |||
.page-Main_Page .ep-panel::before, | |||
.page-Заглавная_страница .ep-panel::before, | |||
.page-Main_Page .ep-quickstart::before, | |||
.page-Заглавная_страница .ep-quickstart::before{ | |||
content: ""; | |||
position: absolute; | |||
inset: 0; | |||
pointer-events: none; | |||
border-radius: inherit; | |||
background: | |||
radial-gradient(circle at top left, rgba(255,255,255,0.30), transparent 24%), | |||
radial-gradient(circle at bottom right, rgba(188,141,74,0.14), transparent 32%), | |||
linear-gradient(180deg, rgba(255,255,255,0.04), rgba(120,85,35,0.05)) !important; | |||
} | |||
/* заголовки заметнее */ | |||
.page-Main_Page .ep-card__title, | |||
.page-Заглавная_страница .ep-card__title, | |||
.page-Main_Page .ep-panel h2, | |||
.page-Заглавная_страница .ep-panel h2{ | |||
color: #2b1d11 !important; | |||
text-shadow: 0 1px 0 rgba(255,255,255,0.34); | |||
} | |||
/* кнопки-пилюли чуть плотнее */ | |||
.page-Main_Page .ep-card__links a, | |||
.page-Main_Page .ep-quickstart__links a, | |||
.page-Заглавная_страница .ep-card__links a, | |||
.page-Заглавная_страница .ep-quickstart__links a{ | |||
background: linear-gradient(180deg, rgba(251,246,236,1), rgba(230,214,181,0.98)) !important; | |||
border: 1px solid rgba(145,108,52,0.28) !important; | |||
box-shadow: | |||
inset 0 1px 0 rgba(255,255,255,0.76), | |||
inset 0 -1px 0 rgba(145,108,52,0.08), | |||
0 4px 10px rgba(0,0,0,0.06) !important; | |||
} | |||
/* hover чуть выразительнее */ | |||
.page-Main_Page .ep-card:hover, | |||
.page-Заглавная_страница .ep-card:hover{ | |||
transform: translateY(-2px); | |||
box-shadow: | |||
0 20px 40px rgba(0,0,0,0.14), | |||
inset 0 1px 0 rgba(255,255,255,0.62), | |||
inset 0 0 0 1px rgba(255,245,222,0.50) !important; | |||
border-color: rgba(145,108,52,0.36) !important; | |||
} | |||
/* ========================================================= | |||
Races page — tile catalog | |||
========================================================= */ | |||
.page-Races .ep-race-tiles, | |||
.page-Расы .ep-race-tiles{ | |||
display: grid; | |||
grid-template-columns: repeat(3, minmax(0, 1fr)); | |||
gap: 22px; | |||
margin: 22px 0 8px; | |||
} | |||
.page-Races .ep-race-tile, | |||
.page-Расы .ep-race-tile{ | |||
position: relative; | |||
overflow: hidden; | |||
border-radius: 22px; | |||
background: linear-gradient(180deg, rgba(255,252,246,0.96), rgba(241,226,194,0.90)); | |||
border: 1px solid rgba(145,108,52,0.18); | |||
box-shadow: | |||
0 14px 30px rgba(0,0,0,0.10), | |||
inset 0 1px 0 rgba(255,255,255,0.50); | |||
transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; | |||
} | |||
.page-Races .ep-race-tile:hover, | |||
.page-Расы .ep-race-tile:hover{ | |||
transform: translateY(-3px); | |||
box-shadow: | |||
0 18px 36px rgba(0,0,0,0.14), | |||
inset 0 1px 0 rgba(255,255,255,0.54); | |||
border-color: rgba(145,108,52,0.28); | |||
} | |||
.page-Races .ep-race-tile__image, | |||
.page-Расы .ep-race-tile__image{ | |||
aspect-ratio: 4 / 3; | |||
overflow: hidden; | |||
background: rgba(245,236,214,0.70); | |||
border-bottom: 1px solid rgba(145,108,52,0.12); | |||
} | |||
.page-Races .ep-race-tile__image a, | |||
.page-Расы .ep-race-tile__image a{ | |||
display: block; | |||
width: 100%; | |||
height: 100%; | |||
} | |||
.page-Races .ep-race-tile__image img, | |||
.page-Расы .ep-race-tile__image img{ | |||
display: block; | |||
width: 100%; | |||
height: 100%; | |||
object-fit: cover; | |||
} | |||
.page-Races .ep-race-tile__title, | |||
.page-Расы .ep-race-tile__title{ | |||
padding: 18px 18px 20px; | |||
text-align: center; | |||
font-family: 'Cormorant Garamond', serif !important; | |||
font-size: 34px; | |||
line-height: 1.05; | |||
font-weight: 700; | |||
color: #2a2117; | |||
} | |||
.page-Races .ep-race-tile__title a, | |||
.page-Расы .ep-race-tile__title a{ | |||
color: inherit !important; | |||
text-decoration: none !important; | |||
} | |||
.page-Races .ep-race-tile__title a:hover, | |||
.page-Расы .ep-race-tile__title a:hover{ | |||
color: #5a3d1b !important; | |||
} | |||
@media (max-width: 1100px){ | |||
.page-Races .ep-race-tiles, | |||
.page-Расы .ep-race-tiles{ | |||
grid-template-columns: repeat(2, minmax(0, 1fr)); | |||
} | |||
} | |||
@media (max-width: 640px){ | |||
.page-Races .ep-race-tiles, | |||
.page-Расы .ep-race-tiles{ | |||
grid-template-columns: 1fr; | |||
gap: 16px; | |||
} | |||
.page-Races .ep-race-tile__title, | |||
.page-Расы .ep-race-tile__title{ | |||
font-size: 28px; | |||
padding: 16px 16px 18px; | |||
} | |||
} | |||
/* ========================================================= | |||
Race guide cover image | |||
========================================================= */ | |||
.ep-race-cover{ | |||
margin: 18px 0 24px; | |||
border-radius: 22px; | |||
overflow: hidden; | |||
background: rgba(245,236,214,0.72); | |||
border: 1px solid rgba(145,108,52,0.14); | |||
box-shadow: | |||
0 12px 28px rgba(0,0,0,0.08), | |||
inset 0 1px 0 rgba(255,255,255,0.35); | |||
} | |||
.ep-race-cover .thumbinner, | |||
.ep-race-cover .thumb, | |||
.ep-race-cover .floatnone{ | |||
width: 100% !important; | |||
max-width: 100% !important; | |||
margin: 0 !important; | |||
border: 0 !important; | |||
background: transparent !important; | |||
} | |||
.ep-race-cover img{ | |||
display: block; | |||
width: 100% !important; | |||
height: auto !important; | |||
max-width: 100% !important; | |||
object-fit: cover; | |||
} | |||
.ep-race-cover .thumbcaption{ | |||
display: none; | |||
} | |||
@media (max-width: 640px){ | |||
.ep-race-cover{ | |||
margin: 14px 0 20px; | |||
border-radius: 18px; | |||
} | } | ||
} | } | ||
Текущая версия от 13:10, 20 марта 2026
/* =========================================================
Ethereal Portal Wiki / MediaWiki Citizen
Главная + общие стили
========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Cormorant+Garamond:wght@500;600;700&display=swap');
/* =========================================================
1. ПЕРЕМЕННЫЕ
========================================================= */
:root{
--ep-ink: #2a2117;
--ep-ink-soft: rgba(42, 33, 23, 0.82);
--ep-ink-muted: rgba(42, 33, 23, 0.68);
--ep-paper: rgba(255, 252, 246, 0.92);
--ep-paper-2: rgba(244, 229, 199, 0.88);
--ep-paper-soft: rgba(255, 249, 239, 0.88);
--ep-line: rgba(132, 95, 42, 0.18);
--ep-line-soft: rgba(132, 95, 42, 0.10);
--ep-gold-text: #6a4b24;
--ep-gold-text-dark: #4e3519;
--ep-gold-border: rgba(145, 108, 52, 0.18);
--ep-gold-glow: rgba(188,141,74,0.18);
--ep-shadow: 0 14px 34px rgba(0, 0, 0, 0.10);
--ep-shadow-soft: 0 10px 24px rgba(0, 0, 0, 0.08);
--ep-shadow-hover: 0 18px 38px rgba(0, 0, 0, 0.14);
--ep-inset: inset 0 1px 0 rgba(255,255,255,0.42);
--ep-radius-xl: 24px;
--ep-radius-lg: 20px;
--ep-radius-md: 16px;
--ep-radius-pill: 999px;
--ep-content-max: 1320px;
}
/* =========================================================
2. БАЗОВАЯ ТИПОГРАФИКА
========================================================= */
html,
body,
.mw-body,
.citizen-body-container,
.vector-body,
body.skin-citizen,
.mw-parser-output,
.mw-parser-output p,
.mw-parser-output li,
.mw-parser-output td,
.mw-parser-output th,
.mw-parser-output blockquote,
.mw-parser-output figcaption{
font-family: 'Inter', system-ui, sans-serif;
color: var(--ep-ink-soft);
}
h1, h2, h3, h4, h5, h6,
.firstHeading,
.mw-page-title-main{
font-family: 'Cormorant Garamond', serif !important;
font-style: normal;
color: var(--ep-ink);
letter-spacing: 0.01em;
}
.mw-parser-output h1,
.firstHeading{
font-size: 48px;
line-height: 1.02;
font-weight: 700;
}
.mw-parser-output h2{
font-size: 36px;
line-height: 1.08;
font-weight: 700;
margin-top: 1.1em;
color: var(--ep-ink) !important;
border-bottom-color: rgba(132,95,42,0.16) !important;
}
.mw-parser-output h3{
font-size: 28px;
line-height: 1.12;
font-weight: 700;
color: var(--ep-ink) !important;
}
.mw-parser-output h4{
font-size: 22px;
line-height: 1.18;
font-weight: 700;
color: var(--ep-ink) !important;
}
.mw-parser-output p,
.mw-parser-output li{
font-size: 17px;
line-height: 1.72;
}
/* =========================================================
3. ФОН И ОБОЛОЧКА
========================================================= */
html,
body{
background: url("/resources/assets/ep-bg.jpg") center top / cover no-repeat fixed !important;
}
body::before{
content: "";
position: fixed;
inset: 0;
z-index: 0;
pointer-events: none;
backdrop-filter: blur(3px);
-webkit-backdrop-filter: blur(3px);
background: rgba(255,255,255,0.08);
}
.mw-page-container,
.mw-body,
#content,
.citizen-body-container,
.citizen-page-header,
.citizen-featured-actions,
.main-page-wrapper{
background: transparent !important;
box-shadow: none !important;
border: 0 !important;
position: relative;
z-index: 1;
}
.skin-citizen .mw-body,
.skin-citizen #content{
border-radius: var(--ep-radius-lg);
}
/* =========================================================
4. ОБЫЧНЫЕ СТРАНИЦЫ
========================================================= */
body:not(.page-Main_Page):not(.page-Заглавная_страница) .mw-parser-output{
padding: 26px 28px;
border-radius: var(--ep-radius-lg);
background: linear-gradient(180deg, rgba(255,253,248,0.92), rgba(244,229,199,0.84));
border: 1px solid var(--ep-line);
box-shadow: var(--ep-shadow-soft), var(--ep-inset);
}
.mw-parser-output table.wikitable{
background: rgba(255,251,243,0.92);
border: 1px solid var(--ep-line) !important;
overflow: hidden;
border-radius: 14px;
}
.mw-parser-output table.wikitable th{
background: rgba(238,224,194,0.88);
color: var(--ep-ink);
border-color: rgba(132,95,42,0.16) !important;
}
.mw-parser-output table.wikitable td{
border-color: rgba(132,95,42,0.12) !important;
}
.mw-parser-output blockquote{
margin: 1.2em 0;
padding: 14px 18px;
background: rgba(250,241,222,0.78);
border-left: 4px solid rgba(184,139,66,0.55);
color: var(--ep-ink-soft);
border-radius: 14px;
}
.mw-parser-output pre{
padding: 14px 16px;
background: rgba(48, 52, 60, 0.90) !important;
color: #f5efe3 !important;
border: 1px solid rgba(255,255,255,0.10);
border-radius: 12px;
overflow: auto;
}
.mw-parser-output code,
.mw-parser-output .mw-code{
font-family: ui-monospace, SFMono-Regular, Consolas, monospace !important;
}
.mw-parser-output code{
background: rgba(120,85,35,0.08) !important;
color: var(--ep-ink);
border-radius: 8px;
padding: 0.14em 0.36em;
}
/* =========================================================
5. ССЫЛКИ И ФУТЕР
========================================================= */
a{
color: #7a5423;
text-decoration-color: rgba(122,84,35,0.28);
text-underline-offset: 0.14em;
}
a:hover{
color: #4d3317;
text-decoration-color: rgba(77,51,23,0.45);
}
#footer,
.mw-footer{
background: rgba(236,242,255,0.84) !important;
backdrop-filter: blur(6px);
-webkit-backdrop-filter: blur(6px);
border-top: 1px solid rgba(120,85,35,0.10);
}
.page-Main_Page .mw-portlet#p-toc,
.page-Заглавная_страница .mw-portlet#p-toc{
display: none !important;
}
/* =========================================================
6. ГЛАВНАЯ: КОНТЕЙНЕР
========================================================= */
.page-Main_Page .ep-home,
.page-Заглавная_страница .ep-home{
max-width: var(--ep-content-max);
margin: 0 auto;
position: relative;
z-index: 2;
}
/* =========================================================
7. ГЛАВНАЯ: HERO
========================================================= */
.page-Main_Page .ep-hero,
.page-Заглавная_страница .ep-hero{
padding: 30px 20px 18px;
text-align: center;
position: relative;
z-index: 2;
}
.page-Main_Page .ep-kicker,
.page-Заглавная_страница .ep-kicker{
display: inline-block;
padding: 8px 16px;
border-radius: var(--ep-radius-pill);
background: rgba(246,235,214,0.90);
border: 1px solid rgba(120,85,35,0.18);
color: #866238;
font-family: 'Cormorant Garamond', serif !important;
font-size: 14px;
font-weight: 600;
line-height: 1.1;
letter-spacing: 0.10em;
text-transform: uppercase;
margin-bottom: 18px;
box-shadow: 0 8px 18px rgba(0,0,0,0.06);
}
.page-Main_Page .ep-hero-logo,
.page-Заглавная_страница .ep-hero-logo{
width: min(780px, 100%);
aspect-ratio: 780 / 180;
margin: 0 auto 18px;
background: url("/resources/assets/ep-hero.png") center center / contain no-repeat;
}
.page-Main_Page .ep-subtitle,
.page-Заглавная_страница .ep-subtitle{
max-width: 980px;
margin: 0 auto;
padding: 18px 22px;
font-size: 20px;
line-height: 1.65;
color: var(--ep-ink-soft) !important;
background: var(--ep-paper-soft) !important;
border: 1px solid rgba(120,85,35,0.14) !important;
border-radius: 18px;
box-shadow: var(--ep-shadow-soft) !important;
backdrop-filter: blur(6px);
-webkit-backdrop-filter: blur(6px);
}
.page-Main_Page .ep-subtitle pre,
.page-Main_Page .ep-subtitle code,
.page-Main_Page .ep-subtitle .mw-code,
.page-Main_Page .ep-subtitle p,
.page-Заглавная_страница .ep-subtitle pre,
.page-Заглавная_страница .ep-subtitle code,
.page-Заглавная_страница .ep-subtitle .mw-code,
.page-Заглавная_страница .ep-subtitle p{
margin: 0 !important;
padding: 0 !important;
background: transparent !important;
border: 0 !important;
box-shadow: none !important;
color: inherit !important;
font: inherit !important;
white-space: normal !important;
}
/* =========================================================
8. ГЛАВНАЯ: ПОДЗАГОЛОВКИ СЕКЦИЙ
========================================================= */
.page-Main_Page .ep-section-heading,
.page-Заглавная_страница .ep-section-heading{
margin: 0 0 14px;
font-family: 'Cormorant Garamond', serif !important;
font-size: 34px;
line-height: 1.05;
font-weight: 700;
color: var(--ep-ink);
letter-spacing: 0.01em;
}
/* =========================================================
9. ГЛАВНАЯ: БЫСТРЫЙ СТАРТ
========================================================= */
.page-Main_Page .ep-quickstart,
.page-Заглавная_страница .ep-quickstart{
margin: 16px 0 28px;
padding: 22px 24px;
border-radius: 22px;
background: linear-gradient(180deg, rgba(255,253,248,0.92), rgba(244,229,199,0.84));
border: 1px solid var(--ep-line);
box-shadow: var(--ep-shadow-soft), var(--ep-inset);
position: relative;
overflow: hidden;
}
.page-Main_Page .ep-quickstart::before,
.page-Заглавная_страница .ep-quickstart::before{
content: "";
position: absolute;
inset: 0;
background:
radial-gradient(circle at top left, rgba(255,255,255,0.28), transparent 28%),
radial-gradient(circle at bottom right, rgba(188,141,74,0.08), transparent 32%);
pointer-events: none;
}
.page-Main_Page .ep-quickstart__links,
.page-Заглавная_страница .ep-quickstart__links{
display: flex;
flex-wrap: wrap;
gap: 14px;
position: relative;
z-index: 1;
font-size: 0;
}
/* =========================================================
10. ГЛАВНАЯ: СЕТКА И КАРТОЧКИ
========================================================= */
.page-Main_Page .ep-grid,
.page-Заглавная_страница .ep-grid{
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 24px;
margin: 0 0 18px;
position: relative;
z-index: 2;
}
.page-Main_Page .ep-card,
.page-Заглавная_страница .ep-card{
position: relative;
padding: 26px 24px 24px;
border-radius: var(--ep-radius-xl);
background: linear-gradient(180deg, rgba(255,253,248,0.95), rgba(244,229,199,0.89));
border: 1px solid var(--ep-line);
box-shadow: var(--ep-shadow), var(--ep-inset);
overflow: hidden;
transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.page-Main_Page .ep-card:hover,
.page-Заглавная_страница .ep-card:hover{
transform: translateY(-3px);
box-shadow: var(--ep-shadow-hover), var(--ep-inset);
border-color: rgba(145,108,52,0.24);
}
.page-Main_Page .ep-card::before,
.page-Заглавная_страница .ep-card::before{
content: "";
position: absolute;
inset: 0;
border-radius: var(--ep-radius-xl);
pointer-events: none;
background:
radial-gradient(circle at top left, rgba(255,255,255,0.28), transparent 28%),
radial-gradient(circle at bottom right, rgba(188,141,74,0.10), transparent 30%);
}
.page-Main_Page .ep-card::after,
.page-Заглавная_страница .ep-card::after{
content: "";
position: absolute;
inset: 10px;
border-radius: 18px;
border: 1px solid rgba(132,95,42,0.08);
pointer-events: none;
}
.page-Main_Page .ep-card--accent,
.page-Заглавная_страница .ep-card--accent{
background:
linear-gradient(180deg, rgba(255,252,246,0.96), rgba(243,226,191,0.90));
border-color: rgba(145,108,52,0.22);
}
.page-Main_Page .ep-card--accent::before,
.page-Заглавная_страница .ep-card--accent::before{
background:
radial-gradient(circle at top left, rgba(255,255,255,0.34), transparent 26%),
radial-gradient(circle at bottom right, rgba(205,156,82,0.14), transparent 32%);
}
.page-Main_Page .ep-card__icon,
.page-Заглавная_страница .ep-card__icon{
font-size: 30px;
line-height: 1;
margin-bottom: 14px;
position: relative;
z-index: 1;
filter: drop-shadow(0 2px 2px rgba(0,0,0,0.08));
}
.page-Main_Page .ep-card__title,
.page-Заглавная_страница .ep-card__title{
margin: 0 0 14px;
font-family: 'Cormorant Garamond', serif !important;
font-size: 46px;
line-height: 1;
font-weight: 700;
color: var(--ep-ink);
letter-spacing: 0.01em;
position: relative;
z-index: 1;
}
.page-Main_Page .ep-card__text,
.page-Заглавная_страница .ep-card__text{
margin: 0 0 18px;
padding: 0 !important;
font-size: 18px;
line-height: 1.7;
color: var(--ep-ink-soft) !important;
background: transparent !important;
border: 0 !important;
box-shadow: none !important;
position: relative;
z-index: 1;
}
.page-Main_Page .ep-card__text p,
.page-Main_Page .ep-card__text pre,
.page-Main_Page .ep-card__text code,
.page-Main_Page .ep-card__text .mw-code,
.page-Заглавная_страница .ep-card__text p,
.page-Заглавная_страница .ep-card__text pre,
.page-Заглавная_страница .ep-card__text code,
.page-Заглавная_страница .ep-card__text .mw-code{
margin: 0 !important;
padding: 0 !important;
background: transparent !important;
border: 0 !important;
box-shadow: none !important;
color: inherit !important;
font: inherit !important;
white-space: normal !important;
}
/* =========================================================
EP MAIN PAGE — decorative panel upgrade
добавить НИЖЕ текущих стилей
========================================================= */
.page-Main_Page .ep-card,
.page-Заглавная_страница .ep-card,
.page-Main_Page .ep-panel,
.page-Заглавная_страница .ep-panel,
.page-Main_Page .ep-quickstart,
.page-Заглавная_страница .ep-quickstart{
background:
linear-gradient(180deg, rgba(255,253,246,0.96), rgba(240,224,191,0.90)) !important;
border: 1px solid rgba(145,108,52,0.22) !important;
box-shadow:
0 12px 28px rgba(0,0,0,0.10),
inset 0 1px 0 rgba(255,255,255,0.55),
inset 0 0 0 1px rgba(255,248,232,0.42) !important;
}
/* более читаемая внутренняя рамка */
.page-Main_Page .ep-card::after,
.page-Заглавная_страница .ep-card::after,
.page-Main_Page .ep-panel::after,
.page-Заглавная_страница .ep-panel::after,
.page-Main_Page .ep-quickstart::after,
.page-Заглавная_страница .ep-quickstart::after{
content: "";
position: absolute;
inset: 9px;
border-radius: 16px;
border: 1px solid rgba(132,95,42,0.14);
pointer-events: none;
}
/* дополнительный очень тонкий контур */
.page-Main_Page .ep-card,
.page-Заглавная_страница .ep-card{
outline: 1px solid rgba(255,244,220,0.35);
outline-offset: -2px;
}
/* чуть более “бумажная” поверхность */
.page-Main_Page .ep-card::before,
.page-Заглавная_страница .ep-card::before,
.page-Main_Page .ep-panel::before,
.page-Заглавная_страница .ep-panel::before,
.page-Main_Page .ep-quickstart::before,
.page-Заглавная_страница .ep-quickstart::before{
background:
radial-gradient(circle at top left, rgba(255,255,255,0.22), transparent 26%),
radial-gradient(circle at bottom right, rgba(188,141,74,0.10), transparent 30%),
linear-gradient(180deg, rgba(255,255,255,0.05), rgba(120,85,35,0.02));
}
/* заголовки сделать чуть “титульнее” */
.page-Main_Page .ep-card__title,
.page-Заглавная_страница .ep-card__title,
.page-Main_Page .ep-panel h2,
.page-Заглавная_страница .ep-panel h2{
color: #2b1d11 !important;
text-shadow: 0 1px 0 rgba(255,255,255,0.28);
}
/* теги чуть более похожи на игровые кнопки */
.page-Main_Page .ep-card__links a,
.page-Main_Page .ep-quickstart__links a,
.page-Заглавная_страница .ep-card__links a,
.page-Заглавная_страница .ep-quickstart__links a{
background:
linear-gradient(180deg, rgba(250,245,234,1), rgba(233,219,189,0.98)) !important;
border: 1px solid rgba(145,108,52,0.22) !important;
box-shadow:
inset 0 1px 0 rgba(255,255,255,0.72),
inset 0 -1px 0 rgba(145,108,52,0.06),
0 3px 8px rgba(0,0,0,0.05) !important;
}
/* hover сделать менее modern, более “физическим” */
.page-Main_Page .ep-card:hover,
.page-Заглавная_страница .ep-card:hover{
transform: translateY(-2px);
box-shadow:
0 16px 34px rgba(0,0,0,0.12),
inset 0 1px 0 rgba(255,255,255,0.55),
inset 0 0 0 1px rgba(255,248,232,0.42) !important;
}
/* =========================================================
11. ГЛАВНАЯ: КНОПКИ / ССЫЛКИ
========================================================= */
.page-Main_Page .ep-card__links,
.page-Заглавная_страница .ep-card__links{
display: flex;
flex-wrap: wrap;
align-items: flex-start;
justify-content: flex-start;
gap: 14px;
margin-top: 18px;
padding: 0 !important;
background: transparent !important;
border: 0 !important;
box-shadow: none !important;
position: relative;
z-index: 1;
font-size: 0;
}
.page-Main_Page .ep-card__links p,
.page-Main_Page .ep-card__links pre,
.page-Main_Page .ep-card__links code,
.page-Main_Page .ep-card__links .mw-code,
.page-Main_Page .ep-quickstart__links p,
.page-Main_Page .ep-quickstart__links pre,
.page-Main_Page .ep-quickstart__links code,
.page-Main_Page .ep-quickstart__links .mw-code,
.page-Заглавная_страница .ep-card__links p,
.page-Заглавная_страница .ep-card__links pre,
.page-Заглавная_страница .ep-card__links code,
.page-Заглавная_страница .ep-card__links .mw-code,
.page-Заглавная_страница .ep-quickstart__links p,
.page-Заглавная_страница .ep-quickstart__links pre,
.page-Заглавная_страница .ep-quickstart__links code,
.page-Заглавная_страница .ep-quickstart__links .mw-code{
display: contents;
margin: 0 !important;
padding: 0 !important;
background: transparent !important;
border: 0 !important;
box-shadow: none !important;
color: inherit !important;
font: inherit !important;
white-space: normal !important;
}
.page-Main_Page .ep-card__links a,
.page-Main_Page .ep-quickstart__links a,
.page-Заглавная_страница .ep-card__links a,
.page-Заглавная_страница .ep-quickstart__links a{
display: inline-flex !important;
align-items: center;
justify-content: center;
min-height: 42px;
padding: 9px 18px;
border-radius: var(--ep-radius-pill);
background: linear-gradient(180deg, rgba(248,243,232,0.98), rgba(235,223,197,0.94)) !important;
border: 1px solid var(--ep-gold-border) !important;
box-shadow:
inset 0 1px 0 rgba(255,255,255,0.65),
0 3px 8px rgba(0,0,0,0.05) !important;
color: var(--ep-gold-text) !important;
text-decoration: none !important;
font-family: 'Inter', system-ui, sans-serif !important;
font-size: 15px !important;
font-weight: 600;
line-height: 1.2;
white-space: nowrap;
transition:
transform .15s ease,
box-shadow .15s ease,
color .15s ease,
border-color .15s ease,
background .15s ease;
}
.page-Main_Page .ep-card__links a:hover,
.page-Main_Page .ep-quickstart__links a:hover,
.page-Заглавная_страница .ep-card__links a:hover,
.page-Заглавная_страница .ep-quickstart__links a:hover{
color: var(--ep-gold-text-dark) !important;
transform: translateY(-1px);
border-color: rgba(145,108,52,0.28) !important;
background: linear-gradient(180deg, rgba(252,247,238,1), rgba(240,226,198,0.97)) !important;
box-shadow:
inset 0 1px 0 rgba(255,255,255,0.78),
0 6px 14px rgba(0,0,0,0.08),
0 0 0 3px rgba(188,141,74,0.07) !important;
}
/* =========================================================
12. ГЛАВНАЯ: НИЖНИЕ ПАНЕЛИ
========================================================= */
.page-Main_Page .ep-lower,
.page-Заглавная_страница .ep-lower{
display: grid;
grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
gap: 24px;
margin-top: 18px;
align-items: start;
position: relative;
z-index: 2;
}
.page-Main_Page .ep-panel,
.page-Заглавная_страница .ep-panel{
padding: 24px 24px 22px;
border-radius: 22px;
background: linear-gradient(180deg, rgba(255,253,248,0.92), rgba(244,229,199,0.84));
border: 1px solid var(--ep-line);
box-shadow: 0 12px 28px rgba(0,0,0,0.10), var(--ep-inset);
position: relative;
overflow: hidden;
}
.page-Main_Page .ep-panel::before,
.page-Заглавная_страница .ep-panel::before{
content: "";
position: absolute;
inset: 0;
background:
radial-gradient(circle at top left, rgba(255,255,255,0.24), transparent 28%),
radial-gradient(circle at bottom right, rgba(188,141,74,0.08), transparent 30%);
pointer-events: none;
}
.page-Main_Page .ep-panel h2,
.page-Заглавная_страница .ep-panel h2{
margin: 0 0 14px;
border: 0 !important;
color: var(--ep-ink) !important;
font-family: 'Cormorant Garamond', serif !important;
font-size: 42px;
line-height: 1.04;
font-weight: 700;
letter-spacing: 0.01em;
position: relative;
z-index: 1;
}
.page-Main_Page .ep-note,
.page-Заглавная_страница .ep-note{
margin: 0 0 14px;
padding: 0 !important;
background: transparent !important;
border: 0 !important;
box-shadow: none !important;
color: rgba(42, 33, 23, 0.72) !important;
font-size: 17px;
line-height: 1.65;
font-family: 'Inter', system-ui, sans-serif !important;
position: relative;
z-index: 1;
}
.page-Main_Page .ep-note p,
.page-Main_Page .ep-note pre,
.page-Main_Page .ep-note code,
.page-Main_Page .ep-note .mw-code,
.page-Заглавная_страница .ep-note p,
.page-Заглавная_страница .ep-note pre,
.page-Заглавная_страница .ep-note code,
.page-Заглавная_страница .ep-note .mw-code{
margin: 0 !important;
padding: 0 !important;
background: transparent !important;
border: 0 !important;
box-shadow: none !important;
color: inherit !important;
font: inherit !important;
white-space: normal !important;
}
.page-Main_Page .ep-list,
.page-Заглавная_страница .ep-list{
margin: 10px 0 0;
padding-left: 20px;
}
.page-Main_Page .ep-list li,
.page-Заглавная_страница .ep-list li{
margin: 8px 0;
line-height: 1.55;
}
/* =========================================================
13. НА ГЛАВНОЙ УБИРАЕМ ЛИШНИЕ ПРОКРУТКИ
========================================================= */
.page-Main_Page .mw-parser-output,
.page-Заглавная_страница .mw-parser-output,
.page-Main_Page .mw-parser-output > div,
.page-Заглавная_страница .mw-parser-output > div{
overflow: visible !important;
}
.page-Main_Page pre,
.page-Заглавная_страница pre,
.page-Main_Page .mw-code,
.page-Заглавная_страница .mw-code{
overflow: visible !important;
word-break: break-word !important;
max-width: 100% !important;
}
.page-Main_Page .ep-card,
.page-Main_Page .ep-panel,
.page-Main_Page .ep-quickstart,
.page-Заглавная_страница .ep-card,
.page-Заглавная_страница .ep-panel,
.page-Заглавная_страница .ep-quickstart{
isolation: isolate;
}
/* =========================================================
14. АДАПТИВ
========================================================= */
@media (max-width: 1200px){
.page-Main_Page .ep-grid,
.page-Заглавная_страница .ep-grid,
.page-Main_Page .ep-lower,
.page-Заглавная_страница .ep-lower{
grid-template-columns: 1fr;
}
}
@media (max-width: 900px){
.mw-parser-output h1,
.firstHeading{
font-size: 42px;
}
.mw-parser-output h2{
font-size: 32px;
}
.mw-parser-output h3{
font-size: 25px;
}
body:not(.page-Main_Page):not(.page-Заглавная_страница) .mw-parser-output{
padding: 22px 20px;
}
.page-Main_Page .ep-hero-logo,
.page-Заглавная_страница .ep-hero-logo{
width: min(560px, 100%);
margin-bottom: 16px;
}
.page-Main_Page .ep-subtitle,
.page-Заглавная_страница .ep-subtitle{
font-size: 18px;
padding: 16px 18px;
}
.page-Main_Page .ep-quickstart,
.page-Заглавная_страница .ep-quickstart,
.page-Main_Page .ep-card,
.page-Заглавная_страница .ep-card,
.page-Main_Page .ep-panel,
.page-Заглавная_страница .ep-panel{
padding: 22px 20px;
}
.page-Main_Page .ep-card__title,
.page-Заглавная_страница .ep-card__title{
font-size: 38px;
}
.page-Main_Page .ep-panel h2,
.page-Заглавная_страница .ep-panel h2{
font-size: 35px;
}
.page-Main_Page .ep-section-heading,
.page-Заглавная_страница .ep-section-heading{
font-size: 30px;
}
}
@media (max-width: 640px){
.mw-parser-output h1,
.firstHeading{
font-size: 36px;
}
.mw-parser-output h2{
font-size: 28px;
}
.mw-parser-output h3{
font-size: 22px;
}
.mw-parser-output p,
.mw-parser-output li{
font-size: 16px;
line-height: 1.68;
}
body:not(.page-Main_Page):not(.page-Заглавная_страница) .mw-parser-output{
padding: 18px 16px;
}
.page-Main_Page .ep-hero,
.page-Заглавная_страница .ep-hero{
padding: 20px 12px 14px;
}
.page-Main_Page .ep-hero-logo,
.page-Заглавная_страница .ep-hero-logo{
width: min(420px, 100%);
margin-bottom: 14px;
}
.page-Main_Page .ep-kicker,
.page-Заглавная_страница .ep-kicker{
font-size: 12px;
letter-spacing: 0.08em;
padding: 7px 14px;
}
.page-Main_Page .ep-subtitle,
.page-Заглавная_страница .ep-subtitle{
font-size: 16px;
padding: 14px 16px;
}
.page-Main_Page .ep-section-heading,
.page-Заглавная_страница .ep-section-heading{
font-size: 27px;
margin-bottom: 12px;
}
.page-Main_Page .ep-quickstart,
.page-Заглавная_страница .ep-quickstart{
margin: 14px 0 22px;
padding: 18px 16px;
border-radius: 18px;
}
.page-Main_Page .ep-grid,
.page-Заглавная_страница .ep-grid{
gap: 18px;
margin-top: 0;
}
.page-Main_Page .ep-card,
.page-Заглавная_страница .ep-card{
padding: 20px 18px 18px;
border-radius: 20px;
}
.page-Main_Page .ep-card::after,
.page-Заглавная_страница .ep-card::after{
inset: 8px;
border-radius: 14px;
}
.page-Main_Page .ep-card__icon,
.page-Заглавная_страница .ep-card__icon{
font-size: 26px;
margin-bottom: 12px;
}
.page-Main_Page .ep-card__title,
.page-Заглавная_страница .ep-card__title{
font-size: 32px;
line-height: 1.05;
margin-bottom: 12px;
}
.page-Main_Page .ep-card__text,
.page-Заглавная_страница .ep-card__text{
font-size: 16px;
line-height: 1.65;
margin-bottom: 16px;
}
.page-Main_Page .ep-panel h2,
.page-Заглавная_страница .ep-panel h2{
font-size: 30px;
line-height: 1.08;
}
.page-Main_Page .ep-note,
.page-Заглавная_страница .ep-note{
font-size: 16px;
}
.page-Main_Page .ep-card__links,
.page-Заглавная_страница .ep-card__links,
.page-Main_Page .ep-quickstart__links,
.page-Заглавная_страница .ep-quickstart__links{
gap: 10px;
margin-top: 16px;
}
.page-Main_Page .ep-card__links a,
.page-Main_Page .ep-quickstart__links a,
.page-Заглавная_страница .ep-card__links a,
.page-Заглавная_страница .ep-quickstart__links a{
min-height: 38px;
padding: 8px 14px;
font-size: 14px !important;
}
}
@media (max-width: 480px){
.page-Main_Page .ep-hero-logo,
.page-Заглавная_страница .ep-hero-logo{
width: min(360px, 100%);
margin-bottom: 12px;
}
.page-Main_Page .ep-card__title,
.page-Заглавная_страница .ep-card__title{
font-size: 29px;
}
.page-Main_Page .ep-panel h2,
.page-Заглавная_страница .ep-panel h2{
font-size: 27px;
}
.page-Main_Page .ep-card__links,
.page-Заглавная_страница .ep-card__links,
.page-Main_Page .ep-quickstart__links,
.page-Заглавная_страница .ep-quickstart__links{
gap: 9px;
}
.page-Main_Page .ep-card__links a,
.page-Main_Page .ep-quickstart__links a,
.page-Заглавная_страница .ep-card__links a,
.page-Заглавная_страница .ep-quickstart__links a{
min-height: 36px;
padding: 8px 13px;
font-size: 14px !important;
white-space: normal;
}
}
/* =========================================================
FIX: светлый инфоблок / убрать тёмный pre-style и прокрутку
========================================================= */
.ep-factbox,
.ep-important,
.ep-wiki-page .ep-factbox,
.ep-wiki-page .ep-important{
margin: 0 0 22px;
padding: 18px 20px !important;
background: linear-gradient(180deg, rgba(255,253,248,0.95), rgba(244,229,199,0.88)) !important;
border: 1px solid rgba(132,95,42,0.14) !important;
border-radius: 18px !important;
box-shadow:
0 10px 24px rgba(0,0,0,0.06),
inset 0 1px 0 rgba(255,255,255,0.45) !important;
color: rgba(42,33,23,0.88) !important;
font-family: 'Inter', system-ui, sans-serif !important;
font-size: 17px !important;
line-height: 1.7 !important;
white-space: normal !important;
overflow: visible !important;
word-break: break-word !important;
overflow-wrap: anywhere !important;
}
/* Если MediaWiki завернула содержимое в p/pre/code */
.ep-factbox p,
.ep-factbox pre,
.ep-factbox code,
.ep-factbox .mw-code,
.ep-important p,
.ep-important pre,
.ep-important code,
.ep-important .mw-code,
.ep-wiki-page .ep-factbox p,
.ep-wiki-page .ep-factbox pre,
.ep-wiki-page .ep-factbox code,
.ep-wiki-page .ep-factbox .mw-code,
.ep-wiki-page .ep-important p,
.ep-wiki-page .ep-important pre,
.ep-wiki-page .ep-important code,
.ep-wiki-page .ep-important .mw-code{
margin: 0 0 8px !important;
padding: 0 !important;
background: transparent !important;
border: 0 !important;
box-shadow: none !important;
color: inherit !important;
font-family: 'Inter', system-ui, sans-serif !important;
font-size: inherit !important;
line-height: inherit !important;
white-space: normal !important;
overflow: visible !important;
word-break: break-word !important;
overflow-wrap: anywhere !important;
}
/* Последний абзац без лишнего отступа */
.ep-factbox p:last-child,
.ep-important p:last-child,
.ep-wiki-page .ep-factbox p:last-child,
.ep-wiki-page .ep-important p:last-child{
margin-bottom: 0 !important;
}
/* Выделение заголовочных strong внутри блока */
.ep-factbox strong,
.ep-important strong,
.ep-wiki-page .ep-factbox strong,
.ep-wiki-page .ep-important strong{
color: #4e3519 !important;
font-weight: 700 !important;
}
/* Мобильная версия */
@media (max-width: 640px){
.ep-factbox,
.ep-important,
.ep-wiki-page .ep-factbox,
.ep-wiki-page .ep-important{
padding: 14px 16px !important;
border-radius: 16px !important;
font-size: 15px !important;
line-height: 1.6 !important;
overflow: visible !important;
}
.ep-factbox p,
.ep-factbox pre,
.ep-factbox code,
.ep-factbox .mw-code,
.ep-important p,
.ep-important pre,
.ep-important code,
.ep-important .mw-code,
.ep-wiki-page .ep-factbox p,
.ep-wiki-page .ep-factbox pre,
.ep-wiki-page .ep-factbox code,
.ep-wiki-page .ep-factbox .mw-code,
.ep-wiki-page .ep-important p,
.ep-wiki-page .ep-important pre,
.ep-wiki-page .ep-important code,
.ep-wiki-page .ep-important .mw-code{
white-space: normal !important;
overflow: visible !important;
word-break: break-word !important;
overflow-wrap: anywhere !important;
}
}
/* =========================================================
Расы / финальный стабильный вариант без раскрывашек
========================================================= */
/* Общий скролл-контейнер */
.ep-table-scroll{
width: 100%;
overflow-x: auto;
overflow-y: visible;
-webkit-overflow-scrolling: touch;
position: relative;
margin: 0 0 24px;
padding-bottom: 6px;
}
.ep-table-scroll::after{
content: "";
position: sticky;
right: 0;
top: 0;
float: right;
width: 28px;
height: 100%;
pointer-events: none;
background: linear-gradient(to left, rgba(255,248,236,0.92), rgba(255,248,236,0));
}
/* Верхняя таблица сравнения */
.ep-race-compare{
width: max-content;
min-width: 980px;
margin: 0;
border-collapse: separate;
border-spacing: 0;
border-radius: 18px;
overflow: hidden;
background: rgba(255,251,243,0.94);
border: 1px solid rgba(132,95,42,0.12) !important;
box-shadow: 0 10px 24px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.45);
}
.ep-race-compare th{
background: rgba(238,224,194,0.92) !important;
color: #2a2117 !important;
font-weight: 700;
text-align: center;
vertical-align: middle;
white-space: nowrap;
}
.ep-race-compare td{
text-align: center;
vertical-align: middle;
white-space: nowrap;
}
.ep-race-compare td:first-child,
.ep-race-compare th:first-child{
text-align: left;
white-space: nowrap;
font-weight: 700;
position: sticky;
left: 0;
z-index: 2;
background: rgba(255,251,243,0.98) !important;
}
.ep-race-compare tr:first-child th:first-child,
.ep-race-compare tr:nth-child(2) th:first-child{
background: rgba(238,224,194,0.98) !important;
z-index: 3;
}
.ep-race-compare tr th:nth-child(4),
.ep-race-compare tr th:nth-child(7),
.ep-race-compare tr th:nth-child(10),
.ep-race-compare tr th:nth-child(13),
.ep-race-compare tr th:nth-child(16),
.ep-race-compare tr td:nth-child(4),
.ep-race-compare tr td:nth-child(7),
.ep-race-compare tr td:nth-child(10),
.ep-race-compare tr td:nth-child(13),
.ep-race-compare tr td:nth-child(16){
border-right: 2px solid rgba(132,95,42,0.18) !important;
}
.ep-race-compare tr:nth-child(2) th:nth-child(3),
.ep-race-compare tr:nth-child(2) th:nth-child(6),
.ep-race-compare tr:nth-child(2) th:nth-child(9),
.ep-race-compare tr:nth-child(2) th:nth-child(12),
.ep-race-compare tr:nth-child(2) th:nth-child(15){
border-right: 2px solid rgba(132,95,42,0.18) !important;
}
/* Карточки параметров */
.ep-race-stat-grid{
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 10px;
margin: 14px 0 18px;
}
.ep-race-stat{
padding: 12px 14px;
border-radius: 14px;
background: rgba(255,249,239,0.82);
border: 1px solid rgba(132,95,42,0.08);
min-width: 0;
}
.ep-race-stat__label{
display: block;
margin-bottom: 4px;
font-size: 12px;
font-weight: 700;
letter-spacing: 0.04em;
text-transform: uppercase;
color: rgba(42,33,23,0.62);
}
.ep-race-stat__value{
display: block;
font-size: 18px;
line-height: 1.35;
font-weight: 700;
color: #2a2117;
word-break: break-word;
overflow-wrap: anywhere;
}
/* Таблицы skill caps */
.ep-skillcap-table{
width: max-content;
min-width: 560px;
margin: 0 0 28px !important;
border-collapse: separate;
border-spacing: 0;
border-radius: 18px;
overflow: hidden;
background: rgba(255,251,243,0.94);
border: 1px solid rgba(132,95,42,0.12) !important;
box-shadow: 0 10px 24px rgba(0,0,0,0.05), inset 0 1px 0 rgba(255,255,255,0.45);
}
.ep-skillcap-table th{
background: rgba(238,224,194,0.82) !important;
color: #2a2117 !important;
font-weight: 700;
text-align: center;
vertical-align: middle;
white-space: nowrap;
}
.ep-skillcap-table td{
text-align: center;
vertical-align: middle;
white-space: nowrap;
}
.ep-skillcap-table td:first-child,
.ep-skillcap-table th:first-child{
text-align: left;
white-space: nowrap;
min-width: 210px;
}
.ep-skillcap-table td:first-child a{
font-weight: 600;
}
/* Заголовки секций */
.mw-parser-output h3{
scroll-margin-top: 90px;
}
/* Планшет */
@media (max-width: 1100px){
.ep-race-stat-grid{
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
/* Телефон */
@media (max-width: 640px){
.ep-table-scroll{
margin: 0 0 20px;
padding-bottom: 8px;
}
.ep-race-compare{
min-width: 980px;
}
.ep-skillcap-table{
min-width: 560px;
}
.ep-race-stat-grid{
grid-template-columns: 1fr;
gap: 8px;
}
.ep-race-stat{
padding: 10px 12px;
}
.ep-race-stat__value{
font-size: 16px;
line-height: 1.4;
}
.ep-skillcap-table th:first-child,
.ep-skillcap-table td:first-child{
min-width: 180px;
}
}
/* =========================================================
EP MAIN PAGE — STRONGER CARD UPGRADE
ВСТАВИТЬ В САМЫЙ КОНЕЦ ФАЙЛА
========================================================= */
.page-Main_Page .ep-card,
.page-Заглавная_страница .ep-card,
.page-Main_Page .ep-panel,
.page-Заглавная_страница .ep-panel,
.page-Main_Page .ep-quickstart,
.page-Заглавная_страница .ep-quickstart{
background: linear-gradient(180deg, rgba(255,251,242,0.98), rgba(235,218,184,0.94)) !important;
border: 1px solid rgba(145,108,52,0.30) !important;
box-shadow:
0 16px 34px rgba(0,0,0,0.12),
inset 0 1px 0 rgba(255,255,255,0.62),
inset 0 0 0 1px rgba(255,245,222,0.50) !important;
}
/* внутренняя рамка заметнее */
.page-Main_Page .ep-card::after,
.page-Заглавная_страница .ep-card::after,
.page-Main_Page .ep-panel::after,
.page-Заглавная_страница .ep-panel::after,
.page-Main_Page .ep-quickstart::after,
.page-Заглавная_страница .ep-quickstart::after{
content: "";
position: absolute;
inset: 8px;
border-radius: 18px;
border: 1px solid rgba(132,95,42,0.18) !important;
pointer-events: none;
}
/* поверхность более "пергаментная" */
.page-Main_Page .ep-card::before,
.page-Заглавная_страница .ep-card::before,
.page-Main_Page .ep-panel::before,
.page-Заглавная_страница .ep-panel::before,
.page-Main_Page .ep-quickstart::before,
.page-Заглавная_страница .ep-quickstart::before{
content: "";
position: absolute;
inset: 0;
pointer-events: none;
border-radius: inherit;
background:
radial-gradient(circle at top left, rgba(255,255,255,0.30), transparent 24%),
radial-gradient(circle at bottom right, rgba(188,141,74,0.14), transparent 32%),
linear-gradient(180deg, rgba(255,255,255,0.04), rgba(120,85,35,0.05)) !important;
}
/* заголовки заметнее */
.page-Main_Page .ep-card__title,
.page-Заглавная_страница .ep-card__title,
.page-Main_Page .ep-panel h2,
.page-Заглавная_страница .ep-panel h2{
color: #2b1d11 !important;
text-shadow: 0 1px 0 rgba(255,255,255,0.34);
}
/* кнопки-пилюли чуть плотнее */
.page-Main_Page .ep-card__links a,
.page-Main_Page .ep-quickstart__links a,
.page-Заглавная_страница .ep-card__links a,
.page-Заглавная_страница .ep-quickstart__links a{
background: linear-gradient(180deg, rgba(251,246,236,1), rgba(230,214,181,0.98)) !important;
border: 1px solid rgba(145,108,52,0.28) !important;
box-shadow:
inset 0 1px 0 rgba(255,255,255,0.76),
inset 0 -1px 0 rgba(145,108,52,0.08),
0 4px 10px rgba(0,0,0,0.06) !important;
}
/* hover чуть выразительнее */
.page-Main_Page .ep-card:hover,
.page-Заглавная_страница .ep-card:hover{
transform: translateY(-2px);
box-shadow:
0 20px 40px rgba(0,0,0,0.14),
inset 0 1px 0 rgba(255,255,255,0.62),
inset 0 0 0 1px rgba(255,245,222,0.50) !important;
border-color: rgba(145,108,52,0.36) !important;
}
/* =========================================================
Races page — tile catalog
========================================================= */
.page-Races .ep-race-tiles,
.page-Расы .ep-race-tiles{
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 22px;
margin: 22px 0 8px;
}
.page-Races .ep-race-tile,
.page-Расы .ep-race-tile{
position: relative;
overflow: hidden;
border-radius: 22px;
background: linear-gradient(180deg, rgba(255,252,246,0.96), rgba(241,226,194,0.90));
border: 1px solid rgba(145,108,52,0.18);
box-shadow:
0 14px 30px rgba(0,0,0,0.10),
inset 0 1px 0 rgba(255,255,255,0.50);
transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.page-Races .ep-race-tile:hover,
.page-Расы .ep-race-tile:hover{
transform: translateY(-3px);
box-shadow:
0 18px 36px rgba(0,0,0,0.14),
inset 0 1px 0 rgba(255,255,255,0.54);
border-color: rgba(145,108,52,0.28);
}
.page-Races .ep-race-tile__image,
.page-Расы .ep-race-tile__image{
aspect-ratio: 4 / 3;
overflow: hidden;
background: rgba(245,236,214,0.70);
border-bottom: 1px solid rgba(145,108,52,0.12);
}
.page-Races .ep-race-tile__image a,
.page-Расы .ep-race-tile__image a{
display: block;
width: 100%;
height: 100%;
}
.page-Races .ep-race-tile__image img,
.page-Расы .ep-race-tile__image img{
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
.page-Races .ep-race-tile__title,
.page-Расы .ep-race-tile__title{
padding: 18px 18px 20px;
text-align: center;
font-family: 'Cormorant Garamond', serif !important;
font-size: 34px;
line-height: 1.05;
font-weight: 700;
color: #2a2117;
}
.page-Races .ep-race-tile__title a,
.page-Расы .ep-race-tile__title a{
color: inherit !important;
text-decoration: none !important;
}
.page-Races .ep-race-tile__title a:hover,
.page-Расы .ep-race-tile__title a:hover{
color: #5a3d1b !important;
}
@media (max-width: 1100px){
.page-Races .ep-race-tiles,
.page-Расы .ep-race-tiles{
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (max-width: 640px){
.page-Races .ep-race-tiles,
.page-Расы .ep-race-tiles{
grid-template-columns: 1fr;
gap: 16px;
}
.page-Races .ep-race-tile__title,
.page-Расы .ep-race-tile__title{
font-size: 28px;
padding: 16px 16px 18px;
}
}
/* =========================================================
Race guide cover image
========================================================= */
.ep-race-cover{
margin: 18px 0 24px;
border-radius: 22px;
overflow: hidden;
background: rgba(245,236,214,0.72);
border: 1px solid rgba(145,108,52,0.14);
box-shadow:
0 12px 28px rgba(0,0,0,0.08),
inset 0 1px 0 rgba(255,255,255,0.35);
}
.ep-race-cover .thumbinner,
.ep-race-cover .thumb,
.ep-race-cover .floatnone{
width: 100% !important;
max-width: 100% !important;
margin: 0 !important;
border: 0 !important;
background: transparent !important;
}
.ep-race-cover img{
display: block;
width: 100% !important;
height: auto !important;
max-width: 100% !important;
object-fit: cover;
}
.ep-race-cover .thumbcaption{
display: none;
}
@media (max-width: 640px){
.ep-race-cover{
margin: 14px 0 20px;
border-radius: 18px;
}
}