Sfoglia il codice sorgente

Tweak caption styling to be closer to typical captions

Hugo Locurcio 5 anni fa
parent
commit
c58eac4f5c
1 ha cambiato i file con 7 aggiunte e 0 eliminazioni
  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,