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 */
/* Nested bullet styles for all skins */
/* Nested bullet styles for all screens */
body ul {
body ul {
     list-style-type: disc !important;      /* first-level bullets */
     list-style-type: disc !important;      /* first-level bullets */
    margin-left: 1.2em;
}
}
body ul ul {
body ul ul {
     list-style-type: circle !important;    /* second-level bullets */
     list-style-type: circle !important;    /* second-level bullets */
    margin-left: 1.2em;
}
}
body ul ul ul {
body ul ul ul {
     list-style-type: square !important;    /* third-level bullets */
     list-style-type: square !important;    /* third-level bullets */
    margin-left: 1.2em;
}
}
body ul ul ul ul {
body ul ul ul ul {
     list-style-type: decimal !important;    /* fourth-level bullets */
     list-style-type: decimal !important;    /* fourth-level bullets */
    margin-left: 1.2em;
}
/* Force bullets on mobile */
@media (max-width: 768px) {
    body ul, body ul ul, body ul ul ul, body ul ul ul ul {
        list-style-position: inside !important;
    }
}
}

Revision as of 23:40, 5 October 2025

/* CSS placed here will be applied to all skins */
/* Nested bullet styles for all screens */
body ul {
    list-style-type: disc !important;       /* first-level bullets */
    margin-left: 1.2em;
}
body ul ul {
    list-style-type: circle !important;     /* second-level bullets */
    margin-left: 1.2em;
}
body ul ul ul {
    list-style-type: square !important;     /* third-level bullets */
    margin-left: 1.2em;
}
body ul ul ul ul {
    list-style-type: decimal !important;    /* fourth-level bullets */
    margin-left: 1.2em;
}

/* Force bullets on mobile */
@media (max-width: 768px) {
    body ul, body ul ul, body ul ul ul, body ul ul ul ul {
        list-style-position: inside !important;
    }
}