MediaWiki:Common.js: Difference between revisions
From Midgard Tales Wiki
(Created page with "→Any JavaScript here will be loaded for all users on every page load.: var toc, toggleLink; try { toc = document.getElementById('toc').getElementsByTagName('ul')[0]; toggleLink = document.getElementById('toctogglecheckbox'); // if (tocIsHidden()) { toggleToc(); // } } catch (error) { console.log('erred', error); } function tocIsHidden () { return !toc || !toggleLink || window.getComputedStyle(toc).display !== 'block'; } function toggleToc() { var h...") |
No edit summary |
||
| Line 1: | Line 1: | ||
/* Any JavaScript here will be loaded for all users on every page load. */ | /* Any JavaScript here will be loaded for all users on every page load. */ | ||
html #toc ul, .toc ul { | |||
list-style-image:none; | |||
list-style-position:inside; | |||
list-style-type:armenian /*replace this with the type of number you want*/; | |||
} | } | ||
span.tocnumber { | |||
display:none; | |||
} | } | ||
Revision as of 06:40, 8 March 2024
/* Any JavaScript here will be loaded for all users on every page load. */
html #toc ul, .toc ul {
list-style-image:none;
list-style-position:inside;
list-style-type:armenian /*replace this with the type of number you want*/;
}
span.tocnumber {
display:none;
}