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
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */


/* ============================= */
/* ============================= */
Line 9: Line 10:
}
}


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


/* Subtle cinematic dark overlay */
/* Cinematic 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 71:


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


Line 70: Line 80:


#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: 10px;
     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 121:
/* ============================= */
/* ============================= */


#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 131:


/* ============================= */
/* ============================= */
/* 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 139:
}
}


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


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


Line 216: Line 236:
/* ============================= */
/* ============================= */


#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)  */
/* INFOBOX STYLING               */
/* ============================= */
/* ============================= */


Line 275: Line 270:
     background: rgba(255,255,255,0.82);
     background: rgba(255,255,255,0.82);
     backdrop-filter: blur(6px);
     backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
     box-shadow: 0 10px 35px rgba(0,0,0,0.25);
     box-shadow: 0 10px 35px rgba(0,0,0,0.25);
}
}
Line 291: Line 285:
     color: #0b1f3a;
     color: #0b1f3a;
     background-color: #eaecf0;
     background-color: #eaecf0;
    white-space: nowrap;
}
}