Skip to content

Commit

Permalink
some changes
Browse files Browse the repository at this point in the history
  • Loading branch information
leliel12 committed Aug 26, 2017
1 parent d4f2575 commit fe423d3
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 1 deletion.
21 changes: 20 additions & 1 deletion doc/source/_static/css/skcriteria.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
@import url("theme.css");

.wy-side-nav-search {
.wy-side-nav-search,
.wy-nav-top {
background-color: #7b8e2d;
}

Expand All @@ -18,3 +19,21 @@ a, a:visited {
.rst-content .viewcode-back {
color: black;
}

.wy-side-nav-search input[type=text] {
border-color: #45a424;
}

.wy-menu a {
color: white;
}

div.nboutput div.output_area.table-wrapper {
height: 500px;
overflow: auto;
font-size: 12px;
}

div.nboutput div.output_area.table-wrapper th {
background-color: #b2ce41;
}
6 changes: 6 additions & 0 deletions doc/source/_static/js/skcriteria.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
$(document).ready(function(){

$("div.nboutput div.output_area table").addClass("table");
$("div.nboutput div.output_area table").parent().addClass("table-wrapper");

});
1 change: 1 addition & 0 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,3 +210,4 @@ def __getattr__(cls, name):

def setup(app):
app.add_stylesheet('css/skcriteria.css')
app.add_javascript('js/skcriteria.js')

0 comments on commit fe423d3

Please sign in to comment.