Jump to content

User:Anomie/untoclimit.css

From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
/* CSS rules to undo the misguided application of [[Template:TOClimit]]. To include
 * these rules, insert the following into your [[Special:Mypage/monobook.js]]:
 
importStylesheet('User:Anomie/untoclimit.css'); // Linkback: [[User:Anomie/untoclimit.css]]
 
 * Please keep the linkback comment so I can know who is using this.
 */
.toclimit-2 .toclevel-2,
.toclimit-3 .toclevel-3,
.toclimit-4 .toclevel-4,
.toclimit-5 .toclevel-5,
.toclimit-6 .toclevel-6,
.toclimit-7 .toclevel-7 {
    display: list-item;
    background-color: #ccc;
}

body .mw-parser-output .toclimit-2 .toclevel-1 ul,
body .mw-parser-output .toclimit-3 .toclevel-2 ul,
body .mw-parser-output .toclimit-4 .toclevel-3 ul,
body .mw-parser-output .toclimit-5 .toclevel-4 ul,
body .mw-parser-output .toclimit-6 .toclevel-5 ul,
body .mw-parser-output .toclimit-7 .toclevel-6 ul {
    display: block;
}