diff --git a/doc/source/themes/scikit-image/static/css/custom.css b/doc/source/themes/scikit-image/static/css/custom.css index 005d4317..df60739e 100644 --- a/doc/source/themes/scikit-image/static/css/custom.css +++ b/doc/source/themes/scikit-image/static/css/custom.css @@ -13,6 +13,11 @@ textarea { pre { font-size: 11px; } + +h1, h2, h3, h4 { + clear: left; +} + h1 { font-size: 30px; line-height: 36px; @@ -194,3 +199,27 @@ p.admonition-title { font-weight: bold; text-decoration: underline; } + +/* example gallery */ + +.gallery { + height: 200px; +} + +.figure { + float: left; + margin: 1em; +} + +.figure img { + display: block; + margin-left: auto; + margin-right: auto; + max-height: 150px; + max-width: 200px; +} + +.figure .caption { + width: 200px; + text-align: center !important; +}