MediaWiki:Vector.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
| Line 1: | Line 1: | ||
/* === Bridgerpedia — | /* === Bridgerpedia — Dark Theme (clean rewrite) === */ | ||
:root { | :root { | ||
| Line 12: | Line 12: | ||
} | } | ||
/* Фон с тигровым узором на каркасе страницы */ | |||
html, body, | html, body, | ||
.mw-page-container, | .mw-page-container, | ||
.vector- | #mw-head, .vector-header, .vector-header-container, | ||
.vector- | #mw-panel, .vector-legacy-sidebar { | ||
background-image: | |||
linear-gradient(rgba(10, 11, 13, 0.9), rgba(10, 11, 13, 0.9)), | |||
. | url('/images/e/ee/Background1.png') !important; | ||
background- | background-repeat: repeat, repeat !important; | ||
background-size: cover, 500px 500px !important; | |||
background-attachment: fixed, fixed !important; | |||
background-color: transparent !important; | |||
color: var(--bp-text) !important; | color: var(--bp-text) !important; | ||
} | } | ||
/* Контентный блок остаётся отдельным цветом, без узора */ | |||
#content, .mw-body, .mw-body-content, .vector-body-before-content { | #content, .mw-body, .mw-body-content, .vector-body-before-content { | ||
background-color: var(--bp-bg-panel) !important; | background-color: var(--bp-bg-panel) !important; | ||
| Line 46: | Line 33: | ||
} | } | ||
# | /* Заголовки */ | ||
#firstHeading, h1, h2 { | |||
color: var(--bp-text) !important; | |||
border-bottom: 1px solid var(--bp-accent) !important; | |||
} | } | ||
h3, h4, h5 { | |||
color: var(--bp-text) !important; | |||
border-bottom: 1px solid var(--bp-border) !important; | |||
} | } | ||
a.new { color: #d16a5a !important; } | /* Ссылки */ | ||
a { color: var(--bp-link) !important; } | |||
a:hover { text-decoration: underline !important; } | |||
a.new, a.new span { color: #d16a5a !important; } | |||
# | /* Вкладки: Discussion, View history и т.д. */ | ||
color: var(--bp-text) !important; | #p-views li, #p-views li a, | ||
#p-namespaces li, #p-namespaces li a, | |||
#p-cactions li, #p-cactions li a, | |||
.vector-tab-noicon, .vector-tab-noicon a { | |||
background: none !important; | |||
background-color: transparent !important; | |||
color: var(--bp-text-dim) !important; | |||
} | |||
li.selected a { | |||
color: var(--bp-accent) !important; | |||
font-weight: 600 !important; | |||
} | } | ||
/* Таблицы */ | |||
table.wikitable, table.wikitable * { | table.wikitable, table.wikitable * { | ||
background-color: var(--bp-bg-elevated) !important; | background-color: var(--bp-bg-elevated) !important; | ||
| Line 70: | Line 73: | ||
table.wikitable th { color: var(--bp-accent) !important; } | table.wikitable th { color: var(--bp-accent) !important; } | ||
/* Кнопки */ | |||
.cdx-button, .mw-ui-button { | .cdx-button, .mw-ui-button { | ||
background-color: var(--bp-accent) !important; | background-color: var(--bp-accent) !important; | ||
| Line 76: | Line 80: | ||
} | } | ||
/* === Логотип: единственный чистый блок === */ | |||
#p-logo { | |||
width: 135px !important; | |||
height: 135px !important; | |||
display: flex !important; | |||
align-items: center !important; | |||
justify-content: center !important; | |||
overflow: visible !important; | |||
} | |||
#p-logo a { | |||
width: 135px !important; | |||
height: 135px !important; | |||
background-image: url('/images/4/49/Bp-logo-600.png') !important; | |||
background-size: contain !important; | |||
background-repeat: no-repeat !important; | |||
background-position: center center !important; | |||
display: block !important; | |||
} | |||
/* Инфобоксы под Cards/Weapons/NPC/Locations */ | |||
.bp-infobox { | .bp-infobox { | ||
background-color: var(--bp-bg-elevated); | background-color: var(--bp-bg-elevated); | ||
| Line 95: | Line 120: | ||
margin-bottom: 8px; | margin-bottom: 8px; | ||
border-bottom: 1px solid var(--bp-border); | border-bottom: 1px solid var(--bp-border); | ||
} | } | ||
Revision as of 11:49, 16 August 2026
/* === Bridgerpedia — Dark Theme (clean rewrite) === */
:root {
--bp-bg: #16181c;
--bp-bg-panel: #1e2126;
--bp-bg-elevated: #262a30;
--bp-border: #34383f;
--bp-text: #d4d4d4;
--bp-text-dim: #9a9a9a;
--bp-link: #6fa8dc;
--bp-accent: #e8930a;
}
/* Фон с тигровым узором на каркасе страницы */
html, body,
.mw-page-container,
#mw-head, .vector-header, .vector-header-container,
#mw-panel, .vector-legacy-sidebar {
background-image:
linear-gradient(rgba(10, 11, 13, 0.9), rgba(10, 11, 13, 0.9)),
url('/images/e/ee/Background1.png') !important;
background-repeat: repeat, repeat !important;
background-size: cover, 500px 500px !important;
background-attachment: fixed, fixed !important;
background-color: transparent !important;
color: var(--bp-text) !important;
}
/* Контентный блок остаётся отдельным цветом, без узора */
#content, .mw-body, .mw-body-content, .vector-body-before-content {
background-color: var(--bp-bg-panel) !important;
color: var(--bp-text) !important;
}
/* Заголовки */
#firstHeading, h1, h2 {
color: var(--bp-text) !important;
border-bottom: 1px solid var(--bp-accent) !important;
}
h3, h4, h5 {
color: var(--bp-text) !important;
border-bottom: 1px solid var(--bp-border) !important;
}
/* Ссылки */
a { color: var(--bp-link) !important; }
a:hover { text-decoration: underline !important; }
a.new, a.new span { color: #d16a5a !important; }
/* Вкладки: Discussion, View history и т.д. */
#p-views li, #p-views li a,
#p-namespaces li, #p-namespaces li a,
#p-cactions li, #p-cactions li a,
.vector-tab-noicon, .vector-tab-noicon a {
background: none !important;
background-color: transparent !important;
color: var(--bp-text-dim) !important;
}
li.selected a {
color: var(--bp-accent) !important;
font-weight: 600 !important;
}
/* Таблицы */
table.wikitable, table.wikitable * {
background-color: var(--bp-bg-elevated) !important;
color: var(--bp-text) !important;
border-color: var(--bp-border) !important;
}
table.wikitable th { color: var(--bp-accent) !important; }
/* Кнопки */
.cdx-button, .mw-ui-button {
background-color: var(--bp-accent) !important;
color: #16181c !important;
border: none !important;
}
/* === Логотип: единственный чистый блок === */
#p-logo {
width: 135px !important;
height: 135px !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
overflow: visible !important;
}
#p-logo a {
width: 135px !important;
height: 135px !important;
background-image: url('/images/4/49/Bp-logo-600.png') !important;
background-size: contain !important;
background-repeat: no-repeat !important;
background-position: center center !important;
display: block !important;
}
/* Инфобоксы под Cards/Weapons/NPC/Locations */
.bp-infobox {
background-color: var(--bp-bg-elevated);
border: 1px solid var(--bp-border);
border-top: 3px solid var(--bp-accent);
border-radius: 4px;
padding: 10px;
float: right;
width: 280px;
margin: 0 0 1em 1em;
color: var(--bp-text);
}
.bp-infobox-title {
color: var(--bp-accent);
font-weight: 700;
text-align: center;
padding-bottom: 8px;
margin-bottom: 8px;
border-bottom: 1px solid var(--bp-border);
}