doc-rst: customize RTD theme, drop padding of inline literal
authorMarkus Heiser <markus.heiser@darmarIT.de>
Fri, 5 Aug 2016 09:19:43 +0000 (11:19 +0200)
committerJonathan Corbet <corbet@lwn.net>
Sun, 14 Aug 2016 18:15:09 +0000 (12:15 -0600)
Remove the distracting (left/right) padding of inline literals. (HTML
<code>). Requested and discussed in [1].

[1] http://www.spinics.net/lists/linux-media/msg103991.html

Signed-off-by: Markus Heiser <markus.heiser@darmarIT.de>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/sphinx-static/theme_overrides.css

index 3a2ac4bcfd789bc704987b650da6694089a91dca..e88461c4c1e69dd186a7b420215246154f9a9f09 100644 (file)
     caption a.headerlink { opacity: 0; }
     caption a.headerlink:hover { opacity: 1; }
 
-    /* inline literal: drop the borderbox and red color */
+    /* inline literal: drop the borderbox, padding and red color */
 
     code, .rst-content tt, .rst-content code {
         color: inherit;
         border: none;
+        padding: unset;
         background: inherit;
         font-size: 85%;
     }