Add chapters to CSS content