[opensuse-web] Re: openSUSE page User:Cboltz has been changed by Rajko m
Hello, Am Sonntag, 18. Dezember 2011 schrieb MediaWiki Mail:
Thanks for taking care, but I have two questions/proposals: 1. The initial problem was that the page footer floated between the left and right box [1]. In other words: we should add a "clear:both" to the .box-footer class instead of relying on the users to always sum up the floated content to 100% of the width (which will not work, as demonstrated ;-) After a short test with firebug, I tend to change the .box-footer class. However I'd like to have feedback first because this class is used everywhere, and I really mean everywhere. In other words: would adding a "clear:both" break anything? 2. what about creating two classes "userpage-leftcol" and "userpage- rightcol" which set the width and float? ;-) Regards, Christian Boltz [1] visible in the old version of the page: http://en.opensuse.org/index.php?title=User:Cboltz&oldid=14016 --
-- To unsubscribe, e-mail: opensuse-web+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-web+owner@opensuse.org
On Tuesday, December 20, 2011 12:23:00 AM Christian Boltz wrote: ...
I'm at letter D and you are comming with new idea, which is kind of good, as I could have been much farther :)
I would like more to find how to supply page footer with "clear:both" in the beginning, so that adding any float don't mess whole page below it, as it happens now. Since we have new wiki, without "clear:both" we have category tag below last frame with box-header, box-footer and few more side effects.
2. what about creating two classes "userpage-leftcol" and "userpage- rightcol" which set the width and float? ;-)
I agree with that in much broader context, not only for user pages, but for any page. Right now we have single type of box-{header,footer} that has same margins left and right, wich makes left and right columns separated by double margin instead single; it doesn't look right. Also, we have to define size as 70-30 or something else in each page instead of having few predefined, with ability to override it with "style=". Having classes for left and right will make easier to create new pages, and to edit existing, well, we need some regex extension to edit multiple pages, but with very limited access to it.
Regards,
Christian Boltz
-- Regards, Rajko -- To unsubscribe, e-mail: opensuse-web+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-web+owner@opensuse.org
Hello, Am Montag, 19. Dezember 2011 schrieb Rajko M.:
Hint: before starting such big jobs, ask on the mailinglist. Often there are better/easier solutions available. Or at least start with letter C so that I get a notice earlier ;-) If everything else fails, follow the proposal in my signature *g*
That sounds like adding clear:both can't break much (because it's already broken), but it can fix several issues. After testing on some pages with firebug and not noticing any regression, I just edited Mediawiki:Common.css and added it. Be warned that it is cached even for logged-in users, so it might take some hours until everybody gets the fixed CSS. If you see some strange side effects of this change, please tell me.
Feel free to add them to Mediawiki:Common.css and use them in the template for userpages etc. ;-)
and to edit existing, well, we need some regex extension to edit multiple pages, but with very limited access to it.
That's what the ReplaceText extension can do. We "just" need to install it ;-) Regards, Christian Boltz -- The former solution seems to be a lot of "monkey work", [...] I don't think it would be viable on a long term approach. We better succeed in the latter approach.. or buy lot of banana :) [Rémy Marquis in opensuse-wiki] -- To unsubscribe, e-mail: opensuse-web+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-web+owner@opensuse.org
On Tuesday, December 20, 2011 12:23:00 AM Christian Boltz wrote: ...
I'm at letter D and you are comming with new idea, which is kind of good, as I could have been much farther :)
I would like more to find how to supply page footer with "clear:both" in the beginning, so that adding any float don't mess whole page below it, as it happens now. Since we have new wiki, without "clear:both" we have category tag below last frame with box-header, box-footer and few more side effects.
2. what about creating two classes "userpage-leftcol" and "userpage- rightcol" which set the width and float? ;-)
I agree with that in much broader context, not only for user pages, but for any page. Right now we have single type of box-{header,footer} that has same margins left and right, wich makes left and right columns separated by double margin instead single; it doesn't look right. Also, we have to define size as 70-30 or something else in each page instead of having few predefined, with ability to override it with "style=". Having classes for left and right will make easier to create new pages, and to edit existing, well, we need some regex extension to edit multiple pages, but with very limited access to it.
Regards,
Christian Boltz
-- Regards, Rajko -- To unsubscribe, e-mail: opensuse-web+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-web+owner@opensuse.org
Hello, Am Montag, 19. Dezember 2011 schrieb Rajko M.:
Hint: before starting such big jobs, ask on the mailinglist. Often there are better/easier solutions available. Or at least start with letter C so that I get a notice earlier ;-) If everything else fails, follow the proposal in my signature *g*
That sounds like adding clear:both can't break much (because it's already broken), but it can fix several issues. After testing on some pages with firebug and not noticing any regression, I just edited Mediawiki:Common.css and added it. Be warned that it is cached even for logged-in users, so it might take some hours until everybody gets the fixed CSS. If you see some strange side effects of this change, please tell me.
Feel free to add them to Mediawiki:Common.css and use them in the template for userpages etc. ;-)
and to edit existing, well, we need some regex extension to edit multiple pages, but with very limited access to it.
That's what the ReplaceText extension can do. We "just" need to install it ;-) Regards, Christian Boltz -- The former solution seems to be a lot of "monkey work", [...] I don't think it would be viable on a long term approach. We better succeed in the latter approach.. or buy lot of banana :) [Rémy Marquis in opensuse-wiki] -- To unsubscribe, e-mail: opensuse-web+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-web+owner@opensuse.org
participants (3)
-
Christian Boltz
-
Christian Boltz
-
Rajko M.