The town is located on a ridge of yellowish sandstone which contains a palace and temples . The town stands on a ridge of yellowish sandstone , crowned by a fort , which contains the palace and several ornate Jain temples .