Skip to content

Commit

Permalink
styling for docs (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
marekkirejczyk committed Jan 11, 2019
1 parent 89788da commit ae2e0c9
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/source/_static/css/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
pre {
white-space: pre-wrap; /* css-3 */
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
word-wrap: break-word;
}

.wy-table-responsive table td, .wy-table-responsive table th {
white-space: normal;
}
.rst-content table.docutils td {
vertical-align: top;
}
6 changes: 6 additions & 0 deletions docs/source/_templates/layout.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{% extends "!layout.html" %}

{% block menu %}
{{ super() }}
<a href="genindex.html">Keyword Index</a>
{% endblock %}

0 comments on commit ae2e0c9

Please sign in to comment.