DOC: Fix grid layout of gallery.

This commit is contained in:
Tony S Yu
2012-02-05 15:50:24 -05:00
parent 86963c4138
commit 4431a216a3
2 changed files with 11 additions and 0 deletions
+1
View File
@@ -186,6 +186,7 @@ def generate_dir_rst(dir, fhindex, example_dir, root_dir, plot_gallery):
fhindex.write('.. figure:: %s\n' % thumb)
if link_name.startswith('._'):
link_name = link_name[2:]
fhindex.write(' :figclass: gallery\n')
if dir != '.':
fhindex.write(' :target: ./%s/%s.html\n\n' % (dir, fname[:-3]))
else:
@@ -637,6 +637,16 @@ th {
font-size: 80%;
}
/* ----------------- Example Gallery ----------------- */
.gallery {
min-height: 250px;
}
.gallery p.caption a{
text-decoration: none;
}
/* ----------------- Coverage States ----------------- */
span.missing{
color: #000;