Best approach for stylesheets?

Permalink
Hello, all. I am beginning to move a static html site into concrete and was wondering what the best way to define styles for the second level sections of the site is. The site is split into many second level sections, each of which share the same basic layout with their differences being largely cosmetic (background image, color scheme, etc.)

Rather than create separate themes for each section, is it a good idea to create a single, master theme with a single stylesheet and then use Concrete's CSS manipulation abilities to take care of the styling differences for each sub-section?

I think this is a rather situational question, but any feedback would be greatly appreciated.

I hope your day goes well.

solomun
 
12345j replied on at Permalink Reply
12345j
hmmm. id use this code to get the pages 1st parent
<?php  
global $c;  
$nh = Loader::helper('navigation');  
$cobj = $nh->getTrailToCollection($c);  
?>  
<?php  
$rcobj = array_reverse($cobj);  
if(is_object($rcobj[1]))  
{  
$pID  = $rcobj[1]->getCollectionID();  
$page = Page::getByID($pID);  
$title= $page->getCollectionName();  
}else{  
$title= $c->getCollectionName();  
}
and then just use an if ($title=="name"){link to stylesheet} else if blah blah blah. but thats just my take.