CSS files are recognized as C source when they begin with a comment block. See http://bugzilla.gnome.org/show_bug.cgi?id=390438
Ubuntu bug about that: https://launchpad.net/shared-mime/+bug/82284
2007-02-05 Bastien Nocera <hadess@hadess.net> * freedesktop.org.xml.in: Patch from Sebastian Dröge <slomo@ubuntu.com> to not mis-detect Java files as C when they start with comments (Closes: #9407), same trick with CSS files (Closes: #9469)
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.