diff --git a/static/stylesheet/dark-theme.less b/static/stylesheet/dark-theme.less index 5997723..e1dc90a 100644 --- a/static/stylesheet/dark-theme.less +++ b/static/stylesheet/dark-theme.less @@ -160,6 +160,11 @@ div.admonition.warning { background-color: @admonition-warning-bg-color-dark-theme; } +figure, div.figure { color: @figure-color-dark-theme; + + figcaption { + color: @text-color-dark-theme; + } } diff --git a/static/stylesheet/style.less b/static/stylesheet/style.less index c6283fd..0551ed9 100644 --- a/static/stylesheet/style.less +++ b/static/stylesheet/style.less @@ -712,21 +712,28 @@ div.admonition.warning { background-color: @admonition-warning-bg-color; } +figure, div.figure { font-size: 90%; color: @figure-color; - + + figcaption { + margin-top: 0.5em; + text-align: center; + color: @text-color; + } + img { vertical-align: middle; line-height: 1; display: inline; } - + p { margin-top: 0; margin-bottom: 0; } - + p.caption { font-style: italic; } @@ -736,14 +743,17 @@ div.figure { } } +figure.align-left, div.figure.align-left { text-align: left; } +figure.align-center, div.figure.align-center { text-align: center; } +figure.align-right, div.figure.align-right { text-align: right; }