




























Last year I made the move to Hugo, but at the time was using an off the shelf theme for my blog.
As a front end dev, that's okay at first, but after a while … that's just not cool.
For a variety of reasons it's taken me a while to get a new, custom theme in place, but here it is!
Right now it seems very simple, but it does meet some of the goals I set for myself:
ch and vh units. The ch units were especially handy - they are relative to a font size - namely, the width of the 0 character. Knowing that, I could put a max-width on my content well that was based on the font size (e.g. 80ch).grid. I haven't really bothered to put in a fallback, either. But then again I'm not sure the last time I had a visitor using IE.I want to go into more detail about points 3 and 4 but those will be their own blog posts.
I hope you enjoy the new design! Let me know what you think - does it meet the goals that I set out for it?
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。