Permalink
Browse files

ENH Made the docutils tables generated with the numpydoc in the docum…

…entation a little prettier
  • Loading branch information...
1 parent f78f98b commit a09f7c278a88dcef0c436cf6cbccc1fb7c456142 @NelleV committed Jan 15, 2013
Showing with 30 additions and 0 deletions.
  1. +30 −0 doc/_static/mpl.css
View
@@ -505,3 +505,33 @@ ul.search li div.context {
ul.keywordmatches li.goodmatch a {
font-weight: bold;
}
+
+table.docutils {
+ border-spacing: 2px;
+ border: collapse;
+ border-top-width: 1px;
+ border-right-width: 0px;
+ border-bottom-width: 1px;
+ border-left-width: 0px;
+}
+
+table.docutils tr:nth-child(even) {
+ background-color: #F3F3FF;
+}
+table.docutils tr:nth-child(odd) {
+ background-color: #FFFFEE;
+}
+
+table.docutils tr {
+ border-style: solid none solid none;
+ border-width: 1px 0 1px 0;
+ border-color: #AAAAAA;
+}
+
+table.docutils th {
+ padding: 1px 8px 1px 5px;
+}
+
+table.docutils td {
+ border-width: 1px 0 1px 0;
+}

0 comments on commit a09f7c2

Please sign in to comment.