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 WIKI — CITIZEN DARK PANEL THEME
   TREEVERSE WIKI — GLASS DARK PANEL THEME
  Citizen Skin
   ====================================================== */
   ====================================================== */




/* ------------------------------------------------------
/* ------------------------------------------------------
   Background
   Page background
------------------------------------------------------ */
------------------------------------------------------ */


Line 17: Line 18:


/* ------------------------------------------------------
/* ------------------------------------------------------
   Outer frame around article
   Glass outer frame
------------------------------------------------------ */
------------------------------------------------------ */


.citizen-page-container-inner {
.citizen-page-container-inner {
   background: rgba(230,230,230,0.92);
 
   border-radius: 18px;
   background: rgba(255,255,255,0.08);
   padding: 8px;
 
   backdrop-filter: blur(6px);
   border-radius: 20px;
 
   padding: 10px;
 
  backdrop-filter: blur(10px);
   -webkit-backdrop-filter: blur(10px);
 
  border: 1px solid rgba(255,255,255,0.12);
 
}
}




/* ------------------------------------------------------
/* ------------------------------------------------------
   Article content panel
   Article 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;


Line 44: Line 57:
   word-wrap: break-word;
   word-wrap: break-word;
   overflow-wrap: break-word;
   overflow-wrap: break-word;
}
}


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


Line 66: Line 83:


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


Line 89: Line 109:


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


Line 99: Line 123:


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


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


.wikitable td {
.wikitable td {
   background: #161a22;
   background: #161a22;
}
}


Line 120: Line 154:


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


.infobox th {
.infobox th {
   background: #1f2430;
   background: #1f2430;
}
}


Line 136: Line 176:
pre,
pre,
code {
code {
   background: #111;
   background: #111;
   color: #e6e6e6;
   color: #e6e6e6;
   overflow-x: auto;
   overflow-x: auto;
  border-radius: 6px;
}
}


Line 147: Line 193:


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


Line 157: Line 206:


.mw-body-content {
.mw-body-content {
   overflow-x: hidden;
   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%;
}
}


Line 166: Line 260:


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


   .mw-parser-output {
   .mw-parser-output {
     padding: 16px;
     padding: 16px;
    max-width: 100%;
   }
   }


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


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


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


Line 193: Line 305:


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


/* subtle dark overlay on hero image */
.citizen-page-header::before {


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

Revision as of 11:32, 8 March 2026

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


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


/* ------------------------------------------------------
   Page background
------------------------------------------------------ */

body {
  background-color: #0b0b0b;
}


/* ------------------------------------------------------
   Glass outer frame
------------------------------------------------------ */

.citizen-page-container-inner {

  background: rgba(255,255,255,0.08);

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

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

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

  .mw-parser-output table {

    display: block;

    overflow-x: auto;

  }

  .mw-parser-output table td,
  .mw-parser-output table th {

    white-space: normal;

  }


  /* infobox stacks */

  .infobox {

    float: none;

    width: 100%;

    margin: 1em auto;

  }

}


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

.citizen-page-header::before {

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

}