def getCss(self, c):
        # colorize every third rendered brick
        if isinstance(c, Brick):
            self._brickCounter += 1
            if self._brickCounter % 3 == 0:
                # make every third brick colored and italic
                return 'color: #ff6611; font-style: italic;'
        return None
dataset/ETHPy150Open rwl/muntjac/muntjac/demo/sampler/features/layouts/CssLayoutsExample.py/MyCssLayout.getCss/original