zsh-workers
 help / color / mirror / code / Atom feed
From: Vincent Lefevre <vincent@vinc17.net>
To: zsh-workers@zsh.org
Subject: Re: CSS for Zsh website?
Date: Thu, 10 Mar 2022 16:37:02 +0100	[thread overview]
Message-ID: <20220310153702.GA18082@cventin.lip.ens-lyon.fr> (raw)
In-Reply-To: <7EC01F45-DDB2-4941-B576-8B560E7298A6@disroot.org>

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@vinc17.net> - 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)


  reply	other threads:[~2022-03-10 15:37 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-02 13:08 David Wales
2022-03-02 14:26 ` Peter Stephenson
2022-03-03 11:19 ` Daniel Shahaf
2022-03-03 22:15   ` David Wales
2022-03-04 13:12     ` Daniel Shahaf
2022-03-05  8:47       ` David Wales
2022-03-10 15:37         ` Vincent Lefevre [this message]
2022-03-10 16:23           ` Vin Shelton
2022-03-10 16:31             ` Peter Stephenson
2022-03-10 17:17               ` Clinton Bunch
2022-03-10 21:12                 ` Lawrence Velázquez
2022-03-10 21:30                   ` Clinton Bunch
2022-03-10 21:39                     ` Bart Schaefer
2022-03-10 22:43                     ` Vin Shelton
2022-03-10 23:26                     ` Lawrence Velázquez
2022-03-10 19:20               ` Vin Shelton
2022-03-03 23:27   ` Lawrence Velázquez
2022-03-03 22:37 ` Axel Beckert
2022-03-03 23:23   ` Lawrence Velázquez
2022-03-04  0:12     ` Bart Schaefer
2022-03-04  2:44       ` Lawrence Velázquez
2022-03-04 13:26         ` Daniel Shahaf
2022-03-05  6:34           ` Lawrence Velázquez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220310153702.GA18082@cventin.lip.ens-lyon.fr \
    --to=vincent@vinc17.net \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).