Kilian Valkhof

Building tools that make developers awesome.

A new design!

Design, 8 November 2016, 3 minute read

Just a quick heads-up, this site now sports a cool new design! After the previous design in 2008 (8 years ago!) I finally got around to creating a new one. I kept the colors and the paint-splatter backgrounds of the old theme, but bumped the font-sizes (hello 2016!) and made everything look great on all screen sizes.

There’s a couple of cool techniques I’m using on the site which I will blog about later, such as the sloped edges on the header and footer or the way my flex-box rows nicely fill out the space they have even when they’re across multiple lines.

About the theme

After this years Fronteers, I was very inspired and wanted to finally, finally update my site’s design. Apart from making a responsive design, and bumping up the font size, what I really wanted to do was create a design that had no fixed widths or strange layout hacks. So everything is either using flexbox, or just relative positioning and sized in relative units such as viewport units or rems.

I no longer use SenCSs. While it has served me very, very well in many projects, and it continues to do so, I don’t need it for this site.

In fact, I’m not using any CSS reset. I’m more than OK with the way browsers render everything I didn’t specify and it saves me a ton of work and a lot of bytes.

Fonts

What I saved in CSS, I spent in fonts. I am still using Asturias by Insigne for my title. That was a png in 2008, now it’s a webfont. I think I optimized it to contain just the letters of my name, but I’m not quite sure. The MyFonts webfont builder is a little confusing.

For all the other titles I use Haboro Serif, also by Insigne. If you couldn’t tell, I’m a big fan of their fonts.

The main text is set in Libre Baskerville. The previous design used Georgia and I wanted something with the same feel but with a more modern feature set. Libre Baskerville has both ligatures and kerning.

Cleaning house

This site doesn’t use any JavaScript anymore by default. It’s a blog, it deals in articles, So I don’t have a very big use-case for it. I’m thinking about rewriting CSS Context Hover to pure JavaScript and adding it back in because I still think it’s a very cool technique, but we’ll see.

Gone also are the comments. I turned them off a while ago as the spam-to-useful ratio was too high, and I think it’s better without them. Comments on older posts are still visible so no content got lost.

About the site

After not writing a lot between 2012 and 2015, I finally started again in the beginning of this year and I’m glad I did. It feels good to write on my blog and with the release of FromScratch I also rekindled my love of making things.

in the past year I spent some time on the server optimizing things, so this site is now only accessible over https thanks to LetsEncrypt and runs on http2 (if you have it). It’s accessible over both ipv4 and ipv6.

I still need to do housekeeping around the static pages here and there. That’ll happen when I get around to it. For now, I have a couple of interesting things up ahead, so stay tuned and feel free to let me know what you think of the new theme on Twitter or via email!

Polypane browser for responsive web development and design Hi, I'm Kilian. I make Polypane, the browser for responsive web development and design. If you're reading this site, that's probably interesting to you. Try it out!