Jump to content

MediaWiki:Common.css: Difference between revisions

From Costa Sano KB
No edit summary
No edit summary
 
(20 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 */


#ns-tree {
/* ======================================
    border: 5px solid yellow !important;
  NS-TREE (AllPages layout + styling)
}
  ====================================== */


/* Force AllPages into single column */
/* Force single column */
#ns-tree .mw-allpages-body {
#ns-tree .mw-allpages-body {
     column-count: 1 !important;
     column-count: 1 !important;
Line 11: Line 11:
}
}


/* Each chunk becomes full width */
#ns-tree .mw-allpages-chunk {
#ns-tree .mw-allpages-chunk {
     display: block !important;
     display: block !important;
Line 18: Line 17:


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


/* Clean spacing */
/* Spacing */
#ns-tree li {
#ns-tree li {
     margin: 3px 0;
     margin: 3px 0;
    line-height: 1.4;
}
/* ===== LINK COLORS ONLY ===== */
#ns-tree a:link,
#ns-tree a:visited {
    color: #ffa500 !important;
}
#ns-tree a:hover {
    color: #ffffff !important;
    text-decoration: underline;
}
/* ===== STRUCTURE ===== */
/* Top-level items (from JS) */
#ns-tree li.top-level {
    margin-top: 14px;
    padding-top: 6px;
    border-top: 1px solid #555;
}
/* Arrow indicator */
#ns-tree li::before {
    content: "›";
    margin-right: 6px;
    color: #888;
}
#ns-tree .mw-allpages-body {
    column-count: 1 !important;
    column-width: auto !important;
}
}

Latest revision as of 14:03, 11 May 2026

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

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

#ns-tree a:link,
#ns-tree a:visited {
    color: #ffa500 !important;
}

#ns-tree a:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

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

/* Top-level items (from JS) */
#ns-tree li.top-level {
    margin-top: 14px;
    padding-top: 6px;
    border-top: 1px solid #555;
}

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

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