resize path headers, move styles to link elements