Blog - page 12

02 Jan 2018

New Year Tidy Up: Hosting Static Sites

Dev Git SysAdmin

It's that time of year where lots of blog authors are publishing their 2017 year-in-review style posts. I enjoy those and had a loose idea to do one myself. Instead, I got distracted trying to tidy up several years worth of confusion on an old VPS instance.

31 Oct 2017

Forgotten CSS: Printing Your Website

CSS Dev

I'm not sure many people think about how their websites look when printed. It's worth doing, not just for the print side of things but also PDF generation [and others?]

05 Sep 2017

Remove Unused CSS Rules

CSS Dev

A monolithic style sheet is difficult to reason about, which is challenging as CSS files tend to attract bloat. Removing unused styles can help make the situation more manageable.

20 Jul 2017

Template Toolkit – FOREACH Directive

Dev Perl

I have recently been working on a project where the majority of the front end is rendered via Template Toolkit (TT), a popular templating engine for Perl (and for Python). This article looks at the `FOREACH` directive and a couple of common markup patterns.

08 May 2017

Using lighten() and darken() in SASS

CSS Dev

Until recently I didn’t know about the lighten() and darken() functions in SASS. I’ve since found them to be increasingly useful in my component building workflow. As the names suggest, given a colour and percentage, these functions will return a colour lighter or darker respectively.

10 11 12 13 14