Logs
Reading this document
As with how I usually write changelogs, I will be keeping the latest updates first.
There's also a commit log.
Dec 3, '24
Today's work is mainly refactoring the tabbed view of the nav on the left and in general, how radio-buttons work. They used to depend on linearly growing CSS which is hacky albeit simple. Now the JS just works.
I have also two other ideas waiting to be implemented
- To be able to have "secret" pages under a certain salted hash of an access code; the pin-entry page just redirects you programmatically to the resultant hash name and if it doesn't exist then bummer. The main issue would be how to exclude the page from the Zola search index.
- To implement the scary eyes that pop up all over the page and blink at you when you leave the tab open for too long.
Nov 29, '24
I'm staying up in bed refactoring code I wrote in the last week about this
website. Mostly CSS renames for confusing bits, adding transition
s for the
light and dark themes, styling <ul>
s and <ol>
s and <blockquote>
s, etc etc.
Nov 22, '24
It is time that I start documenting the construction and evolution of this website itself. The CSS has grown a lot in the past two weeks (which is really about as long as this website existed).
If I don't change this in the future, then this website will have a rather
traditional PC layout and a single-column mobile layout. It has a "nav bar", an
"article section", a box reserved for a table of contents, and a "footer". The
key to this layout is in the CSS Flexbox Display (display: flex;
).
Also, persistent light vs. dark theme configuration is now supported. The
button CSS is again, Flexbox. The basic JS involves only switching out a few
classes for the <body>
element โ one of which is .adaptive
, which is
defined twice based on @media
query results. The loading and saving of this
config is wrapped pretty densely in a small piece of cookie-editing JS.
I assume I'd be talking more about the details in Behind The Scene.