Tufte CSS
edwardtufte.github.io
edwardtufte.github.io
[1] https://cs.gmu.edu/~gjstein/2018/12/toward-real-world-alphaz...
Absolutely this!
Upon seeing sidenotes and before reading the article, my first instinct was to see how these elements would react in full v. narrow, and was immediately turned off with how information appeared to wholesale disappear.
Thanks for sharing your blog as a contrasting implementation...so clean and beautifully nuanced.
It does break up the flow a little bit (which is why they're side notes in the first place), but at least they're clear and obvious. And this book's side notes are often quirky and interesting -- definitely worth reading!
Example: https://craftinginterpreters.com/the-lox-language.html
A very common idiom in long-form webpages is a clickable superscript to show a footnote-like item inline.
To improve usability for people less used to this sort of format I would underline it in blue like a link. I know it's not fashionable, but I think click targets should be styled as either links or buttons and this fits the concept of a link better.
You're completely right the target should be larger. The fix is to add a little padding.
Tuft and his obsessives have always lived in a print-focused world; the digital equivalent only being the desktop computer.
My 80% finished website is in my bio if you’re interested.
It's hacky right now, but the result is beautiful IMO. You can find some more examples in the documentation here: https://lunni.dev/
Whew, he didn’t like poking at theory. Because he established his dogma.
While I don't think it works for every type of webpage, I think it really shines when it coems to leave the spotlight for the text content of a page.
I'm convinced there's a sweet spot which retains the academic homepage "feel" while solving some fundamental readability issues like width, whitespace, and contrast. I think of it as one step of complexity "up" from bettermotherfuckingwebsite (but no more!).
Nonetheless, it became a cult sensation. Now that's a debut book.
However, perhaps because I only skimmed the page contents, I struggled to find the link to the github project.
Wonder if that is my brain being conditioned by expectations of a "normal" webpage or that the links have to be highlighted differently.
PS: I do not recall if Tufte's work addresses hyper-links explicitly.
> "If you see anything that Tufte CSS could improve, we welcome your contribution in the form of an issue or pull request on the GitHub project: tufte-css. Please note the contribution guidelines."
lol@ me. It was right there, at the top.
https://github.com/edwardtufte/tufte-css
- - -
I don't think it relies on Github to purvey the files. I think it just encourages you to view source and grab the files yourself, old-school style, which sort of makes sense in context...
> "To use Tufte CSS, copy tufte.css and the et-book directory of font files to your project directory, then add the following to your HTML document’s head block:
<link rel="stylesheet" href="tufte.css"/>
Now you just have to use the provided CSS rules, and the Tufte CSS conventions described in this document. For best results, View Source and Inspect Element frequently."
I find it provides a very pleasing experience for reading longer posts although I will admit it works better on desktop than on phones.
If anyone else gets to it before I do, let me know if it needs some reworking. I’ll post my findings in a reply to this comment once I have the ability!
(The WordPress themes centered on this appear to have been abandoned years ago.)
The rest of the design guidance, the margin notes, the figures, are great but tend to degrade poorly on smaller device screens.
My website is in my bio, happy to chat if you want to do something similar.
I use it for my blog that features margin notes from time to time: https://blog.kdheepak.com/
Though I had to write a lua filter to make the Pandoc margin notes work appropriately :)
And here's one for Jekyll: https://github.com/clayh53/tufte-jekyll