![]() ![]() Dunno if it's much visual noise to others, but at least I don't think it encroaches on other elements.ītw, another hopefully-not-controversial change that I would make is to have the post text black, not gray. Thanks to whoever did that, sincerely! Though personally I'd encourage you/them to make the link three times wider still, to take away even more effort. I hurried to this thread because I noticed that the ‘collapse comment’ links became larger on my phone and I can finally hit them on the first try. I'd also say that the structure could be more semantic-but that may break browser extensions and similar existing customization. Sprinkling around some classes might be something to look at, for providing users the ability for customization. However, there's a problem that HN's HTML layout doesn't lend itself to CSS work: you end up describing elements in terms of ‘a div two items down from the one embedded in that thing’, instead of just using classes. Personally I think that's a more feasible route for personalization than an interface for that on the site itself. I previously customized HN a bit via my own CSS additions, with the Stylus browser extension. Otherwise we just create the security issue all over again, only with a shitty nonstandard application-level CSS editor instead of standard CSS. ![]() The other constraint is: for each setting, the input format would need to be simple to sanitize (e.g. We could even make a separate editor page for it and link to that from the profile. If someone can define a not-too-complicated set of profile settings which, when filled in to taste, would solve people's dark-mode concerns, I'm all for it. How many additional settings would we need? My fear with a customization UI-the HN equivalent of which would be profile settings, as you indicate-is that it would get way too complicated too quickly. They built an entire customization UI instead. However, someone who is plugged into Reddit told me that they used to allow user-defined CSS for customizing subreddits and had to roll it back because of security issues. Our original idea (actually kogir's idea from back in 2014-he's a forward-thinking guy) was that people could create skins this way, if that Winamp-era term isn't too obsolete by now, and share them. I'd love to do that just by offering people a CSS blob that we could inject into their CSS when they browse HN. Not my best CSS but tables/current CSS make some selectors a little tricky and after all, it's less than 1kb added, no markup or stack changes needed, and this is 'Hacker News' right? (prefers-color-scheme: dark) keeps the spirit of HN I think, and is pretty minimal. ![]() If you're inclined to post "this is 2020, how come HN doesn't $thing", remember our motto: move slowly and preserve things. Post it in this thread so others can comment, or email it to I've roped Zain, YC's designer, into helping with this, and we'll come up with something. Anyone who wants to make a suggestion is welcome to. We can add CSS to for prefers-color-scheme: dark, but that leaves open the question of specifically what CSS to put in there. It's just that any CSS issue that goes more than a quarter-inch deep is equally outside my expertise and my interest, so help would be welcome. I'm willing to do it (edit: not to change the default! just to add the option). Ok, you guys, this isn't the first time we've heard this request (. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |