Fossil fuels were mostly plant life. Ever heard of the Pennsylvanian period, well before the Triasic and jurrusic periods of dinosaurs.
Hydrocarbons are bacterial in origin, and have little or nothing to do with fossils.