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
No edit summary
 
(30 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 */


/* ============================= */
/* ============================= */
Line 5: Line 6:
/* ============================= */
/* ============================= */


#p-tb {  
#p-tb {
     display: none;  
     display: none;
}
}


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


/* Full-page forest background */
body {
body {
     background-image: url("https://treeverse.wiki/images/8/84/Treeverse_background.jpg");
     background-image: url("https://treeverse.wiki/images/b/be/45.57.jpg");
     background-size: cover;
     background-size: cover;
     background-position: center center;
     background-position: center center;
Line 43: Line 43:
}
}


/* Subtle cinematic dark overlay */
body::before {
body::before {
     content: "";
     content: "";
     position: fixed;
     position: fixed;
     inset: 0;
     inset: 0;
     background: rgba(0, 0, 0, 0.20);
     background: rgba(0,0,0,0.25);
     z-index: -1;
     z-index: -1;
}
}


/* Remove default white wrappers */
 
/* ============================= */
/* REMOVE DEFAULT BACKGROUNDS    */
/* ============================= */
 
.citizen-page-container,
.citizen-page-container-inner,
.citizen-body,
.citizen-content,
.mw-body,
#mw-page-base,
#mw-page-base,
#mw-head-base,
#mw-head-base,
Line 61: Line 69:


/* ============================= */
/* ============================= */
/* MODERN GLASS CONTENT PANEL   */
/* MAIN CONTENT PANEL           */
/* ============================= */
/* ============================= */


Line 70: Line 78:


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


Line 94: Line 119:
/* ============================= */
/* ============================= */


#mw-panel a,
.citizen-sidebar a {
#mw-panel a:visited,
#mw-panel a:active {
     text-decoration: none !important;
     text-decoration: none !important;
    color: #0b1f3a !important;
}
}


#mw-panel a:hover {
.citizen-sidebar a:hover {
    color: #163a70 !important;
     text-decoration: none !important;
     text-decoration: none !important;
}
}
Line 108: Line 129:


/* ============================= */
/* ============================= */
/* SWORD BULLETS (MAIN CONTENT)  */
/* SWORD BULLETS                 */
/* ============================= */
/* ============================= */


/* Remove default bullets in content only */
#bodyContent ul {
#bodyContent ul {
     list-style: none;
     list-style: none;
Line 117: Line 137:
}
}


/* Add sword before each list item */
#bodyContent ul li {
#bodyContent ul li {
     position: relative;
     position: relative;
Line 129: Line 148:
     top: -4px;
     top: -4px;
     font-size: 20px;
     font-size: 20px;
     color: #0b1f3a; /* deep navy sword */
     color: #0b1f3a;
}
}


Line 148: Line 167:
   width: clamp(140px, 28vw, 200px);
   width: clamp(140px, 28vw, 200px);
   height: auto;
   height: auto;
  display: block;
}
}


Line 216: Line 234:
/* ============================= */
/* ============================= */


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


/* ============================= */
/* ============================= */
/* TOP NAVIGATION - WHITE TEXT   */
/* TOP NAV TEXT                 */
/* ============================= */
/* ============================= */


/* Remove backgrounds */
.citizen-header a {
#p-personal ul li,
#p-views ul li,
#p-cactions ul li {
    background: transparent !important;
    border: none !important;
}
 
/* White text, no underline */
#p-personal a,
#p-personal a:visited,
#p-views a,
#p-views a:visited,
#p-cactions a,
#p-cactions a:visited {
     color: #ffffff !important;
     color: #ffffff !important;
     text-decoration: none !important;
     text-decoration: none !important;
    background: transparent !important;
    box-shadow: none !important;
}
}


/* Remove underline on hover */
.citizen-header a:hover {
#p-personal a:hover,
     color: #e6f0ff !important;
#p-views a:hover,
#p-cactions a:hover {
    text-decoration: none !important;
     color: #e6f0ff !important; /* subtle hover tint */
}
 
/* Remove selected tab styling */
#p-views li.selected,
#p-cactions li.selected {
    background: transparent !important;
    border: none !important;
}
}




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


.infobox {
.infobox {
     float: right;
 
     width: 300px;
     float: none !important;
     margin: 0 0 20px 25px;
     clear: both;
 
     margin: 0 auto 30px auto;
 
    width: 460px;
    max-width: 95%;
 
     border-collapse: collapse;
     border-collapse: collapse;
     font-size: 90%;
     font-size: 90%;
     background: rgba(255,255,255,0.82);
 
     backdrop-filter: blur(6px);
     background: #0f141d;
     -webkit-backdrop-filter: blur(6px);
    color: #ffffff;
     box-shadow: 0 10px 35px rgba(0,0,0,0.25);
 
     border-radius: 12px;
     overflow: hidden;
 
     box-shadow: 0 12px 35px rgba(0,0,0,0.45);
}
}


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


Line 287: Line 289:
     width: 40%;
     width: 40%;
     font-weight: 600;
     font-weight: 600;
     color: #0b1f3a;
     color: #8fa6d8;
}
}


.infobox-title {
.infobox-title {
    background: #1a2233;
    color: #ffffff !important;
     font-size: 130%;
     font-size: 130%;
     text-align: center !important;
     text-align: center !important;
     padding: 12px 8px !important;
     padding: 14px;
    background: rgba(0,0,0,0.06);
}
}


.infobox-image {
.infobox-image {
     text-align: center !important;
     text-align: center !important;
     padding: 12px 8px !important;
     padding: 16px;
}
 
.infobox-image img {
    width: 100%;
    max-width: 560px;
    height: auto;
    border-radius: 8px;
}
 


/* Infobox base */
/* ============================= */
.infobox {
/* EDIT MODE READABILITY FIX    */
     border: 1px solid #aaa;
/* ============================= */
     background-color: #f9f9f9;
 
     float: right;
body.action-edit #content,
     clear: right;
body.action-submit #content {
     margin: 0 0 1em 1em;
     background: #ffffff !important;
     padding: 5px;
}
     width: 220px;
 
     font-size: 90%;
body.action-edit,
     border-collapse: collapse;
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;
}
}


.infobox-title {
.citizen-sidebar__link:hover .citizen-sidebar__label {
     background-color: #cee0f2;
     color: #cfe2ff !important;
    text-align: center;
    font-size: 110%;
    font-weight: bold;
    padding: 5px;
}
}


.infobox-image {
.citizen-sidebar {
     text-align: center;
     text-shadow: 0 1px 3px rgba(0,0,0,0.8);
    padding: 5px;
}
}


.infobox th {
/* Make sidebar navigation links always white */
     background-color: #eaecf0;
.citizen-drawer .citizen-menu__item > a,
    text-align: left;
.citizen-drawer .citizen-menu__heading {
    padding: 3px 6px;
     color: #ffffff !important;
    white-space: nowrap;
}
}


.infobox td {
.citizen-drawer a {
     padding: 3px 6px;
     color: #ffffff !important;
}
}


.infobox tr {
 
     border-top: 1px solid #ddd;
body, html {
     cursor: url('/treeverse.cur'), auto !important;
}
}
a {
    cursor: url('/firetree.cur'), pointer !important;
}
}