summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarIT.de>2016-08-05 11:19:43 +0200
committerJonathan Corbet <corbet@lwn.net>2016-08-14 12:15:09 -0600
commitd1669c8288a2c86daa6fd59c7fb938c08589d053 (patch)
tree82950b23006639ccd045f6edcf568d23635806de
parentc2d5be14cb39da34b076b461d8aa2344611364c6 (diff)
downloadlwn-doc/4.8-fixes.tar.gz
lwn-doc/4.8-fixes.zip
doc-rst: customize RTD theme, drop padding of inline literal4.8-fixes4.8-doc-fixesdoc/4.8-fixes
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>
-rw-r--r--Documentation/sphinx-static/theme_overrides.css3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/sphinx-static/theme_overrides.css b/Documentation/sphinx-static/theme_overrides.css
index 3a2ac4bcfd78..e88461c4c1e6 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%;
}