MediaWiki:Common.css
From Arcis Wiki
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */
/* Add collapsible table of contents to any page using the following code:
<div class="toc">
<h2>Table of Contents</h2>
<div class="toc-content">
__TOC__
</div>
</div>
*/
.toc {
border: 1px solid #ccc;
padding: 5px;
width: 100%;
}
.toc h2 {
cursor: pointer;
}
.toc-content {
display: none;
padding: 5px;
}
.toc-expanded .toc-content {
display: block;
}