Hacker News, remade for my phone
First, with all respect to Hacker News, to the people who run it and to everyone who reads it. I'm not here to say HN is broken. It's compact, it's light, it's all about the content, and with the design it has I think it's about as good as it gets.
That doesn't mean it can't be better somewhere, and for me that's the phone. The little triangle to upvote, the comments link at the end of a grey line, and the effort it takes to scan from one story to the next. Friendlier is subjective, I know. This is my try at it.
It was also a test. This year I rebuilt my CSS, Alloy, around a fixed set of values in one 23 KB file, and I wanted to see if it holds up on a page that isn't mine, one a lot of people know by heart. I built it with Claude, which read the kit's rules from llms.txt (every class in one text file), and I argued with it about every pixel.
The first try
The first version was close to a copy: the orange header, the triangle, "274 points by shioyama 3 hours ago | 183 comments". Then I opened it on my phone, in dark mode.
Grey on grey. The vote arrow was a tiny thing beside the rank, and the comments were still a few words at the end of a line. It was HN with the lights off, and no easier to use.
Votes and comments you can hit
So the points and the comments became two small buttons under the title. An arrow next to a number reads as voting, and a speech bubble next to a number reads as comments, so neither needs a word. Log in got a button too.

A quieter header
With two buttons on every story, the full orange header started to compete with them, so I let the stories lead. The page went white, the header went light, and orange stayed only on the Y. The buttons lost their borders and kept a soft fill, and the pipes between menu items became dim dots.

Keeping the brand identity
HN's orange, #ff6600, measures about 2.9 to 1 against white, so the white Y on it is hard to read. I took a deeper orange, about 4.2 to 1, kept it for the Y, a thin stripe on top and the upvote arrows, and gave the menu its own tinted bar.

Final touches
Search, right in the header. HN's search sits at the bottom of the page. Here it's at the top, and on a phone it's an icon that opens a full-screen search, still with no script. It sends you to HN's own search at hn.algolia.com.
No CSS of its own, almost. HN's orange, the square corners and Verdana are a few brand values on the <html> tag. The one rule I wrote fades the stories you've visited, because a tag can't reach visited links.
The points, the author and the time sit in a dimmer, smaller line, so the titles stand out when you scan down the page.
Verdana, the font HN uses and your device already has, in place of the 153 KB of web fonts the early tries loaded.
A close button on the message at the top. It's a checkbox, so there's still no script.
The ranks in a tight column, so every number sits the same small gap from its title.
The X on that close button ends on the same right edge as Log in and the stories below it.
Light like HN. The dark version is its own page, with Light and Dark links at the top, so nothing decides it for you.
What it costs
Measured on my phone's width, 360px. Green is the better of the two.
| Measure | HN | Remake |
|---|---|---|
| Whole page | 12.3 KB | 30 KB |
| JavaScript | 2.3 KB | None |
| Stories on one screen | About 12 | About 4 |
| Upvote tap target | 18 × 10 px | 63 × 40 px |
| Comments tap target | 14 px tall | 40 px tall |
| Dark mode | No | Yes |
Most of the remake's 30 KB is the stylesheet, the same file behind all 82 of my template pages, so on a real site it loads once. HN is still lighter, and it shows three times the stories. That's the trade for things a thumb can hit, and if you read HN a dozen stories at a time, you won't like it.
What I'd like to know
Is it actually friendlier, or just different? If you read HN on your phone every day, I'd like to hear what you'd change, or what you'd keep from the real one that I threw away.
The remake is one HTML file, a snapshot of the front page from 20 November: light and dark. View the source, it's short. The CSS is Alloy, free and MIT.
Email me: [email protected]
Get an email when Alloy ships something new
New Alloy CSS releases and new templates. Only when something ships.