- experiments show that this improves readability by 100% despite the icons being ugly and blurry due to not integer-scaling.
it's not like I can really fix that though, since they're next to text; good luck making pixel-perfect icons that are meant to appear next to fonts of like 10 different sizes that increment by very little.
+ the treehouse's design is now certified 4% more accessible :verified: by means of using `rem` metrics for all the UI elements, so now the UI will scale depending on the font size you've set in your browser.
- there are now syntaxes for [Lua][branch:01HTAQ23YHXTEZ7WNVZREZ8WSZ], [Rust][branch:01HTWRAS0EHFG2V4N6NCR403C5], [JSON][branch:01HRT0W4AKQJEAMJ8XHJVMY4ZV], and [C][branch:01HY5R1ZW5R3808RNG6RAPC8H4]!
- and I'm only mentioning it because there are some C++ code snippets in the treehouse, and it would be _really_ nice if they finally started being highlighted
+ this was a hefty refactor, but I introduced a replacement for the standard `is=""` attribute that works on Webkit.
% id = "01HR300JYTX1J1SQW39SQM2A4X"
+ seriously, fuck you, Apple.
wish the people who work there and oppose industry standards would stop sitting there with a finger up their ass and accept that reality is not always what you want it to be.
% id = "01HR300JYTPHPKD0VCDGWT01HE"
- even as I'm writing this, I'm trembling over how half my website is probably gonna break after this refactor, due to me having it written in pure JavaScript rather than TypeScript, but eh, fuck it.
- just know that I'm writing this not because I think the standards are good, but because one vendor not following them just results in extra work on our part - the developers' part -
doing more work than is actually really necessary to accomplish a certain task.
you're just making me (and hundreds of thousands of other developers) write a shitty, slow version of what the browser could do by default, had it been following Web standards.
+ page links no longer need to have the .html at the end. I'm still in progress of porting the website over to the new format, so you may see some spots where there's a .html extension.
- if that's too annoying for you, it's easy to disable - scroll down on the [news page][page:treehouse/new] and there's a (collapsed by default) settings section for the page
- first thing you probably noticed: added indent guides (may require a modern browser due to usage of [`:has`](https://developer.mozilla.org/en-US/docs/Web/CSS/:has))
% id = "01HP20D2R40HW0SMETK14WKDF2"
+ added some nice animations
% id = "01HP20D2R4WD9CC3X8MP3RWWHR"
- hovering over branches is now animated
% id = "01HP20D2R4E24GK562RN108E34"
- when a branch is focused via a hyperlink, the background will now pulse in and out to grab your attention
% id = "01HP20D2R4SFE4S1JREWP50SQ5"
- this replaces the previous dotted underline which my friends reported to be hard to spot
% id = "01HP20D2R4C0DZAKKB84FCQNXN"
+ added dates to branches (requires JavaScript)
% id = "01HP20D2R4BF3ZX5SVV6RJJ6HK"
- JavaScript requirement due to dates being formatted in your system's locale
+ [`/b` endpoint](/b) is now used for shorter links. it also generates OpenGraph metadata so that Your Favorite Messaging Platform can display the linked branch's content
- what's left here is to add some more OpenGraph to do stuff like: thumbnails, default descriptions, and so on and so forth - but the seeds for that have already been planted :smile:
% id = "01HP20D2R4MBTW82TVT9MWY3GZ"
- internals: branches are now based on flexboxes rather than background images.
this requires sending a bit more HTML, but [the layout is a lot more stable][branch:01HP20D2R4F2XZVBBQNVW6CVHE] as well as being [easier to extend][branch:01HP20D2R4C0DZAKKB84FCQNXN]