Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Citizen.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
Line 3: Line 3:


/* ======================================================
/* ======================================================
   TREEVERSE DARK ARTICLE LAYOUT
   TREEVERSE WIKI — CITIZEN DARK PANEL THEME
   ====================================================== */
   ====================================================== */




/* Page background (keeps artwork visible on sides) */
/* ------------------------------------------------------
  Background
------------------------------------------------------ */
 
body {
body {
   background-color: #0b0b0b;
   background-color: #0b0b0b;
Line 13: Line 16:




/* Main article container */
/* ------------------------------------------------------
  Outer frame around article
------------------------------------------------------ */
 
.citizen-page-container-inner {
  background: rgba(230,230,230,0.92);
  border-radius: 18px;
  padding: 8px;
  backdrop-filter: blur(6px);
}
 
 
/* ------------------------------------------------------
  Article content panel
------------------------------------------------------ */
 
.mw-parser-output {
.mw-parser-output {
   background: #0f1115;
   background: #0f1115;
   color: #e6e6e6;
   color: #e6e6e6;
   max-width: 950px;
   max-width: 950px;
   margin: auto;
   margin: auto;
   padding: 24px;
   padding: 24px;
   border-radius: 10px;
 
   border-radius: 14px;
 
  word-wrap: break-word;
  overflow-wrap: break-word;
}
}




/* Fix readability of headings */
/* ------------------------------------------------------
  Headings
------------------------------------------------------ */
 
.mw-parser-output h1,
.mw-parser-output h1,
.mw-parser-output h2,
.mw-parser-output h2,
Line 30: Line 56:
.mw-parser-output h4 {
.mw-parser-output h4 {
   color: #ffffff;
   color: #ffffff;
  margin-top: 1.6em;
  margin-bottom: 0.6em;
}
}




/* Improve paragraph readability */
/* ------------------------------------------------------
  Paragraph readability
------------------------------------------------------ */
 
.mw-parser-output p {
.mw-parser-output p {
   font-size: 1.05rem;
   font-size: 1.05rem;
Line 40: Line 71:




/* Links */
/* ------------------------------------------------------
  Links
------------------------------------------------------ */
 
a {
a {
   color: #7fd3ff;
   color: #7fd3ff;
Line 50: Line 84:




/* =========================
/* ------------------------------------------------------
  Images
------------------------------------------------------ */
 
.mw-parser-output img {
  max-width: 100%;
  height: auto;
}
 
 
/* ------------------------------------------------------
   Tables
   Tables
========================= */
------------------------------------------------------ */


.wikitable {
.wikitable {
   background: #161a22;
   background: #161a22;
   border: 1px solid #2a2f38;
   border: 1px solid #2a2f38;
   border-radius: 8px;
   border-radius: 10px;
  overflow: hidden;
}
}


Line 70: Line 115:




/* =========================
/* ------------------------------------------------------
   Infobox
   Infobox
========================= */
------------------------------------------------------ */


.infobox {
.infobox {
   background: #161a22;
   background: #161a22;
   border: 1px solid #2a2f38;
   border: 1px solid #2a2f38;
   border-radius: 8px;
   border-radius: 10px;
}
}


Line 85: Line 130:




/* =========================
/* ------------------------------------------------------
  Images
========================= */
 
.mw-parser-output img {
  max-width: 100%;
  height: auto;
}
 
 
/* =========================
   Code blocks
   Code blocks
========================= */
------------------------------------------------------ */


pre,
pre,
Line 104: Line 139:
   color: #e6e6e6;
   color: #e6e6e6;
   overflow-x: auto;
   overflow-x: auto;
}
/* ------------------------------------------------------
  Caption styling
------------------------------------------------------ */
.thumbcaption {
  color: #bbbbbb;
  font-size: 0.9rem;
}
/* ------------------------------------------------------
  Prevent layout overflow
------------------------------------------------------ */
.mw-body-content {
  overflow-x: hidden;
}
}


Line 117: Line 171:
   }
   }


   /* tables scroll on mobile instead of breaking */
   /* Tables scroll on mobile */
   .mw-parser-output table {
   .mw-parser-output table {
     display: block;
     display: block;
Line 128: Line 182:
   }
   }


  /* Infobox stacks nicely */
   .infobox {
   .infobox {
     float: none;
     float: none;
Line 134: Line 189:
   }
   }


}
/* ======================================================
  HEADER IMPROVEMENT
  ====================================================== */
/* subtle dark overlay on hero image */
.citizen-page-header::before {
  background: rgba(0,0,0,0.35);
}
}

Revision as of 11:00, 8 March 2026

/* All CSS here will be loaded for users of the Citizen skin */


/* ======================================================
   TREEVERSE WIKI — CITIZEN DARK PANEL THEME
   ====================================================== */


/* ------------------------------------------------------
   Background
------------------------------------------------------ */

body {
  background-color: #0b0b0b;
}


/* ------------------------------------------------------
   Outer frame around article
------------------------------------------------------ */

.citizen-page-container-inner {
  background: rgba(230,230,230,0.92);
  border-radius: 18px;
  padding: 8px;
  backdrop-filter: blur(6px);
}


/* ------------------------------------------------------
   Article content panel
------------------------------------------------------ */

.mw-parser-output {
  background: #0f1115;
  color: #e6e6e6;

  max-width: 950px;
  margin: auto;
  padding: 24px;

  border-radius: 14px;

  word-wrap: break-word;
  overflow-wrap: break-word;
}


/* ------------------------------------------------------
   Headings
------------------------------------------------------ */

.mw-parser-output h1,
.mw-parser-output h2,
.mw-parser-output h3,
.mw-parser-output h4 {
  color: #ffffff;
  margin-top: 1.6em;
  margin-bottom: 0.6em;
}


/* ------------------------------------------------------
   Paragraph readability
------------------------------------------------------ */

.mw-parser-output p {
  font-size: 1.05rem;
  line-height: 1.6;
}


/* ------------------------------------------------------
   Links
------------------------------------------------------ */

a {
  color: #7fd3ff;
}

a:visited {
  color: #c49cff;
}


/* ------------------------------------------------------
   Images
------------------------------------------------------ */

.mw-parser-output img {
  max-width: 100%;
  height: auto;
}


/* ------------------------------------------------------
   Tables
------------------------------------------------------ */

.wikitable {
  background: #161a22;
  border: 1px solid #2a2f38;
  border-radius: 10px;
  overflow: hidden;
}

.wikitable th {
  background: #1f2430;
  color: #ffffff;
}

.wikitable td {
  background: #161a22;
}


/* ------------------------------------------------------
   Infobox
------------------------------------------------------ */

.infobox {
  background: #161a22;
  border: 1px solid #2a2f38;
  border-radius: 10px;
}

.infobox th {
  background: #1f2430;
}


/* ------------------------------------------------------
   Code blocks
------------------------------------------------------ */

pre,
code {
  background: #111;
  color: #e6e6e6;
  overflow-x: auto;
}


/* ------------------------------------------------------
   Caption styling
------------------------------------------------------ */

.thumbcaption {
  color: #bbbbbb;
  font-size: 0.9rem;
}


/* ------------------------------------------------------
   Prevent layout overflow
------------------------------------------------------ */

.mw-body-content {
  overflow-x: hidden;
}


/* ======================================================
   MOBILE FIXES
   ====================================================== */

@media (max-width: 720px) {

  .mw-parser-output {
    padding: 16px;
  }

  /* Tables scroll on mobile */
  .mw-parser-output table {
    display: block;
    overflow-x: auto;
  }

  .mw-parser-output table td,
  .mw-parser-output table th {
    white-space: normal;
  }

  /* Infobox stacks nicely */
  .infobox {
    float: none;
    width: 100%;
    margin: 1em auto;
  }

}


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

/* subtle dark overlay on hero image */

.citizen-page-header::before {
  background: rgba(0,0,0,0.35);
}