Jump to content

MediaWiki:Common.css

From AxialPrisons Wiki
Revision as of 22:42, 19 August 2026 by Axial (talk | contribs)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* =========================================
   AXIAL WIKI - COSMIC STYLE DARK THEME
   ========================================= */

/* 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 title */
.firstHeading,
.mw-first-heading,
h1 {
    color: #e5e5e5 !important;
    border-bottom: 1px solid #707070 !important;
}

/* Other headings */
h2,
h3,
h4,
h5,
h6,
.mw-heading {
    color: #e0e0e0 !important;
    border-color: #666666 !important;
}

/* Normal text */
p,
li,
dd,
dt,
.mw-parser-output {
    color: #d6d6d6;
}

/* ==============================
   LINKS
   ============================== */

a,
.mw-parser-output a,
.vector-menu a {
    color: #72c7ee !important;
}

a:visited {
    color: #72c7ee !important;
}

a:hover {
    color: #a2ddf7 !important;
    text-decoration: underline;
}

/* Missing pages */
a.new {
    color: #e36a5f !important;
}

/* ==============================
   PURPLE ACCENTS
   ============================== */

:root {
    --axial-purple: #71368a;
}

/* Page/tab borders */
.vector-page-toolbar-container,
.vector-column-start,
.vector-column-end {
    border-color: #71368a !important;
}

/* Tabs */
.vector-menu-tabs .selected,
.vector-menu-tabs .mw-list-item.selected {
    border-bottom: 2px solid #71368a !important;
}

.vector-menu-tabs a {
    color: #72c7ee !important;
}

/* ==============================
   HEADER
   ============================== */

.vector-header-container,
.vector-header,
.mw-header {
    background: #292929 !important;
    color: #dddddd !important;
}

/* Search area */
.vector-search-box-input,
.cdx-text-input__input,
input[type="search"] {
    background: #f5f5f5 !important;
    color: #222222 !important;
    border: 1px solid #777777 !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: #72c7ee !important;
    border-bottom: 1px solid #555555 !important;
}

/* ==============================
   MENUS / DROPDOWNS
   ============================== */

.vector-dropdown-content,
.vector-menu-content,
.cdx-menu {
    background: #333333 !important;
    color: #dddddd !important;
    border-color: #555555 !important;
}

/* ==============================
   TABLES
   ============================== */

.wikitable {
    background: #333333 !important;
    color: #dddddd !important;
    border: 1px solid #666666 !important;
}

.wikitable > tr > th,
.wikitable > * > tr > th {
    background: #444444 !important;
    color: #eeeeee !important;
    border-color: #666666 !important;
}

.wikitable > tr > td,
.wikitable > * > tr > td {
    background: #333333 !important;
    color: #dddddd !important;
    border-color: #666666 !important;
}

/* ==============================
   TABLE OF CONTENTS
   ============================== */

.toc,
#toc,
.vector-toc {
    background: #2c2c2c !important;
    color: #dddddd !important;
    border-color: #555555 !important;
}

/* ==============================
   CODE BOXES
   ============================== */

pre,
code,
.mw-code {
    background: #292929 !important;
    color: #eeeeee !important;
    border-color: #555555 !important;
}

/* ==============================
   BUTTONS
   ============================== */

button,
.cdx-button,
.mw-ui-button {
    background: #3b3b3b !important;
    color: #eeeeee !important;
    border-color: #666666 !important;
}

button:hover,
.cdx-button:hover,
.mw-ui-button:hover {
    background: #484848 !important;
}

/* ==============================
   FOOTER
   ============================== */

.mw-footer,
#footer {
    background: #292929 !important;
    color: #aaaaaa !important;
}

/* Divider lines */
hr {
    border-color: #666666 !important;
}