[Bf-docboard-svn] bf-manual: [7774] trunk/blender_docs/resources/theme/css/theme_overrides.css: CSS: Fix too much padding on definion lists

Aaron Carlisle noreply at blender.org
Sat Feb 20 04:26:53 CET 2021


Revision: 7774
          https://developer.blender.org/rBM7774
Author:   Blendify
Date:     2021-02-20 04:26:53 +0100 (Sat, 20 Feb 2021)
Log Message:
-----------
CSS: Fix too much padding on definion lists

When using:

```
.. _ref-link-1:

Term
   definition.

.. _ref-link-2:

Term
   definition.
   
.. _ref-link-2:

Term
   definition.
```

Gives different results then:

```

Term
   definition.

Term
   definition.

Term
   definition.
```

This might be a sphinx bug but for now lets limit the margin.

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-02-20 03:09:16 UTC (rev 7773)
+++ trunk/blender_docs/resources/theme/css/theme_overrides.css	2021-02-20 03:26:53 UTC (rev 7774)
@@ -79,6 +79,11 @@
 	display: inline;
 }
 
+/* Fix definisions with different ids. */
+.rst-content dl.simple {
+	margin-bottom: 0px;
+}
+
 /* Fix nested block spacing. */
 .rst-content .document dl dt,
 .rst-content dd dl,



More information about the Bf-docboard-svn mailing list