directory: add extensions, optimize css