Seismic-proof rail bridge