From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HTML_MESSAGE,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,T_SCC_BODY_TEXT_LINE, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 21085 invoked from network); 10 Mar 2022 16:24:13 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 10 Mar 2022 16:24:13 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1646929453; b=R/w14twANR/dkzQu+RTv4H0brMBf1tIRZd10+U6eDC3HtfzCU0pK3gpM5Gm+UFl2fDXEnHd3/R NHJeyqzsX4jVU6PwMwNcMh6j+7WxWb2fO9SoqoFLcZg9oYt5TRP4rn3PlQbgkgJMyNNA2pw1PE oZ5iSzkZ1bpJJsq4FXaNdKxgrZ03rSyToWQ0WxMFCCmmNkyEELYHOOOeEThLQTCLESoXO02vD3 VT/a+2PB5mjKASb1U1Rw8aaswJLz7J9GBHICPc+/Dw8AaV/Tym4rulXmw+Js0kEeSg9FO2zcAv LohIn9wapJv157tuclaClnSxXu0RZUm2FGljHzYMN8f1sw==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-lf1-f54.google.com) smtp.remote-ip=209.85.167.54; dmarc=none header.from=alumni.princeton.edu; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1646929453; bh=TK+uZQnj7LAbEQMsUbprQ7qa0+dgJG7kR1rdjU5v5Ng=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:DKIM-Signature; b=gKcmx9GLhKUOb+ixgjDzedMgG4jgnLEfpqsIAAmSUp4APeUadWTxXCeOHXwqkhz0edq8JLlO4s LDogFnAvsyy+ChySOE+JpJg9mVl6IyUTfE0+05vSRkV4vlN0t+FfxhSWoN7LGJRzFLv9HvEVeS QKOSCauZILFKNKk+oOFqy1i6IQ4fo8Z4kLcw585gpFNw0uk1q7oshw3coVBnmrHNmlDg/LfgxX 6cKggFCaiDr3N+INyWmukm4WxT7Ifjy7t/mDwKswQaOa/ZRhplx1Id6Ti/pE24/R1qMzwXnEE+ 4f79EZydMj9WMRZ6TJeYpG3wEu3aW6D1PtoTQvZadGlSNQ==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Type:To:Subject:Message-ID: Date:From:In-Reply-To:References:MIME-Version:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=wU4QrvQ2ntjmyNP/rp05igriebUglY71eryGKgwWPDE=; b=Ru1H5ammsvWbE00Iz9SakDg+y6 jRmB3g6x0IeXNTLRWeMsoFXINywF52HVwLcdHEiI70ziazzuTXK990VXVeElYkh4Rhj3f3TZHa7FG ktMwqmzHEb74YQL0rtU7wx8ZSrgDpI0dTLRM/ZUwV5HUmqudYxddAg6NeQNLL9k5HkL5JmsaWoTyY Bqnee46K0JNCUa9Np0BUfD3y7HhtMyYUQ65g8O+SAknTQ/zm5k2ySwv8WUSK7vJGJqRPZu+pyN9hE AXveM8AXnOyCBD/fyjOUCpyQIXcM+fu58WTuWuipK6m7z0fJhT8/+p9c8VvVkZqKgVQD+1Jx8Grhi Ur27wF4g==; Received: from authenticated user by zero.zsh.org with local id 1nSLaF-000FzW-Vk; Thu, 10 Mar 2022 16:24:12 +0000 Authentication-Results: zsh.org; iprev=pass (mail-lf1-f54.google.com) smtp.remote-ip=209.85.167.54; dmarc=none header.from=alumni.princeton.edu; arc=none Received: from mail-lf1-f54.google.com ([209.85.167.54]:40718) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1nSLZi-000Ffb-7c; Thu, 10 Mar 2022 16:23:38 +0000 Received: by mail-lf1-f54.google.com with SMTP id 3so10349313lfr.7 for ; Thu, 10 Mar 2022 08:23:38 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=wU4QrvQ2ntjmyNP/rp05igriebUglY71eryGKgwWPDE=; b=XJH5IWylICFmeTLNpHLDNdrpeMriaL5iwCFZf63TNdDs4rkLww5INHqOnrCNHDbQQH VwZ3NCWTTl0nCcRf9DdEG00+0l1sqt/Abn9fnvlTDdqX9X3zlMp/HOLBoALMRxTomtY/ il0I9qE6w6WvYzCIwWDojwb+RdzUyKPbAZzh0rpUgFbEsNm3XHzH0ymI2gaqydsaLkrF Lw7pSBhtBgx56Rhn7u703cKvJqrlLp+3xA2eJXjPEQzDm5ue1I8MD6xva3s0158Pk5rR OaykGbai2P9cpgtVGFGtrD0MqYPvsXSbuBioO5ooo4pK+QWHN0FutNi3PKv+64wijH7U hQWg== X-Gm-Message-State: AOAM531PKPXmXrcSOI16/7890i9MRbhblsRD++8Qawkkax5qpYDu/ovQ fjvPH/Q35STYql1ei5kK1Pbx1ert9LJmxNPSXq8YQArV4TY= X-Google-Smtp-Source: ABdhPJwnz8YcCQudyuGl9wgk6XkGMSZFnDplRTLLr+4z/XppshwkQBGBmZJDKzwyFnhDYpUJ3DLEkD6i0yuDG/mUijo= X-Received: by 2002:a05:6512:2035:b0:448:36d7:a968 with SMTP id s21-20020a056512203500b0044836d7a968mr3466948lfs.140.1646929417053; Thu, 10 Mar 2022 08:23:37 -0800 (PST) MIME-Version: 1.0 References: <19afce8d-8efe-5d9b-2fce-e0cabbf6d768@disroot.org> <8cc569f1-106d-4495-96b4-bd3fd92d430a@www.fastmail.com> <20220304131252.GB7687@tarpaulin.shahaf.local2> <7EC01F45-DDB2-4941-B576-8B560E7298A6@disroot.org> <20220310153702.GA18082@cventin.lip.ens-lyon.fr> In-Reply-To: <20220310153702.GA18082@cventin.lip.ens-lyon.fr> From: Vin Shelton Date: Thu, 10 Mar 2022 11:23:00 -0500 Message-ID: Subject: Re: CSS for Zsh website? To: "Zsh Hackers' List" Content-Type: multipart/alternative; boundary="000000000000dfacbf05d9dfa289" X-Seq: 49824 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: --000000000000dfacbf05d9dfa289 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 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=C3=A8vre - Web: > 100% accessible validated (X)HTML - Blog: > Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon) > > --000000000000dfacbf05d9dfa289 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
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.
=C2=A0 - Vin


On Thu, Mar 10, 2022= at 10:37 AM Vincent Lefevre <vinc= ent@vinc17.net> 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 belie= ve
> 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=C3=A8vre <vincent@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blo= g/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

--000000000000dfacbf05d9dfa289--