Trimming #SimpleCSS comes at a cost, of course. As per the #SmolWeb validator, calls to @media involve a performance hit and are scored B. So there's no light/dark mode detection, and no custom styling for mobile targets. For my static landing page though, it's more than good enough.


For reference:
- The original version of SimpleCSS: github.com/kevquirk/simple.css…
- My version, which removes lots of functionality to reach a score of A- in the #SmolWeb validator: azkware.net/site/simple-smolwe…

♲ @csolisr@hub.azkware.net:

I've used #SimpleCSS for a while for my static landing page. Recently, I learned about smolweb.org and its validator. To my surprise, SimpleCSS now scores F- because it uses CSS properties that need heavy calculations. I had to trim a full third of the CSS manually just to get it back to A-.