@ohioya perhaps you should start by identifying the tell tale signs of an earthquake. Once you have a list, then you could look at what sensor would be needed to detect it.
Accelerometers measure acceleration and therefore can be used to detect some vibrations.
A PIR - Passive Infra Red - sensor detects infra red radiation. Often used to detect movement of a warm body.