Style links depending on file format