MediaWiki:Common.css: Difference between revisions

From Information Revolt
Jump to navigation Jump to search
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 */
/* Force standard bullets in Vector skin */
/* Nested bullet styles for Vector skin, up to 8 levels */
body.skin-vector ul {
body.skin-vector ul { list-style-image: none !important; list-style-type: disc !important; margin-left: 1.2em; }
    list-style-image: none !important; /* remove the SVG bullets */
body.skin-vector ul ul { list-style-type: circle !important; margin-left: 1.2em; }
    list-style-type: disc !important;   /* first-level */
body.skin-vector ul ul ul { list-style-type: square !important; margin-left: 1.2em; }
    margin-left: 1.2em;
body.skin-vector ul ul ul ul { list-style-type: disc !important; margin-left: 1.2em; }
}
body.skin-vector ul ul ul ul ul { list-style-type: circle !important; margin-left: 1.2em; }
body.skin-vector ul ul {
body.skin-vector ul ul ul ul ul ul { list-style-type: square !important; margin-left: 1.2em; }
    list-style-type: circle !important; /* second-level */
body.skin-vector ul ul ul ul ul ul ul { list-style-type: disc !important; margin-left: 1.2em; }
    margin-left: 1.2em;
body.skin-vector ul ul ul ul ul ul ul ul { list-style-type: circle !important; margin-left: 1.2em; }
}
body.skin-vector ul ul ul {
    list-style-type: square !important; /* third-level */
    margin-left: 1.2em;
}
body.skin-vector ul ul ul ul {
    list-style-type: decimal !important; /* fourth-level */
    margin-left: 1.2em;
}


/* Optional: mobile-friendly */
/* Mobile-friendly: keep bullets visible and inside */
@media (max-width: 768px) {
@media (max-width: 768px) {
     body.skin-vector ul,
     body.skin-vector ul,
     body.skin-vector ul ul,
     body.skin-vector ul ul,
     body.skin-vector ul ul ul,
     body.skin-vector ul ul ul,
     body.skin-vector ul ul ul ul {
     body.skin-vector ul ul ul ul,
    body.skin-vector ul ul ul ul ul,
    body.skin-vector ul ul ul ul ul ul,
    body.skin-vector ul ul ul ul ul ul ul,
    body.skin-vector ul ul ul ul ul ul ul ul {
         list-style-position: inside !important;
         list-style-position: inside !important;
     }
     }
}
}

Revision as of 00:11, 6 October 2025

/* CSS placed here will be applied to all skins */
/* Nested bullet styles for Vector skin, up to 8 levels */
body.skin-vector ul { list-style-image: none !important; list-style-type: disc !important; margin-left: 1.2em; }
body.skin-vector ul ul { list-style-type: circle !important; margin-left: 1.2em; }
body.skin-vector ul ul ul { list-style-type: square !important; margin-left: 1.2em; }
body.skin-vector ul ul ul ul { list-style-type: disc !important; margin-left: 1.2em; }
body.skin-vector ul ul ul ul ul { list-style-type: circle !important; margin-left: 1.2em; }
body.skin-vector ul ul ul ul ul ul { list-style-type: square !important; margin-left: 1.2em; }
body.skin-vector ul ul ul ul ul ul ul { list-style-type: disc !important; margin-left: 1.2em; }
body.skin-vector ul ul ul ul ul ul ul ul { list-style-type: circle !important; margin-left: 1.2em; }

/* Mobile-friendly: keep bullets visible and inside */
@media (max-width: 768px) {
    body.skin-vector ul,
    body.skin-vector ul ul,
    body.skin-vector ul ul ul,
    body.skin-vector ul ul ul ul,
    body.skin-vector ul ul ul ul ul,
    body.skin-vector ul ul ul ul ul ul,
    body.skin-vector ul ul ul ul ul ul ul,
    body.skin-vector ul ul ul ul ul ul ul ul {
        list-style-position: inside !important;
    }
}