def parse_css(self):
<EOL>cssutils.ser.prefs.useMinified()<EOL>pairs = (<EOL>(r.selectorText, r.style.cssText)<EOL>for r in self.get_stylesheet()<EOL>if not isinstance(r, cssutils.css.CSSComment)<EOL>)<EOL>return dict(pairs)<EOL>
Take a .css file (classes only please) and parse it into a dictionary
of class/style pairs.