News for hackers. Stuff that matters.
Re:Tufte CSS by daemonologist on Wednesday September 03, 2025 @04:20PM (#45119976)
The line height is cranked up to 1.75 and font size is derived from the view width:

    calc( 1em + (2 - 1) * ( (100vw - 20em) / ( 100 - 20) ))
Works on mobile (and probably on a vertically oriented monitor) but it's pretty poor on a small and wide laptop screen. Fortunately it's constrained to 2em above a vw of 100em or ultrawide would be very interesting indeed.
Re:Tufte CSS by wmf on Wednesday September 03, 2025 @05:22PM (#45120547)
The text is enormous on a "standard" 1280px desktop window and very little content fits on the screen due to the vertical spacing.