OP here. I agree that the language categorization is questionable. It's all based on what the GitHub Search API returns as the language.
Looking at Bootstrap, the classification doesn't seem to be strictly based on percentage:
- CSS 59.8% - JavaScript 39.7% - Python 0.5%
...but GitHub Search says JavaScript. I do see that if I do a search query with a language filter, I get different results.