This should help with small viewports, for example on mobile.
The desktop layout, while suboptimal, should have worked with mobile
devices but some browsers don't display things properly.
I thought "New Dawn" sounds kinda cool. It’s a very on-the-nose title,
I know. Might change at some point if I happen to come up with something
better. Or it might just stick, who knows?
This bug would cause the decoration script to run in an infinite loop as it
presumably attempts to decorate new elements it itself created.
(Can’t say for sure, I’m using Otter Browser on a Pentium M which isn’t
exactly the most ideal development setup. lol)
I went a bit overboard with literal thought quotes and it didn't even fit
all my use cases so I decided to replace it with an alternative that better
fits what I want to use it for.
TODO: Change the solid triangle on <span class="speech"> for the open ones
currently used for <span class="non-speech"> and find a new symbol to use
for non-speech.
The index doesn’t have to be a PHP file since there is no need to
generate the list of chapters anew every time the ToC is opened.
Instead, the list of chapters is generated once, ahead of time, and
saved to the index.html.
As an added bonus, this allows the ToC to be generated and used
as a local file.