Jump to content

MediaWiki:Common.css: Difference between revisions

From Costa Sano KB
No edit summary
No edit summary
Line 5: Line 5:
}
}


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


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


/* Remove bullets */
/* Remove bullets completely */
#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 */
/* General spacing */
#ns-tree li {
#ns-tree li {
     margin: 3px 0;
     margin: 3px 0;
    line-height: 1.4;
}
/* Links */
#ns-tree a {
    text-decoration: none;
    color: #0645ad;
}
#ns-tree a:hover {
    text-decoration: underline;
}
/* Top-level items (JS adds class) */
#ns-tree li.top-level {
    margin-top: 10px;
    padding-top: 4px;
    border-top: 1px solid #eee;
}
/* Optional: subtle arrow indicator */
#ns-tree li::before {
    content: "›";
    margin-right: 6px;
    color: #bbb;
}
}

Revision as of 13:35, 12 April 2026

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

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

/* ===============================
   AllPages clean single-column layout
   =============================== */

/* 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 completely */
#ns-tree ul,
#ns-tree li {
    list-style: none !important;
    padding-left: 0;
    margin-left: 0;
}

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

/* Links */
#ns-tree a {
    text-decoration: none;
    color: #0645ad;
}

#ns-tree a:hover {
    text-decoration: underline;
}

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

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