Posts tagged: css
Making D2 Diagrams Mobile-Friendly — A Static Site Framework
How we built an automated framework for D2 diagrams on a static blog — auto-fixing v0.6.9 quirks at compile time, scaling SVGs on mobile, and replacing simple diagrams with responsive HTML cards.
5.2 MB to 169 KB — Performance Auditing a Static Blog
My blog's homepage was 5.2 MB. The fix was a 5-line template change. Here's the audit, the fix, and the general lesson about static site performance.
The Developer's Guide to Line Length: Fluid Layouts vs. Typographic Measure
Why making your site wide shouldn't mean stretching your paragraphs. An analysis of optimal line length and fluid grid architecture.