1 database for all sites.
Table: Sites
------------------------
SiteID
SiteName
SiteURL
Table: Settings
-------------------------
SettingID
SettingName
Table: SiteSettings
--------------------------
SiteID
SettingID
SettingValue
etc.
As for the CSS files, you could write them to disk, read to
edit as needed, then rewrite to disk when updated.