MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Craig Holly (talk | contribs) No edit summary |
Craig Holly (talk | contribs) 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 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; } | ||
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 { | 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; } | |||
} | |||
body.skin-vector ul ul ul { | |||
} | |||
body.skin-vector ul ul ul ul { | |||
} | |||
/* | /* 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;
}
}