On Fri, 12 Oct 2012 12:06:16 +0200
Christian Boltz
Hello,
Am Donnerstag, 11. Oktober 2012 schrieb Rajko:
Problem: http://en.opensuse.org/index.php?title=Special:PopularPages&limit=500& offset=500 numbers are going out of content area.
Problem code:
skins/bento/css/local-css/style.css Line 274:
ul, ol { list-style: disc outside none; }
Solution: ul, ol { list-style: disc inside none; }
Applied to http://en.opensuse.org/MediaWiki:Common.css it doesn't work.
'The problem is that skins/bento/css/local-css/style.css is loaded _after_ MediaWiki:Common.css (I'd call that a bug).
Depends :) What if MediaWiki:Common.css will be loaded last? Any user with admin rights will be able to mess whole interface. On the other hand some changes are possible, other not.
Anyway, your change would cause some side effects - multiline <ul> and <ol> would look like
42. this is a numbererd list with very long lines
instead of
42. this is a numbered list with very long lines
It is visible even on a first page that numbers are lined up, then text follows after one space, but as there is no wrapping in Popular pages (at least in my browser window :) I don't think it is a problem (for me and alike :). "list-style: disc inside none;" is used in original MediaWiki. Firebug is reporting that ul, ol { list-style: disc inside none; } is inheriting properties from .special class. I'm not sure how that reflects on other ol and ul in the wiki.
Additionally, your CSS would probably replace the numbers with bullet points, which isn't what you want for <ol> ;-)
Tested with Firebug; it doesn't.
I replaced your solution with
ol { margin-left:30px; }
This one moves list, but it is temporary solution as it will fail again when number of pages grows to 10000. Taking current organization that is asking every user that wants to add new topic (like Greg with DFIR) to learn few hours how to add topic and its articles, that will not happen any soon. -- Regards, Rajko. -- To unsubscribe, e-mail: opensuse-web+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-web+owner@opensuse.org