Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: CSS for Zsh website?



I routinely use fullscreen to browse the web (without custom CSS), but line lengths > 100 characters are unreadable for me, so a width limitation on text would make sense for me.

  - Vin


On Thu, Mar 10, 2022 at 10:37 AM Vincent Lefevre <vincent@xxxxxxxxxx> wrote:
On 2022-03-05 19:47:11 +1100, David Wales wrote:
> I'm not an expert in CSS, typography or even Zsh! However, I believe
> that limiting the text width to a certain maximum number of
> characters is best for readability. In fact, another page of the
> same typography website suggests that the maximum text width should
> be between 45-90 characters.[1]

That's up to the reader to decide the best text width he prefers,
e.g. by choosing a better width for the browser window or with
user-side CSS. Having more text on the screen also has an advantage
to avoid scrolling too often.

> I also included `overflow: auto` for the pre tag to ensure that any
> code blocks longer than the max-width would get scroll bars.

Artificially setting a maximum width so that code blocks get scrollbars
makes code more difficult to read.

--
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



Messages sorted by: Reverse Date, Date, Thread, Author