Jump to content

MediaWiki:Common.css: Difference between revisions

From Costa Sano KB
No edit summary
No edit summary
Line 2: Line 2:


#ns-tree a {
#ns-tree a {
    color: #ffff66 !important;  /* soft yellow (less aggressive than pure yellow) */
     border: 1px solid yellow !important;
     border: 1px solid yellow !important;
}
}


 
/* ======================================
 
   NS-TREE (AllPages layout + styling)
/* ===============================
   ====================================== */
   AllPages clean single-column layout
   =============================== */


/* Force single column */
/* Force single column */
Line 23: Line 20:
}
}


/* Remove bullets completely */
/* Remove bullets */
#ns-tree ul,
#ns-tree ul,
#ns-tree li {
#ns-tree li {
Line 31: Line 28:
}
}


/* General spacing */
/* Spacing */
#ns-tree li {
#ns-tree li {
     margin: 3px 0;
     margin: 3px 0;
Line 37: Line 34:
}
}


/* Links */
/* ===== LINK COLORS (FOR DARK BACKGROUND) ===== */
#ns-tree a {
 
    text-decoration: none;
/* Normal + visited links */
     color: #0645ad;
#ns-tree .mw-parser-output a:link,
#ns-tree .mw-parser-output a:visited {
     color: #ffff66 !important;   /* readable yellow */
}
}


#ns-tree a:hover {
/* Hover */
#ns-tree .mw-parser-output a:hover {
    color: #ffffff !important;
     text-decoration: underline;
     text-decoration: underline;
}
}


/* Top-level items (JS adds class) */
/* ===== STRUCTURE ===== */
 
/* Top-level items (added by JS) */
#ns-tree li.top-level {
#ns-tree li.top-level {
     margin-top: 10px;
     margin-top: 10px;
     padding-top: 4px;
     padding-top: 4px;
     border-top: 1px solid #eee;
     border-top: 1px solid #444;
}
}


/* Optional: subtle arrow indicator */
/* Optional arrow indicator */
#ns-tree li::before {
#ns-tree li::before {
     content: "›";
     content: "›";
     margin-right: 6px;
     margin-right: 6px;
     color: #bbb;
     color: #888;
}
}

Revision as of 14:31, 12 April 2026

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

#ns-tree a {
    border: 1px solid yellow !important;
}

/* ======================================
   NS-TREE (AllPages layout + styling)
   ====================================== */

/* Force single column */
#ns-tree .mw-allpages-body {
    column-count: 1 !important;
    column-width: auto !important;
}

#ns-tree .mw-allpages-chunk {
    display: block !important;
    width: 100% !important;
}

/* Remove bullets */
#ns-tree ul,
#ns-tree li {
    list-style: none !important;
    padding-left: 0;
    margin-left: 0;
}

/* Spacing */
#ns-tree li {
    margin: 3px 0;
    line-height: 1.4;
}

/* ===== LINK COLORS (FOR DARK BACKGROUND) ===== */

/* Normal + visited links */
#ns-tree .mw-parser-output a:link,
#ns-tree .mw-parser-output a:visited {
    color: #ffff66 !important;   /* readable yellow */
}

/* Hover */
#ns-tree .mw-parser-output a:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

/* ===== STRUCTURE ===== */

/* Top-level items (added by JS) */
#ns-tree li.top-level {
    margin-top: 10px;
    padding-top: 4px;
    border-top: 1px solid #444;
}

/* Optional arrow indicator */
#ns-tree li::before {
    content: "›";
    margin-right: 6px;
    color: #888;
}