It is a fairly easy to solve issue, and I would be grateful if this is not postponed to future.
Look at this example page please:
The solution is fairly easy. We just need to have an ID attribute for the PRE tags used on User:foo/bar.js and User:foo/bar.css pages of the wiki, so we can add this to commons.css:
Hope you will oblige.