MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
m
seems like the problem has been extra semi-colon all this time
(create tocinline class for default toc position)
m (seems like the problem has been extra semi-colon all this time)
 
(5 intermediate revisions by the same user not shown)
Line 6: Line 6:
   flow of text and leads to people ignoring the first section.
   flow of text and leads to people ignoring the first section.
*/
*/
#toc { float: right };
.toc { float: right }


/*
/*
Line 12: Line 12:
   and not a float, so make a style that "undoes" the change above.
   and not a float, so make a style that "undoes" the change above.
   Then use it like "<div class="tocinline">__TOC__</div>"
   Then use it like "<div class="tocinline">__TOC__</div>"
  This "magic" CSS means toc id inside tocinline will not float.
*/
*/
.tocinline, .toc { float: none };
.tocinline .toc { float: none }

Navigation menu