Jump to content

MediaWiki:Common.css: Difference between revisions

From AxialPrisons Wiki
No edit summary
Tag: Manual revert
No edit summary
 
(30 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* =========================================
/* =========================================
   AXIAL WIKI - COSMIC STYLE DARK THEME
   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
   ========================================= */
   ========================================= */


/* Overall page */
html,
html,
body {
body {
Line 10: Line 21:
}
}


/* Main Vector containers */
.mw-page-container,
.mw-page-container,
.mw-body,
.mw-body,
Line 19: Line 29:
}
}


/* Main content */
#content,
#content,
.mw-body-content {
.mw-body-content {
Line 26: Line 35:
}
}


/* Page title */
p,
li,
dd,
dt,
.mw-parser-output {
    color: #d6d6d6;
}
 
 
/* =========================================
  PAGE TITLES & HEADINGS
  ========================================= */
 
.firstHeading,
.firstHeading,
.mw-first-heading,
.mw-first-heading,
h1 {
h1 {
     color: #e5e5e5 !important;
     color: #e5e5e5 !important;
     border-bottom: 1px solid #707070 !important;
     border-bottom: 1px solid var(--axial-border) !important;
}
}


/* Other headings */
h2,
h2,
h3,
h3,
Line 42: Line 62:
.mw-heading {
.mw-heading {
     color: #e0e0e0 !important;
     color: #e0e0e0 !important;
     border-color: #666666 !important;
     border-color: var(--axial-border) !important;
}
}


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


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


a,
a,
.mw-parser-output a,
.mw-parser-output a,
.vector-menu a {
.vector-menu a,
     color: #72c7ee !important;
.vector-menu-tabs a {
     color: var(--axial-purple) !important;
}
}


a:visited {
a:visited {
     color: #72c7ee !important;
     color: var(--axial-purple) !important;
}
}


a:hover {
a:hover,
     color: #a2ddf7 !important;
a:focus {
     color: var(--axial-purple-hover) !important;
     text-decoration: underline;
     text-decoration: underline;
}
}


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


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


:root {
/* =========================================
    --axial-purple: #71368a;
  LIGHT GREY BORDERS
}
  ========================================= */


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


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


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


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


.vector-header-container,
.vector-header-container,
Line 112: Line 120:
     background: #292929 !important;
     background: #292929 !important;
     color: #dddddd !important;
     color: #dddddd !important;
    border-color: var(--axial-border) !important;
}
}


/* Search area */
/*
.vector-search-box-input,
  Main header layout:
.cdx-text-input__input,
  menu + logo left
input[type="search"] {
  account links + search right
     background: #f5f5f5 !important;
*/
     color: #222222 !important;
.vector-header {
     border: 1px solid #777777 !important;
    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;
}
}


/* ==============================
  SIDEBARS
  ============================== */


.vector-main-menu,
/* =========================================
.vector-main-menu-container,
  LEFT HEADER - MENU + LOGO
.vector-pinned-container,
  ========================================= */
#mw-panel,
 
.vector-column-start,
.vector-header-start {
.vector-column-end {
     display: flex !important;
     background: #292929 !important;
     align-items: center !important;
     color: #d6d6d6 !important;
}


/* Sidebar headings */
     width: auto !important;
.vector-menu-heading,
     height: 125px !important;
.vector-pinnable-header-label {
     color: #72c7ee !important;
     border-bottom: 1px solid #555555 !important;
}


/* ==============================
    flex: 0 0 auto !important;
  MENUS / DROPDOWNS
  ============================== */


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


/* ==============================
/* Hamburger/menu */
  TABLES
.vector-main-menu-landmark,
  ============================== */
.vector-main-menu-dropdown-container {
    display: flex !important;
    align-items: center !important;


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


.wikitable > tr > th,
/* Hide wiki name next to logo */
.wikitable > * > tr > th {
.mw-logo-wordmark,
     background: #444444 !important;
.mw-logo-tagline {
    color: #eeeeee !important;
     display: none !important;
    border-color: #666666 !important;
}
}


.wikitable > tr > td,
/* Logo container */
.wikitable > * > tr > td {
.mw-logo {
     background: #333333 !important;
     display
    color: #dddddd !important;
    border-color: #666666 !important;
}
}


/* ==============================
/* Hide Appearance panel */
  TABLE OF CONTENTS
#vector-appearance-dropdown,
  ============================== */
.vector-appearance-landmark {
    display: none !important;
}


.toc,
/* Lighten Main Menu dropdown */
#toc,
#vector-main-menu-dropdown > .vector-dropdown-content {
.vector-toc {
     background: #252525 !important;
     background: #2c2c2c !important;
    color: #dddddd !important;
    border-color: #555555 !important;
}
}


/* ==============================
/* Remove empty right-side column left by Appearance */
  CODE BOXES
.vector-column-end {
  ============================== */
    display: none !important;
}


pre,
/* Remove the empty right column left by Appearance */
code,
.mw-body {
.mw-code {
     grid-template-columns: minmax(0, 1fr) !important;
     background: #292929 !important;
    color: #eeeeee !important;
    border-color: #555555 !important;
}
}


/* ==============================
.vector-column-end {
  BUTTONS
     display: none !important;
  ============================== */
 
button,
.cdx-button,
.mw-ui-button {
     background: #3b3b3b !important;
    color: #eeeeee !important;
    border-color: #666666 !important;
}
}


button:hover,
/* Remove black horizontal strip under Contents sidebar */
.cdx-button:hover,
.vector-column-start::after,
.mw-ui-button:hover {
.vector-column-start::before,
     background: #484848 !important;
.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 {
  FOOTER
     display: block !important;
  ============================== */
 
.mw-footer,
#footer {
     background: #292929 !important;
    color: #aaaaaa !important;
}
}


/* Divider lines */
/* Keep Appearance hidden */
hr {
#vector-appearance-dropdown,
     border-color: #666666 !important;
.vector-appearance-landmark {
     display: none !important;
}
}

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;
}