Many thanks to @johanmouchet for the CSS cat, which I modified a little