From: Chad Horohoe Date: Sat, 4 Jul 2009 00:41:15 +0000 (+0000) Subject: (bug 19503) Missing definition for #filetoc. Move various toc declarations out of... X-Git-Tag: 1.31.0-rc.0~41114 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=e7bbd37a01c9e40fafde7cfaadfe13d259865256;p=lhc%2Fweb%2Fwiklou.git (bug 19503) Missing definition for #filetoc. Move various toc declarations out of Monobook and Modern and into common. --- diff --git a/skins/common/common_rtl.css b/skins/common/common_rtl.css index 4f075ae38f..c3345e5a96 100644 --- a/skins/common/common_rtl.css +++ b/skins/common/common_rtl.css @@ -52,3 +52,13 @@ a.feedlink { background: none !important; padding-left: 0 !important; } + +/** + * Lists: + * The following lines don't have a visible effect on non-Gecko browsers + * They fix a problem ith Gecko browsers rendering lists to the right of + * left-floated objects in an RTL layout. + */ +html > body div#bodyContent ul#filetoc { + display: block; +} diff --git a/skins/common/shared.css b/skins/common/shared.css index 3ba23982c1..55753b96f9 100644 --- a/skins/common/shared.css +++ b/skins/common/shared.css @@ -575,3 +575,21 @@ table.wikitable { .imagelist .TablePager_col_links { background-color: #eeeeff } .imagelist .TablePager_col_img_description { white-space: normal } .imagelist th.TablePager_sort { background-color: #ccccff } + +/* filetoc */ +ul#filetoc { + text-align: center; + border: 1px solid #aaaaaa; + background-color: #f9f9f9; + padding: 5px; + font-size: 95%; + margin-bottom: 0.5em; + margin-left: 0; + margin-right: 0; +} + +#filetoc li { + display: inline; + list-style-type: none; + padding-right: 2em; +} \ No newline at end of file diff --git a/skins/modern/main.css b/skins/modern/main.css index ffbafd80dc..395790b95b 100644 --- a/skins/modern/main.css +++ b/skins/modern/main.css @@ -788,25 +788,6 @@ table.collapsed tr.collapsable { display: none; } - -/* filetoc */ -ul#filetoc { - text-align: center; - border: 1px solid #aaaaaa; - background-color: #f9f9f9; - padding: 5px; - font-size: 95%; - margin-bottom: 0.5em; - margin-left: 0; - margin-right: 0; -} - -#filetoc li { - display: inline; - list-style-type: none; - padding-right: 2em; -} - input#wpSummary { width: 80%; } diff --git a/skins/monobook/main.css b/skins/monobook/main.css index 54a22cb047..6a922bd7d0 100644 --- a/skins/monobook/main.css +++ b/skins/monobook/main.css @@ -1274,25 +1274,6 @@ table.collapsed tr.collapsable { display: none; } - -/* filetoc */ -ul#filetoc { - text-align: center; - border: 1px solid #aaaaaa; - background-color: #f9f9f9; - padding: 5px; - font-size: 95%; - margin-bottom: 0.5em; - margin-left: 0; - margin-right: 0; -} - -#filetoc li { - display: inline; - list-style-type: none; - padding-right: 2em; -} - input#wpSummary { width: 80%; } diff --git a/skins/monobook/rtl.css b/skins/monobook/rtl.css index 59e994dc9a..3432651368 100644 --- a/skins/monobook/rtl.css +++ b/skins/monobook/rtl.css @@ -227,19 +227,6 @@ table.filehistory th { text-align: right; } -/** - * Lists: - * The following lines don't have a visible effect on non-Gecko browsers - * They fix a problem ith Gecko browsers rendering lists to the right of - * left-floated objects in an RTL layout. - */ -html > body div#bodyContent ul { - display: table; -} -html > body div#bodyContent ul#filetoc { - display: block; -} - /* Special:Allpages styling */ td.mw-allpages-nav, p.mw-allpages-nav, td.mw-allpages-alphaindexline { text-align: left;