[BUGFIX] fix processing of import statements in css

so @import statements work properly, fixes #982.