Jump to content

MediaWiki:Common.css: Difference between revisions

From AxialPrisons Wiki
No edit summary
No edit summary
Line 11: Line 11:
}
}


/* Overall page */
/* =========================================
  GLOBAL PAGE
  ========================================= */
 
html,
html,
body {
body {
Line 18: Line 21:
}
}


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


/* Main content */
#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:
}
}


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


 
/* =========================================
/* ==============================
   LINKS
   LINKS - PURPLE
   ========================================= */
   ============================== */


a,
a,
Line 86: Line 87:
}
}


/* Missing / uncreated pages */
/* 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:
}
}


/* Selected tabs */
.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;
  SEARCH AREA
    height: 125px !important;
  ============================== */


.vector-search-box-input,
     position: relative !important;
.cdx-text-input__input,
     box-sizing: border-box !important;
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
   LEFT HEADER - MENU + LOGO
   ========================================= */
   ========================================= */


/* Push search toward the right side of header */
.vector-header-start {
.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 - COMPACT TOP HEADER
  ========================================= */
/* Restore the header to a sensible height */
.vector-header {
    min-height: 70px !important;
    height: 70px !important;
    position: relative !important;
     display: flex !important;
     display: flex !important;
     align-items: center !important;
     align-items: center !important;
}


/* Don't let the header end stretch vertically */
     width: auto !important;
.vector-header-end {
     height: 125px !important;
     width: 230px !important;
     height: 60px !important;
    min-height: 0 !important;
 
    margin-left: auto !important;
 
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    justify-content: center !important;
 
    gap: 3px !important;
}


 
     flex: 0 0 auto !important;
/* =========================================
  ACCOUNT LINKS
  ========================================= */
 
.vector-user-links {
     width: auto !important;
    height: auto !important;
    min-height: 0 !important;


     margin: 0 !important;
     margin: 0 !important;
     padding: 0 !important;
     padding: 0 !important;
    flex: none !important;
    align-self: flex-end !important;
}
}


.vector-user-links .vector-menu-content-list {
/* Hamburger/menu */
.vector-main-menu-landmark,
.vector-main-menu-dropdown-container {
     display: flex !important;
     display: flex !important;
     width: auto !important;
     align-items: center !important;
 
    margin: 0 !important;
    padding: 0 !important;


     gap: 10px !important;
     margin-right: 12px !important;
}
}


 
/* Hide wiki name next to logo */
/* =========================================
.mw-logo-wordmark,
  SEARCH BAR
.mw-logo-tagline {
  ========================================= */
     display: none !important;
 
.vector-search-box,
.vector-search-box-vue,
#p-search {
     width: 180px !important;
    max-width: 180px !important;
    min-width: 180px !important;
 
    height: 28px !important;
 
    margin: 0 !important;
    padding: 0 !important;
 
    flex: none !important;
    align-self: flex-end !important;
}
}


/* Search form */
/* Logo container */
.vector-search-box form {
.mw-logo {
    width: 180px !important;
     display
    max-width: 180px !important;
    min-width: 180px !important;
}
 
/* Search input */
.vector-search-box-input,
.vector-search-box .cdx-text-input__input {
     width: 180px !important;
    max-width: 180px !important;
    min-width: 0 !important;
 
    height: 28px !important;
    min-height: 28px !important;
 
    font-size: 12px !important;
    box-sizing: border-box !important;
}

Revision as of 00:01, 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