MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| (15 intermediate revisions by the same user not shown) | |||
| Line 11: | Line 11: | ||
} | } | ||
/* | /* ========================================= | ||
GLOBAL PAGE | |||
========================================= */ | |||
html, | html, | ||
body { | body { | ||
| Line 18: | Line 21: | ||
} | } | ||
.mw-page-container, | .mw-page-container, | ||
.mw-body, | .mw-body, | ||
| Line 27: | Line 29: | ||
} | } | ||
#content, | #content, | ||
.mw-body-content { | .mw-body-content { | ||
| Line 34: | Line 35: | ||
} | } | ||
/* ============================== | p, | ||
li, | |||
dd, | |||
dt, | |||
.mw-parser-output { | |||
color: #d6d6d6; | |||
} | |||
/* ========================================= | |||
PAGE TITLES & HEADINGS | PAGE TITLES & HEADINGS | ||
============================== */ | ========================================= */ | ||
.firstHeading, | .firstHeading, | ||
| Line 55: | Line 65: | ||
} | } | ||
/* ========================================= | |||
/* ============================== | LINKS | ||
LINKS | ========================================= */ | ||
============================== */ | |||
a, | a, | ||
| Line 86: | Line 87: | ||
} | } | ||
/* Missing | /* Missing pages */ | ||
a.new, | a.new, | ||
a.new:visited { | a.new:visited { | ||
| Line 93: | Line 94: | ||
/* ============================== | /* ========================================= | ||
LIGHT GREY BORDERS | LIGHT GREY BORDERS | ||
============================== */ | ========================================= */ | ||
.mw-page-container, | .mw-page-container, | ||
| Line 104: | Line 105: | ||
} | } | ||
.vector-menu-tabs .selected, | .vector-menu-tabs .selected, | ||
.vector-menu-tabs .mw-list-item.selected { | .vector-menu-tabs .mw-list-item.selected { | ||
| Line 111: | Line 111: | ||
/* ============================== | /* ========================================= | ||
HEADER | HEADER | ||
============================== */ | ========================================= */ | ||
.vector-header-container, | .vector-header-container, | ||
| Line 123: | Line 123: | ||
} | } | ||
/* | |||
Main header layout: | |||
menu + logo left | |||
account links + search right | |||
*/ | |||
.vector-header { | |||
display: flex !important; | |||
align-items: center !important; | |||
justify-content: space-between !important; | |||
min-height: 125px !important; | |||
height: 125px !important; | |||
position: relative !important; | |||
box-sizing: border-box !important; | |||
} | } | ||
/* ========================================= | |||
LEFT HEADER - MENU + LOGO | |||
========================================= */ | |||
.vector-header-start { | |||
display: flex !important; | |||
align-items: center !important; | |||
width: auto !important; | |||
height: 125px !important; | |||
flex: 0 0 auto !important; | |||
margin: 0 !important; | |||
padding: 0 !important; | |||
} | } | ||
/* Hamburger/menu */ | |||
.vector-main-menu-landmark, | |||
.vector-main-menu-dropdown-container { | |||
display: flex !important; | |||
align-items: center !important; | |||
margin-right: 12px !important; | |||
} | } | ||
. | /* Hide wiki name next to logo */ | ||
. | .mw-logo-wordmark, | ||
.mw-logo-tagline { | |||
display: none !important; | |||
} | } | ||
/* Logo container */ | |||
. | .mw-logo { | ||
display | |||
} | } | ||
/* Hide Appearance panel */ | |||
/* | #vector-appearance-dropdown, | ||
.vector-appearance-landmark { | |||
display: none !important; | |||
# | |||
.vector- | |||
} | } | ||
/* Lighten Main Menu dropdown */ | |||
/* | #vector-main-menu-dropdown > .vector-dropdown-content { | ||
background: #252525 !important; | |||
. | |||
background: # | |||
} | } | ||
/* Remove empty right-side column left by Appearance */ | |||
.vector-column-end { | |||
/* | |||
.vector- | |||
display: none !important; | display: none !important; | ||
} | } | ||
/* Remove the empty right column left by Appearance */ | |||
. | .mw-body { | ||
grid-template-columns: minmax(0, 1fr) !important; | |||
} | } | ||
. | .vector-column-end { | ||
display: none !important; | display: none !important; | ||
} | } | ||
. | /* Remove black horizontal strip under Contents sidebar */ | ||
.vector-column-start::after, | |||
.vector-column-start::before, | |||
.vector-main-menu-container::after, | |||
.vector-main-menu-container::before { | |||
display: none !important; | display: none !important; | ||
content: none !important; | |||
background: none !important; | |||
border: none !important; | |||
box-shadow: none !important; | |||
} | } | ||
/* ========================================= | /* ========================================= | ||
RESTORE TOOLS SIDEBAR | |||
========================================= */ | ========================================= */ | ||
.vector-column-end { | |||
.vector- | display: block !important; | ||
} | } | ||
/* Keep Appearance hidden */ | |||
#vector-appearance-dropdown, | |||
.vector-appearance-landmark { | |||
display: none !important; | |||
/* | |||
.vector- | |||
display: | |||
} | } | ||
Latest revision as of 14:47, 20 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;
}
/* =========================================
GLOBAL PAGE
========================================= */
html,
body {
background: #292929 !important;
color: #d8d8d8 !important;
}
.mw-page-container,
.mw-body,
.mw-content-container,
.vector-body {
background: #333333 !important;
color: #d8d8d8 !important;
}
#content,
.mw-body-content {
background: #333333 !important;
color: #d8d8d8 !important;
}
p,
li,
dd,
dt,
.mw-parser-output {
color: #d6d6d6;
}
/* =========================================
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;
}
/* =========================================
LINKS
========================================= */
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 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;
}
.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;
}
/*
Main header layout:
menu + logo left
account links + search right
*/
.vector-header {
display: flex !important;
align-items: center !important;
justify-content: space-between !important;
min-height: 125px !important;
height: 125px !important;
position: relative !important;
box-sizing: border-box !important;
}
/* =========================================
LEFT HEADER - MENU + LOGO
========================================= */
.vector-header-start {
display: flex !important;
align-items: center !important;
width: auto !important;
height: 125px !important;
flex: 0 0 auto !important;
margin: 0 !important;
padding: 0 !important;
}
/* Hamburger/menu */
.vector-main-menu-landmark,
.vector-main-menu-dropdown-container {
display: flex !important;
align-items: center !important;
margin-right: 12px !important;
}
/* Hide wiki name next to logo */
.mw-logo-wordmark,
.mw-logo-tagline {
display: none !important;
}
/* Logo container */
.mw-logo {
display
}
/* Hide Appearance panel */
#vector-appearance-dropdown,
.vector-appearance-landmark {
display: none !important;
}
/* Lighten Main Menu dropdown */
#vector-main-menu-dropdown > .vector-dropdown-content {
background: #252525 !important;
}
/* Remove empty right-side column left by Appearance */
.vector-column-end {
display: none !important;
}
/* Remove the empty right column left by Appearance */
.mw-body {
grid-template-columns: minmax(0, 1fr) !important;
}
.vector-column-end {
display: none !important;
}
/* Remove black horizontal strip under Contents sidebar */
.vector-column-start::after,
.vector-column-start::before,
.vector-main-menu-container::after,
.vector-main-menu-container::before {
display: none !important;
content: none !important;
background: none !important;
border: none !important;
box-shadow: none !important;
}
/* =========================================
RESTORE TOOLS SIDEBAR
========================================= */
.vector-column-end {
display: block !important;
}
/* Keep Appearance hidden */
#vector-appearance-dropdown,
.vector-appearance-landmark {
display: none !important;
}