Mailinglist Archive: opensuse-web (101 mails)

< Previous Next >
Re: [opensuse-web] Re: openSUSE page User:Cboltz has been changed by Rajko m

Am Montag, 19. Dezember 2011 schrieb Rajko M.:
On Tuesday, December 20, 2011 12:23:00 AM Christian Boltz wrote:

Editor's summary: * Updated user page to the last revision of
[[Template:Userpage]] that corrects few layout problems

Thanks for taking care, but I have two questions/proposals:
I'm at letter D and you are comming with new idea, which is kind of
good, as I could have been much farther :)

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*

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 ;-)

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

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.

2. what about creating two classes "userpage-leftcol" and
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

Having classes for left and right will make easier to create new

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 ;-)


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@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-web+owner@xxxxxxxxxxxx

< Previous Next >