The building of Yorkshire’s impressive railway viaducts and bridges ran in tandem with the bourgeoning steam age.