Stefan Behnel a écrit :
Hi Olivier,
Olivier Grisel wrote:
As I found the current style a bit "too big" I refactored the css to get this: http://champiland.homelinux.net/lxml-newstyle/ If you like it I can check that in the svn. I enclose a patch to list the changes.
Thanks for working on that. However, I generally dislike web pages that try to tell me what size I should have used for the browser window. For example, it doesn't always work for the code exampled, which can exceed the provisioned width (although this may mean we'd better fix the examples).
The style I wrote takes care of having the main content width remain approximately constant in terms of number of characters. Try to resize the fonts in your browser window with ctrl-scroll wheel to see what I mean. I tend to dislike website with a lot of textual content to spread horizontally having more than 20 words on a line. That makes it really difficult to read. Most blog or newspaper sites with textual content do not spread the text too much horizontally to not hurt the readers eyes. The examples should be resized to 79 chars max (as all source code should) in order to both enhance readability and match the CSS style assumptions. If you still disagree, I can set the column width to some 80% value for instance instead of an "em" based value.
And I find it very irritating that headlines and links look the same. I'd be happy if you could fix that. The original style wasn't that bad, although it may be enough to underline the links in the new style.
I find underlined links a bit to heavy as well but I agree headlines and links are too similars. I'll give it another try tonight.
To Stefan: your work on mail.txt has been done only in branch/lxml-0.9.x and not in trunk. Is it intentional?
As the branch represents the latest official version (both of lxml and the web pages), I find it more important to have the web pages up-to-date there. I wanted to merge the changes into the trunk later on, but I had conflicts, so I decided to wait until after my vacation.
Ok. -- Olivier