Skip to content

Commit

Permalink
doc-rst: customize RTD theme, drop padding of inline literal
Browse files Browse the repository at this point in the history
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 <[email protected]>
Acked-by: Hans Verkuil <[email protected]>
Signed-off-by: Jonathan Corbet <[email protected]>
  • Loading branch information
return42 authored and Jonathan Corbet committed Aug 14, 2016
1 parent c2d5be1 commit d1669c8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Documentation/sphinx-static/theme_overrides.css
Original file line number Diff line number Diff line change
Expand Up @@ -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%;
}
Expand Down

0 comments on commit d1669c8

Please sign in to comment.