public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] doc-rst: customize RTD theme, drop padding of inline literal
@ 2016-08-05  9:19 Markus Heiser
  2016-08-05  9:27 ` Hans Verkuil
  0 siblings, 1 reply; 3+ messages in thread
From: Markus Heiser @ 2016-08-05  9:19 UTC (permalink / raw)
  To: Jonathan Corbet, linux-doc, Hans Verkuil
  Cc: Markus Heiser, Mauro Carvalho Chehab, linux-media

From: Markus Heiser <markus.heiser@darmarIT.de>

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>
---
 Documentation/sphinx-static/theme_overrides.css | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Documentation/sphinx-static/theme_overrides.css b/Documentation/sphinx-static/theme_overrides.css
index 3a2ac4b..e88461c 100644
--- a/Documentation/sphinx-static/theme_overrides.css
+++ b/Documentation/sphinx-static/theme_overrides.css
@@ -42,11 +42,12 @@
     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%;
     }
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-08-14 18:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-05  9:19 [PATCH] doc-rst: customize RTD theme, drop padding of inline literal Markus Heiser
2016-08-05  9:27 ` Hans Verkuil
2016-08-14 18:24   ` Jonathan Corbet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox