adjusting style for medium def