Update text.css

added image resizing