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

Re: CSS for Zsh website?



Lawrence Velázquez wrote on Thu, Mar 03, 2022 at 21:44:48 -0500:
> On Thu, Mar 3, 2022, at 7:12 PM, Bart Schaefer wrote:
> > On Thu, Mar 3, 2022 at 3:31 PM Lawrence Velázquez <larryv@xxxxxxx> wrote:
> >>
> >> On Thu, Mar 3, 2022, at 5:37 PM, Axel Beckert wrote:
> >> >
> >> > On Thu, Mar 03, 2022 at 12:08:11AM +1100, David Wales wrote:
> >> >>     max-width: 80ch;
> >> >
> >> > Please don't artificially restrict the width of text on websites
> >>
> >> Hard disagree.  Legibility decreases with line length.
> >
> > Soft disagree.  Setting width to 80 characters is no more necessary
> > than allowing it to be 100% of the viewport.  The only time to use
> > character widths is with fixed-width fonts.  Set margins, not widths.
> 
> Agreed!  I didn't mean to defend the specific CSS that was proffered.

I'm confused.  Didn't you just now post a link that explains why widths
should be set rather than margins?  Quoting from there [with emphasis
removed]:

    There isn’t one margin size that will work for all web pages, but
    the core advice is the same as on the printed page—focus on line
    length.

> Frankly, before this thread I didn't know that "ch" was a CSS unit.




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