A smallweb corner where light meets logic. A mix of everyday moments, tech explorations, and an ongoing brain dump. (disclaimer applies)


Posts tagged with pagecord

Custom CSS

Custom CSS for my Pagecord blog has been keeping me busy. Liking the results so far for light and dark mode (no toggle, unfortunately on the website). One of the two “issues” is that the custom CSS can only be 8 kb big, and the online editor doesn't let you do some things, showing me an invalid or insecure warning. But at least minifying the code helps, which lets me style even more. If it could be larger than 8 kb, I could add (more) accessibility fixes according to the WCAG.

The things you can do with modern CSS these days are astonishing: less JavaScript, more CSS.