[Bf-docboard-svn] bf-manual: [8329] trunk/blender_docs/resources/theme/css/theme_overrides.css: CSS: Support docutils 0.17
Aaron Carlisle
noreply at blender.org
Fri Aug 20 02:07:53 CEST 2021
Revision: 8329
https://developer.blender.org/rBM8329
Author: Blendify
Date: 2021-08-20 02:07:51 +0200 (Fri, 20 Aug 2021)
Log Message:
-----------
CSS: Support docutils 0.17
This version of docutils uses symantic tags instead of classes generate html.
For now both 0.17 and older versions are supported,
in the furture previous versions can be removed once we verify there are no regressions.
Modified Paths:
--------------
trunk/blender_docs/resources/theme/css/theme_overrides.css
Modified: trunk/blender_docs/resources/theme/css/theme_overrides.css
===================================================================
--- trunk/blender_docs/resources/theme/css/theme_overrides.css 2021-08-19 21:56:48 UTC (rev 8328)
+++ trunk/blender_docs/resources/theme/css/theme_overrides.css 2021-08-20 00:07:51 UTC (rev 8329)
@@ -96,6 +96,7 @@
/* captions text style */
.rst-content .figure .caption,
+.rst-content figure figcaption,
.rst-content table.docutils caption,
.rst-content table.field-list caption {
font: italic 90%/18px Lato, proxima-nova, 'Helvetica Neue', Arial, sans-serif;
@@ -103,7 +104,10 @@
}
/* Captions top padding. */
-.rst-content .figure .caption { margin-top: 4px; }
+.rst-content .figure .caption,
+.rst-content figure figcaption {
+ margin-top: 4px;
+}
.rst-content table.docutils caption { padding: 0.5em; }
/* Text word wrap. */
@@ -121,7 +125,8 @@
.rst-content table.docutils th { border-color: #e1e4e5; }
/* Figure in table margin. */
-.rst-content td div.figure {
+.rst-content td div.figure,
+.rst-content td figure {
margin-top: 4px; margin-bottom: 0;
}
@@ -249,6 +254,7 @@
border-radius: .3em;
user-select: none;
}
+.descr div.figure,
.descr div.figure {
margin-bottom: 0px;
display: block;
More information about the Bf-docboard-svn
mailing list