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

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
Tag: Reverted
No edit summary
 
(60 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */


#p-tb {  
 
     display: none;  
/* ============================= */
/* HIDE TOOLBOX                  */
/* ============================= */
 
#p-tb {
     display: none;
}
}


/* Hide Page / Discussion tabs */
#p-namespaces {
    display: none !important;
}
/* Hide Powered by MediaWiki footer icon */
#footer-poweredbyico {
    display: none !important;
}
/* Hide Home page heading */
body.page-Home #firstHeading {
body.page-Home #firstHeading {
     display: none;
     display: none;
}
}


/* Force all links to be underlined */
 
/* ============================= */
/* TREEVERSE CINEMATIC BACKGROUND */
/* ============================= */
 
html, body {
    height: 100%;
    margin: 0;
}
 
body {
    background-image: url("https://treeverse.wiki/images/b/be/45.57.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
 
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.25);
    z-index: -1;
}
 
 
/* ============================= */
/* REMOVE DEFAULT BACKGROUNDS    */
/* ============================= */
 
.citizen-page-container,
.citizen-page-container-inner,
.citizen-body,
.citizen-content,
.mw-body,
#mw-page-base,
#mw-head-base,
#content {
    background: transparent !important;
}
 
 
/* ============================= */
/* MAIN CONTENT PANEL            */
/* ============================= */
 
#content {
    max-width: 1200px;
    margin: 50px auto;
}
 
#bodyContent {
    background: rgba(255,255,255,0.84);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
 
 
/* ============================= */
/* RIGHT PANEL READABILITY FIX  */
/* ============================= */
 
.citizen-page-info,
.citizen-page-info *,
.citizen-toc,
.citizen-toc * {
    color: #ffffff !important;
}
 
.citizen-page-info,
.citizen-toc {
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}
 
 
/* ============================= */
/* GLOBAL LINK UNDERLINES        */
/* ============================= */
 
a,
a,
a:visited,
a:visited,
Line 15: Line 113:
     text-decoration: underline !important;
     text-decoration: underline !important;
}
}
/* Download buttons row */
 
 
/* ============================= */
/* SIDEBAR LINK STYLING          */
/* ============================= */
 
.citizen-sidebar a {
    text-decoration: none !important;
}
 
.citizen-sidebar a:hover {
    text-decoration: none !important;
}
 
 
/* ============================= */
/* SWORD BULLETS                */
/* ============================= */
 
#bodyContent ul {
    list-style: none;
    padding-left: 0;
}
 
#bodyContent ul li {
    position: relative;
    padding-left: 26px;
}
 
#bodyContent ul li::before {
    content: "⚔";
    position: absolute;
    left: 0;
    top: -4px;
    font-size: 20px;
    color: #0b1f3a;
}
 
 
/* ============================= */
/* DOWNLOAD BUTTON ROW          */
/* ============================= */
 
.download-row {
.download-row {
   display: flex;
   display: flex;
   flex-wrap: wrap;           /* wrap if super narrow */
   flex-wrap: wrap;
   justify-content: center;   /* center the row */
   justify-content: center;
   gap: 12px;                 /* space between buttons */
   gap: 12px;
   margin: 8px 0 16px;
   margin: 8px 0 16px;
}
}


/* Make the badge images responsive */
.download-row img {
.download-row img {
   width: clamp(140px, 28vw, 200px); /* 140–200px, scales with viewport */
   width: clamp(140px, 28vw, 200px);
   height: auto;
   height: auto;
  display: block;
}
}
/* ============================= */
/* SPOILER BLUR                  */
/* ============================= */


.spoiler {
.spoiler {
Line 36: Line 179:
   transition: filter 0.3s ease;
   transition: filter 0.3s ease;
}
}
.spoiler.revealed {
.spoiler.revealed {
   filter: none;
   filter: none;
Line 41: Line 185:




/* Dropdown display styles */
/* ============================= */
.tvdd { margin: 12px 0; }
/* RADIO TABS                    */
.tvdd__select { padding: 8px 10px; border-radius: 10px; border:1px solid #ddd; font-weight:600; }
/* ============================= */
.tvdd__panel { display: none; margin: 12px 0; padding: 12px; border:1px solid #e5e5e5; border-radius: 10px; background: #fff; }
.tvdd__panel.is-active { display: block; }


/* Dropdown styles (ensure present) */
.tvrt { margin: 12px 0; }
.tvdd { margin:12px 0; }
.tvdd__select { padding:8px 10px; border-radius:10px; border:1px solid #ddd; font-weight:600; }
.tvdd__panel { display:none; margin:12px 0; padding:12px; border:1px solid #e5e5e5; border-radius:10px; background:#fff; }
.tvdd__panel.is-active { display:block; }


/* Fallback: show the first panel even if JS fails */
.tvrt-nav {
.tvdd .tvdd__panel:first-of-type { display:block; }
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 6px;
  margin-bottom: 10px;
}


.tvdd__panel { display:none; }
.tvrt-item { display: contents; }
.tvdd__panel.is-active { display:block; }
 
.tvrt-tab {
  display: block;
  padding: 6px 8px;
  text-decoration: none;
  border: 1px solid #eee;
  background: #fff;
  cursor: pointer;
}
 
.tvrt-tab:hover { background: #f5f5f5; }
 
.tvrt-panel {
  display: none;
  grid-column: 1 / -1;
  padding: 12px;
  border: 1px solid #e5e5e5;
  background: #fff;
}
 
.tvrt-item > input:checked + .tvrt-tab + .tvrt-panel {
  display: block;
}
 
.tvrt-item > input:checked + .tvrt-tab {
  font-weight: 700;
  border-color: #ccc;
  background: #fafafa;
}
 
 
/* ============================= */
/* LEADERBOARD TABLE FIX        */
/* ============================= */
 
#leaderboardTable th,
#leaderboardTable td {
    vertical-align: middle !important;
}
 
 
/* ============================= */
/* TOP NAV TEXT                  */
/* ============================= */
 
.citizen-header a {
    color: #ffffff !important;
    text-decoration: none !important;
}
 
.citizen-header a:hover {
    color: #e6f0ff !important;
}
 
 
/* ============================= */
/* NPC INFOBOX (STACKED LAYOUT)  */
/* ============================= */
 
.infobox {
 
    float: none !important;
    clear: both;
 
    margin: 0 auto 30px auto;
 
    width: 460px;
    max-width: 95%;
 
    border-collapse: collapse;
    font-size: 90%;
 
    background: #0f141d;
    color: #ffffff;
 
    border-radius: 12px;
    overflow: hidden;
 
    box-shadow: 0 12px 35px rgba(0,0,0,0.45);
}
 
.infobox th,
.infobox td {
    padding: 10px 12px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
 
.infobox th {
    width: 40%;
    font-weight: 600;
    color: #8fa6d8;
}
 
.infobox-title {
    background: #1a2233;
    color: #ffffff !important;
    font-size: 130%;
    text-align: center !important;
    padding: 14px;
}
 
.infobox-image {
    text-align: center !important;
    padding: 16px;
}
 
.infobox-image img {
    width: 100%;
    max-width: 560px;
    height: auto;
    border-radius: 8px;
}
 
 
/* ============================= */
/* EDIT MODE READABILITY FIX    */
/* ============================= */
 
body.action-edit #content,
body.action-submit #content {
    background: #ffffff !important;
}
 
body.action-edit,
body.action-submit {
    color: #000000 !important;
}
 
body.action-edit textarea,
body.action-submit textarea {
    background: #ffffff !important;
    color: #000000 !important;
}
 
body.action-edit .mw-warning,
body.action-submit .mw-warning {
    color: #000000 !important;
}
 
body.action-edit a,
body.action-submit a {
    color: #0645ad !important;
}
 
 
/* ============================= */
/* NPC CARD GRID                */
/* ============================= */
 
.npc-card {
    background:#0f141d;
    padding:16px;
    border-radius:10px;
    text-align:center;
    font-weight:600;
    box-shadow:0 8px 20px rgba(0,0,0,.4);
}
 
 
/* ============================= */
/* MOBILE MENU TEXT FIX          */
/* ============================= */
 
.citizen-drawer a,
.citizen-drawer .citizen-sidebar__item,
.citizen-drawer .citizen-sidebar__item a {
    color: #000000 !important;
}
 
.citizen-drawer h2,
.citizen-drawer h3 {
    color: #1a2233 !important;
}
 
 
/* ============================= */
/* CITIZEN SIDEBAR TEXT FIX      */
/* ============================= */
 
.citizen-sidebar__label {
    color: #ffffff !important;
}
 
.citizen-sidebar__heading {
    color: #ffffff !important;
}
 
.citizen-sidebar__link:hover .citizen-sidebar__label {
    color: #cfe2ff !important;
}
 
.citizen-sidebar {
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}
 
/* Make sidebar navigation links always white */
.citizen-drawer .citizen-menu__item > a,
.citizen-drawer .citizen-menu__heading {
    color: #ffffff !important;
}
 
.citizen-drawer a {
    color: #ffffff !important;
}
 
 
body, html {
    cursor: url('/treeverse.cur'), auto !important;
}
 
a {
    cursor: url('/firetree.cur'), pointer !important;
}

Latest revision as of 14:10, 25 May 2026

/* CSS placed here will be applied to all skins */


/* ============================= */
/* HIDE TOOLBOX                  */
/* ============================= */

#p-tb {
    display: none;
}

/* Hide Page / Discussion tabs */
#p-namespaces {
    display: none !important;
}

/* Hide Powered by MediaWiki footer icon */
#footer-poweredbyico {
    display: none !important;
}

/* Hide Home page heading */
body.page-Home #firstHeading {
    display: none;
}


/* ============================= */
/* TREEVERSE CINEMATIC BACKGROUND */
/* ============================= */

html, body {
    height: 100%;
    margin: 0;
}

body {
    background-image: url("https://treeverse.wiki/images/b/be/45.57.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.25);
    z-index: -1;
}


/* ============================= */
/* REMOVE DEFAULT BACKGROUNDS    */
/* ============================= */

.citizen-page-container,
.citizen-page-container-inner,
.citizen-body,
.citizen-content,
.mw-body,
#mw-page-base,
#mw-head-base,
#content {
    background: transparent !important;
}


/* ============================= */
/* MAIN CONTENT PANEL            */
/* ============================= */

#content {
    max-width: 1200px;
    margin: 50px auto;
}

#bodyContent {
    background: rgba(255,255,255,0.84);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}


/* ============================= */
/* RIGHT PANEL READABILITY FIX   */
/* ============================= */

.citizen-page-info,
.citizen-page-info *,
.citizen-toc,
.citizen-toc * {
    color: #ffffff !important;
}

.citizen-page-info,
.citizen-toc {
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}


/* ============================= */
/* GLOBAL LINK UNDERLINES        */
/* ============================= */

a,
a:visited,
a:active {
    text-decoration: underline !important;
}


/* ============================= */
/* SIDEBAR LINK STYLING          */
/* ============================= */

.citizen-sidebar a {
    text-decoration: none !important;
}

.citizen-sidebar a:hover {
    text-decoration: none !important;
}


/* ============================= */
/* SWORD BULLETS                 */
/* ============================= */

#bodyContent ul {
    list-style: none;
    padding-left: 0;
}

#bodyContent ul li {
    position: relative;
    padding-left: 26px;
}

#bodyContent ul li::before {
    content: "⚔";
    position: absolute;
    left: 0;
    top: -4px;
    font-size: 20px;
    color: #0b1f3a;
}


/* ============================= */
/* DOWNLOAD BUTTON ROW           */
/* ============================= */

.download-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 8px 0 16px;
}

.download-row img {
  width: clamp(140px, 28vw, 200px);
  height: auto;
}


/* ============================= */
/* SPOILER BLUR                  */
/* ============================= */

.spoiler {
  filter: blur(6px);
  cursor: pointer;
  transition: filter 0.3s ease;
}

.spoiler.revealed {
  filter: none;
}


/* ============================= */
/* RADIO TABS                    */
/* ============================= */

.tvrt { margin: 12px 0; }

.tvrt-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 6px;
  margin-bottom: 10px;
}

.tvrt-item { display: contents; }

.tvrt-tab {
  display: block;
  padding: 6px 8px;
  text-decoration: none;
  border: 1px solid #eee;
  background: #fff;
  cursor: pointer;
}

.tvrt-tab:hover { background: #f5f5f5; }

.tvrt-panel {
  display: none;
  grid-column: 1 / -1;
  padding: 12px;
  border: 1px solid #e5e5e5;
  background: #fff;
}

.tvrt-item > input:checked + .tvrt-tab + .tvrt-panel {
  display: block;
}

.tvrt-item > input:checked + .tvrt-tab {
  font-weight: 700;
  border-color: #ccc;
  background: #fafafa;
}


/* ============================= */
/* LEADERBOARD TABLE FIX         */
/* ============================= */

#leaderboardTable th,
#leaderboardTable td {
    vertical-align: middle !important;
}


/* ============================= */
/* TOP NAV TEXT                  */
/* ============================= */

.citizen-header a {
    color: #ffffff !important;
    text-decoration: none !important;
}

.citizen-header a:hover {
    color: #e6f0ff !important;
}


/* ============================= */
/* NPC INFOBOX (STACKED LAYOUT)  */
/* ============================= */

.infobox {

    float: none !important;
    clear: both;

    margin: 0 auto 30px auto;

    width: 460px;
    max-width: 95%;

    border-collapse: collapse;
    font-size: 90%;

    background: #0f141d;
    color: #ffffff;

    border-radius: 12px;
    overflow: hidden;

    box-shadow: 0 12px 35px rgba(0,0,0,0.45);
}

.infobox th,
.infobox td {
    padding: 10px 12px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.infobox th {
    width: 40%;
    font-weight: 600;
    color: #8fa6d8;
}

.infobox-title {
    background: #1a2233;
    color: #ffffff !important;
    font-size: 130%;
    text-align: center !important;
    padding: 14px;
}

.infobox-image {
    text-align: center !important;
    padding: 16px;
}

.infobox-image img {
    width: 100%;
    max-width: 560px;
    height: auto;
    border-radius: 8px;
}


/* ============================= */
/* EDIT MODE READABILITY FIX     */
/* ============================= */

body.action-edit #content,
body.action-submit #content {
    background: #ffffff !important;
}

body.action-edit,
body.action-submit {
    color: #000000 !important;
}

body.action-edit textarea,
body.action-submit textarea {
    background: #ffffff !important;
    color: #000000 !important;
}

body.action-edit .mw-warning,
body.action-submit .mw-warning {
    color: #000000 !important;
}

body.action-edit a,
body.action-submit a {
    color: #0645ad !important;
}


/* ============================= */
/* NPC CARD GRID                 */
/* ============================= */

.npc-card {
    background:#0f141d;
    padding:16px;
    border-radius:10px;
    text-align:center;
    font-weight:600;
    box-shadow:0 8px 20px rgba(0,0,0,.4);
}


/* ============================= */
/* MOBILE MENU TEXT FIX          */
/* ============================= */

.citizen-drawer a,
.citizen-drawer .citizen-sidebar__item,
.citizen-drawer .citizen-sidebar__item a {
    color: #000000 !important;
}

.citizen-drawer h2,
.citizen-drawer h3 {
    color: #1a2233 !important;
}


/* ============================= */
/* CITIZEN SIDEBAR TEXT FIX      */
/* ============================= */

.citizen-sidebar__label {
    color: #ffffff !important;
}

.citizen-sidebar__heading {
    color: #ffffff !important;
}

.citizen-sidebar__link:hover .citizen-sidebar__label {
    color: #cfe2ff !important;
}

.citizen-sidebar {
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

/* Make sidebar navigation links always white */
.citizen-drawer .citizen-menu__item > a,
.citizen-drawer .citizen-menu__heading {
    color: #ffffff !important;
}

.citizen-drawer a {
    color: #ffffff !important;
}


body, html {
    cursor: url('/treeverse.cur'), auto !important;
}

a {
    cursor: url('/firetree.cur'), pointer !important;
}