add support for more file attachment types

Some of Diabook isn't updated. I gave up updating all the .css files.