Mechanics of continuous media