I am setting up a blog for classes that I teach and have assigned a category for each class. I would like to stylize each class, or category differently. Using category templates I have gotten the styles I want on the categories pages.
What I would like to do is have the categories keep these styles when the posts appear on pages besides the category pages. For example, on the index page.
The site is currently at dabrook.org. You can see the styles I am going for on the categories pages.
Is there a way, possibly using a conditional statement, to determine what category a post is in and then apply a certain style to that post depending on the category?