adds style to the line