Browse Source

Merge pull request #3544 from Calinou/tweak-caption-styling

Tweak caption styling to be closer to typical captions
Rémi Verschelde 5 years ago
parent
commit
c97b65fb68
1 changed files with 7 additions and 0 deletions
  1. 7 0
      _static/css/custom.css

+ 7 - 0
_static/css/custom.css

@@ -205,6 +205,13 @@ legend,
     font-weight: 500;
 }
 
+.rst-content div.figure p.caption {
+    /* Tweak caption styling to be closer to typical captions */
+    text-align: center;
+    margin-top: 8px;
+    opacity: 0.75;
+}
+
 p,
 article ul,
 article ol,