Code samples from Chapter 7 of _Responsive WordPress Theming_