I have discovered this as well. Although 100% of my own GitHub projects[1] are JavaScript, more than half appear as CSS due to the included documentation.
Ideally, the project manager should be able to define the language composition in their own projects. Something GitHub should consider IMO.