'Modified version of sphinx.writers.html.HTMLTranslator.visit_table
and including code from docutils.writers.html4css1.Writer.visit_table
Adds additional class names to <table> tags.'

def visit_table(self, node):

    self._table_row_index = 0
    self.context.append(self.compact_p)
    self.compact_p = True
    classes = '    '.join(['docutils', 'table', 'table-striped', self.settings.table_style]).strip()
    self.body.append(self.starttag(node, 'table', CLASS=classes, border='0'))
