MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
create tocinline class for default toc position
(table of contents as float and aligned to the right)
 
(create tocinline class for default toc position)
Line 7: Line 7:
*/
*/
#toc { float: right };
#toc { float: right };
/*
  In some cases, like the FAQ, we do want the TOC to be inline
  and not a float, so make a style that "undoes" the change above.
  Then use it like "<div class="tocinline">__TOC__</div>"
*/
.tocinline, .toc { float: none };

Navigation menu