adjust css for documents