MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 378: | Line 378: | ||
} | } | ||
/* ========================================= | /* ========================================= | ||
AXIAL HEADER - ACCOUNT + SEARCH | |||
========================================= */ | ========================================= */ | ||
/* | /* Right side of header */ | ||
.vector-header-end { | |||
display: flex !important; | |||
flex-direction: column !important; | |||
align-items: flex-end !important; | |||
justify-content: center !important; | |||
margin-left: auto !important; | |||
gap: 4px !important; | |||
} | |||
/* Account links - ABOVE search */ | |||
.vector-user-links, | |||
.vector-user-menu { | |||
order: 1 !important; | |||
margin: 0 !important; | |||
align-self: flex-end !important; | |||
} | |||
/* Search - BELOW account links */ | |||
.vector-search-box, | .vector-search-box, | ||
.vector-search-box-vue, | .vector-search-box-vue, | ||
#p-search { | #p-search { | ||
order: 2 !important; | |||
width: 180px !important; | width: 180px !important; | ||
max-width: 180px !important; | max-width: 180px !important; | ||
min-width: | min-width: 180px !important; | ||
flex: 0 0 | |||
flex: 0 0 auto !important; | |||
margin: 0 !important; | |||
align-self: flex-end !important; | |||
} | } | ||
/* | /* Keep search internals compact */ | ||
.vector-search-box form, | .vector-search-box form, | ||
.vector-search-box .cdx-search-input, | .vector-search-box .cdx-search-input, | ||
| Line 400: | Line 423: | ||
} | } | ||
/* | /* Search input */ | ||
.vector-search-box-input, | .vector-search-box-input, | ||
.cdx-search-input input, | .cdx-search-input input, | ||
.cdx-text-input__input { | .vector-search-box .cdx-text-input__input { | ||
width: 100% !important; | width: 100% !important; | ||
max-width: 180px !important; | max-width: 180px !important; | ||
min-width: 0 !important; | min-width: 0 !important; | ||
height: 30px !important; | height: 30px !important; | ||
font-size: 13px !important; | font-size: 13px !important; | ||
box-sizing: border-box !important; | box-sizing: border-box !important; | ||
} | |||
/* Search button */ | |||
.vector-search-box button, | |||
.vector-search-box .cdx-button { | |||
min-height: 30px !important; | |||
height: 30px !important; | |||
} | } | ||
Revision as of 23:50, 19 August 2026
/* =========================================
AXIAL WIKI - DARK THEME
Purple Links + Light Grey Borders
========================================= */
:root {
--axial-purple: #9B59D0;
--axial-purple-hover: #B97AE5;
--axial-border: #707070;
--axial-border-hover: #909090;
}
/* Overall page */
html,
body {
background: #292929 !important;
color: #d8d8d8 !important;
}
/* Main Vector containers */
.mw-page-container,
.mw-body,
.mw-content-container,
.vector-body {
background: #333333 !important;
color: #d8d8d8 !important;
}
/* Main content */
#content,
.mw-body-content {
background: #333333 !important;
color: #d8d8d8 !important;
}
/* ==============================
PAGE TITLES & HEADINGS
============================== */
.firstHeading,
.mw-first-heading,
h1 {
color: #e5e5e5 !important;
border-bottom: 1px solid var(--axial-border) !important;
}
h2,
h3,
h4,
h5,
h6,
.mw-heading {
color: #e0e0e0 !important;
border-color: var(--axial-border) !important;
}
/* Normal text */
p,
li,
dd,
dt,
.mw-parser-output {
color: #d6d6d6;
}
/* ==============================
LINKS - PURPLE
============================== */
a,
.mw-parser-output a,
.vector-menu a,
.vector-menu-tabs a {
color: var(--axial-purple) !important;
}
a:visited {
color: var(--axial-purple) !important;
}
a:hover,
a:focus {
color: var(--axial-purple-hover) !important;
text-decoration: underline;
}
/* Missing / uncreated pages */
a.new,
a.new:visited {
color: #e36a5f !important;
}
/* ==============================
LIGHT GREY BORDERS
============================== */
.mw-page-container,
.vector-page-toolbar-container,
.vector-column-start,
.vector-column-end {
border-color: var(--axial-border) !important;
}
/* Selected tabs */
.vector-menu-tabs .selected,
.vector-menu-tabs .mw-list-item.selected {
border-bottom: 2px solid var(--axial-border) !important;
}
/* ==============================
HEADER
============================== */
.vector-header-container,
.vector-header,
.mw-header {
background: #292929 !important;
color: #dddddd !important;
border-color: var(--axial-border) !important;
}
/* ==============================
SEARCH AREA
============================== */
.vector-search-box-input,
.cdx-text-input__input,
input[type="search"] {
background: #f5f5f5 !important;
color: #222222 !important;
border: 1px solid var(--axial-border) !important;
}
.vector-search-box-input:focus,
.cdx-text-input__input:focus,
input[type="search"]:focus {
border-color: var(--axial-border-hover) !important;
outline-color: var(--axial-purple) !important;
}
/* ==============================
SIDEBARS
============================== */
.vector-main-menu,
.vector-main-menu-container,
.vector-pinned-container,
#mw-panel,
.vector-column-start,
.vector-column-end {
background: #292929 !important;
color: #d6d6d6 !important;
}
/* Sidebar headings */
.vector-menu-heading,
.vector-pinnable-header-label {
color: #e0e0e0 !important;
border-bottom: 1px solid var(--axial-border) !important;
}
/* ==============================
MENUS / DROPDOWNS
============================== */
.vector-dropdown-content,
.vector-menu-content,
.cdx-menu {
background: #333333 !important;
color: #dddddd !important;
border-color: var(--axial-border) !important;
}
/* ==============================
TABLES
============================== */
.wikitable {
background: #333333 !important;
color: #dddddd !important;
border: 1px solid var(--axial-border) !important;
}
.wikitable > tr > th,
.wikitable > * > tr > th {
background: #444444 !important;
color: #eeeeee !important;
border-color: var(--axial-border) !important;
}
.wikitable > tr > td,
.wikitable > * > tr > td {
background: #333333 !important;
color: #dddddd !important;
border-color: var(--axial-border) !important;
}
/* ==============================
TABLE OF CONTENTS
============================== */
.toc,
#toc,
.vector-toc {
background: #2c2c2c !important;
color: #dddddd !important;
border: 1px solid var(--axial-border) !important;
}
/* ==============================
CODE BOXES
============================== */
pre,
code,
.mw-code {
background: #292929 !important;
color: #eeeeee !important;
border-color: var(--axial-border) !important;
}
/* ==============================
BUTTONS
============================== */
button,
.cdx-button,
.mw-ui-button {
background: #3b3b3b !important;
color: #eeeeee !important;
border-color: var(--axial-border) !important;
}
button:hover,
.cdx-button:hover,
.mw-ui-button:hover {
background: #484848 !important;
border-color: var(--axial-border-hover) !important;
}
/* ==============================
FOOTER
============================== */
.mw-footer,
#footer {
background: #292929 !important;
color: #aaaaaa !important;
}
/* ==============================
DIVIDER LINES - LIGHT GREY
============================== */
hr {
border-color: var(--axial-border) !important;
}
/* ==============================
CATEGORY BOXES
============================== */
#catlinks,
.catlinks {
background: #2c2c2c !important;
color: #dddddd !important;
border-color: var(--axial-border) !important;
}
/* ==============================
FORMS
============================== */
fieldset {
border-color: var(--axial-border) !important;
}
/* Hide Vector 2022 colour mode controls */
.vector-appearance-landmark {
display: none !important;
}
/* Main page category headers */
.axial-category-title {
background: #b8b8b8 !important;
color: #333333 !important;
padding: 10px;
text-align: center;
font-size: 20px;
font-weight: bold;
}
/* =========================================
MAIN PAGE CATEGORY HEADERS
========================================= */
.axial-category-title,
.axial-category-title p {
background: #b8b8b8 !important;
color: #333333 !important;
text-align: center !important;
font-size: 20px !important;
font-weight: bold !important;
}
.axial-category-title {
padding: 10px !important;
}
.axial-category-title p {
margin: 0 !important;
padding: 0 !important;
}
/* Hide site name next to the top-left logo */
.mw-logo-wordmark {
display: none !important;
}
.mw-logo-tagline {
display: none !important;
}
/* Make top-left Axial logo larger */
.mw-logo-icon {
width: 120px !important;
height: 120px !important;
max-width: 120px !important;
max-height: 120px !important;
}
/* Give the logo container enough room */
.mw-logo {
min-width: 120px !important;
min-height: 120px !important;
}
/* =========================================
SEARCH BAR - RIGHT SIDE + SMALLER
========================================= */
/* Push search toward the right side of header */
.vector-header-start {
flex: 1 !important;
}
.vector-header-end {
margin-left: auto !important;
}
/* Search container */
.vector-search-box {
margin-left: auto !important;
width: 320px !important;
max-width: 320px !important;
}
/* Search input */
.vector-search-box-input,
.cdx-text-input__input {
width: 100% !important;
height: 34px !important;
font-size: 14px !important;
}
/* Search button */
.vector-search-box .cdx-button,
.vector-search-box button {
height: 34px !important;
}
/* =========================================
AXIAL HEADER - ACCOUNT + SEARCH
========================================= */
/* Right side of header */
.vector-header-end {
display: flex !important;
flex-direction: column !important;
align-items: flex-end !important;
justify-content: center !important;
margin-left: auto !important;
gap: 4px !important;
}
/* Account links - ABOVE search */
.vector-user-links,
.vector-user-menu {
order: 1 !important;
margin: 0 !important;
align-self: flex-end !important;
}
/* Search - BELOW account links */
.vector-search-box,
.vector-search-box-vue,
#p-search {
order: 2 !important;
width: 180px !important;
max-width: 180px !important;
min-width: 180px !important;
flex: 0 0 auto !important;
margin: 0 !important;
align-self: flex-end !important;
}
/* Keep search internals compact */
.vector-search-box form,
.vector-search-box .cdx-search-input,
.vector-search-box .cdx-search-input__input-wrapper {
width: 180px !important;
max-width: 180px !important;
min-width: 0 !important;
}
/* Search input */
.vector-search-box-input,
.cdx-search-input input,
.vector-search-box .cdx-text-input__input {
width: 100% !important;
max-width: 180px !important;
min-width: 0 !important;
height: 30px !important;
font-size: 13px !important;
box-sizing: border-box !important;
}
/* Search button */
.vector-search-box button,
.vector-search-box .cdx-button {
min-height: 30px !important;
height: 30px !important;
}