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 1: Line 1:
/* All CSS here will be loaded for users of the Citizen skin */
/* All CSS here will be loaded for users of the Citizen skin */


/* ======================================================
/* ======================================================
   TREEVERSE WIKI — GLASS DARK PANEL THEME
   TREEVERSE WIKI  
  Citizen Skin
   ====================================================== */
   ====================================================== */




/* ------------------------------------------------------
/* Page background */
  Page background
------------------------------------------------------ */
 
body {
body {
   background-color: #0b0b0b;
   background-color: #0b0b0b;
Line 17: Line 12:




/* ------------------------------------------------------
/* Remove Citizen white container */
  Glass outer frame
------------------------------------------------------ */
 
.citizen-page-container-inner {
.citizen-page-container-inner {
 
   background: transparent;
   background: rgba(255,255,255,0.08);
   border: none;
 
   padding: 0;
   border-radius: 20px;
 
   padding: 10px;
 
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
 
  border: 1px solid rgba(255,255,255,0.12);
 
}
}




/* ------------------------------------------------------
/* Article panel */
  Article panel
------------------------------------------------------ */
 
.mw-parser-output {
.mw-parser-output {


Line 53: Line 33:
   padding: 24px;
   padding: 24px;


   border-radius: 14px;
   border-radius: 16px;
 
  word-wrap: break-word;
  overflow-wrap: break-word;


}
}




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


.mw-parser-output h1,
.mw-parser-output h1,
Line 78: Line 53:




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


.mw-parser-output p {
.mw-parser-output p {
Line 91: Line 64:




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


a {
a {
Line 104: Line 75:




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


.mw-parser-output img {
.mw-parser-output img {
Line 118: Line 87:




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


.wikitable {
.wikitable {
Line 149: Line 116:




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


.infobox {
.infobox {
Line 170: Line 135:




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


pre,
pre,
Line 188: Line 151:




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


.thumbcaption {
.thumbcaption {
Line 201: Line 162:




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


.mw-body-content {
.mw-body-content {
Line 219: Line 178:


   max-width: 100%;
   max-width: 100%;
   width: 100%;
   width: 100%;


Line 260: Line 220:


@media (max-width: 720px) {
@media (max-width: 720px) {


   .mw-parser-output {
   .mw-parser-output {
Line 270: Line 229:
   }
   }


 
   /* tables scroll instead of breaking layout */
   /* tables scroll horizontally */


   .mw-parser-output table {
   .mw-parser-output table {
Line 288: Line 246:
   }
   }


 
   /* infobox stacks nicely */
   /* infobox stacks */


   .infobox {
   .infobox {
Line 304: Line 261:




/* ======================================================
/* Hero image readability */
  HERO HEADER IMPROVEMENT
  ====================================================== */


.citizen-page-header::before {
.citizen-page-header::before {

Revision as of 16:06, 8 March 2026

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

/* ======================================================
   TREEVERSE WIKI 
   ====================================================== */


/* Page background */
body {
  background-color: #0b0b0b;
}


/* Remove Citizen white container */
.citizen-page-container-inner {
  background: transparent;
  border: none;
  padding: 0;
}


/* Article panel */
.mw-parser-output {

  background: #0f1115;

  color: #e6e6e6;

  max-width: 950px;

  margin: auto;

  padding: 24px;

  border-radius: 16px;

}


/* 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;

  border-radius: 6px;

}


/* 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;

  border-radius: 6px;

}


/* Caption styling */

.thumbcaption {

  color: #bbbbbb;

  font-size: 0.9rem;

}


/* Prevent layout overflow */

.mw-body-content {

  overflow-x: hidden;

}


/* ======================================================
   RESPONSIVE YOUTUBE / VIDEO EMBEDS
   ====================================================== */

.mw-parser-output iframe {

  max-width: 100%;

  width: 100%;

  border-radius: 10px;

}


/* responsive video wrapper */

.mw-parser-output .embedvideo,
.mw-parser-output .video-container {

  position: relative;

  width: 100%;

  padding-bottom: 56.25%;

  height: 0;

}

.mw-parser-output .embedvideo iframe,
.mw-parser-output .video-container iframe {

  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

}


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

@media (max-width: 720px) {

  .mw-parser-output {

    padding: 16px;

    max-width: 100%;

  }

  /* tables scroll instead of breaking layout */

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

  }

}


/* Hero image readability */

.citizen-page-header::before {

  background: rgba(0,0,0,0.35);

}