def _build_css_path(self, prefix=''):
        if self._listings_css.startswith(('/', 'http://', 'https://')):
            css_path = quote(self._listings_css, ':/')
        else:
            css_path = '../' * prefix.count('/') + quote(self._listings_css)
        return css_path
Constructs a relative path from a given prefix within the container.
dataset/ETHPy150Open openstack/swift/swift/common/middleware/staticweb.py/_StaticWebContext._build_css_path