docs RDT theme: fix bottom margin of lists items
authorMarkus Heiser <markus.heiser@darmarit.de>
Sat, 17 Jun 2017 08:17:20 +0000 (10:17 +0200)
committerJonathan Corbet <corbet@lwn.net>
Mon, 17 Jul 2017 19:47:46 +0000 (13:47 -0600)
List items with two ore more blocks are not well rendered. E.g. the gap
between last block (l1-b2) of the first list item and the following list
item (L2) is to small::

    * L1 xxxxxxxxxx
      xxxxxxxxxxxxx

      l1-b2 xxxxxxx
      xxxxxxxxxxxxx
    * L2 xxxxxxxxxx
      xxxxxxxxxxxxx

So that it can be read more liquidly, a distance was added to the last
block (l1-b2)::

    * L1 xxxxxxxxxx
      xxxxxxxxxxxxx

      l1-b2 xxxxxxx
      xxxxxxxxxxxxx

    * L2 xxxxxxxxxx
      xxxxxxxxxxxxx

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/sphinx-static/theme_overrides.css

index d5764a4de5a2cc7702936d10853f49f633d1d938..1c9a9ab0f48c4ce4df0bb8e505b39fe4283ef58a 100644 (file)
        font-family: "Courier New", Courier, monospace
     }
 
+    /* fix bottom margin of lists items */
+
+    .rst-content .section ul li:last-child, .rst-content .section ul li p:last-child {
+          margin-bottom: 12px;
+    }
+
     /* inline literal: drop the borderbox, padding and red color */
 
     code, .rst-content tt, .rst-content code {