Index: trunk/phase3/includes/Linker.php |
— | — | @@ -1456,10 +1456,10 @@ |
1457 | 1457 | static function tocList( $toc, $lang = false ) { |
1458 | 1458 | $title = wfMsgExt( 'toc', array( 'language' => $lang, 'escape' ) ); |
1459 | 1459 | return |
1460 | | - '<table id="toc" class="toc"><tr><td>' |
| 1460 | + '<div id="toc" class="toc">' |
1461 | 1461 | . '<div id="toctitle"><h2>' . $title . "</h2></div>\n" |
1462 | 1462 | . $toc |
1463 | | - . "</ul>\n</td></tr></table>\n"; |
| 1463 | + . "</ul>\n</div>\n"; |
1464 | 1464 | } |
1465 | 1465 | |
1466 | 1466 | /** |
Index: trunk/phase3/skins/vector/screen.css |
— | — | @@ -884,8 +884,7 @@ |
885 | 885 | .toc ul { |
886 | 886 | list-style-type: none; |
887 | 887 | list-style-image: none; |
888 | | - margin-left: 0; |
889 | | - padding-left: 0; |
| 888 | + padding: 0 .4em; |
890 | 889 | text-align: left; |
891 | 890 | } |
892 | 891 | #toc ul ul, |
Index: trunk/phase3/skins/monobook/main.css |
— | — | @@ -348,8 +348,7 @@ |
349 | 349 | .toc ul { |
350 | 350 | list-style-type: none; |
351 | 351 | list-style-image: none; |
352 | | - margin-left: 0; |
353 | | - padding-left: 0; |
| 352 | + padding: 0 .4em; |
354 | 353 | text-align: left; |
355 | 354 | } |
356 | 355 | #toc ul ul, |
Index: trunk/phase3/skins/modern/main.css |
— | — | @@ -556,11 +556,6 @@ |
557 | 557 | border: solid 1px #bbb; |
558 | 558 | } |
559 | 559 | |
560 | | -#toc tr, #toc td { |
561 | | - margin: 0; |
562 | | - padding: 0; |
563 | | -} |
564 | | - |
565 | 560 | #toctitle { |
566 | 561 | border-bottom: solid 1px #3c78b5; |
567 | 562 | background-color: #ddd; |
— | — | @@ -587,7 +582,7 @@ |
588 | 583 | list-style-type: none; |
589 | 584 | list-style-image: none; |
590 | 585 | margin: 0 1em; |
591 | | - padding-left: 0; |
| 586 | + padding: 0; |
592 | 587 | text-align: left; |
593 | 588 | } |
594 | 589 | |
Index: trunk/phase3/skins/common/shared.css |
— | — | @@ -783,4 +783,14 @@ |
784 | 784 | } |
785 | 785 | |
786 | 786 | /* bug 12205 */ |
787 | | -#mw-credits a { unicode-bidi: embed; } |
\ No newline at end of file |
| 787 | +#mw-credits a { |
| 788 | + unicode-bidi: embed; |
| 789 | +} |
| 790 | + |
| 791 | +/* Standard toc */ |
| 792 | +#toc { |
| 793 | + display: inline-block; |
| 794 | + /* IE6+7 workaround */ |
| 795 | + zoom: 1; |
| 796 | + display: inline !ie; |
| 797 | +} |
\ No newline at end of file |