Different CSS Classes for subpages

Paste this in your theme an substitute it with your regular body tag.

Other relevant snippets: