Temperature and density of a liquid affect the refraction

        How do the temperature and density of a liquid affect the refraction of light when passed through them?