
/* fix word-wrap for responsive tables, as described here:
 * http://rackerlabs.github.io/docs-rackspace/tools/rtd-tables.html */
@media screen and (min-width: 767px) {
  .wy-table-responsive table td {
    white-space: normal !important;
  }
  .wy-table-responsive {
    overflow: visible !important;
  }
}

/* ensure that smaller tables span the whole page width */
.rst-content table.docutils {
  width: 100% !important;
}

/* "Name" column of "arguments" tables */
.rst-content table.docutils th:nth-child(1),
.rst-content table.docutils td:nth-child(1) {
  width: 35% !important;
  word-break: break-all !important;
}

/* "Type" column of "arguments" tables */
.rst-content table.docutils th:nth-child(2),
.rst-content table.docutils td:nth-child(2) {
  width: 20% !important;
  word-break: normal !important;
}

/* "Description" column of "arguments" tables */
/*.rst-content table.docutils th:nth-child(3),
.rst-content table.docutils td:nth-child(3) {
}*/

/* use a slightly smaller font size for table contents */
.rst-content table.docutils th,
.rst-content table.docutils td {
  font-size: 85% !important;
}

/* reduce left/right padding of literals from 5px to 3px */
.rst-content code.literal {
  padding-left: 3px !important;
  padding-right: 3px !important;
}

/* reset font-size of literals inside the term definition (<dt>) in description lists */
.rst-content dl dt code.literal {
  font-size: 100% !important;
}

/* external links generated by the :rfc: role are surrounded by
 * <strong> tags which doesn't look good in floating text */
.rst-content a.rfc strong {
  font-weight: normal !important;
}

/* default style for blockquotes is just indentation;
 * disable indentation and instead use custom background color */
.rst-content blockquote {
  margin-left: 0 !important;
  padding: 10px !important;
  background-color: #fff8dc !important;
  border-left: 2px solid #ffeb8e !important;
}

