doc-rst: customize RTD theme, drop padding of inline literal
Commit Message
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(-)
Comments
On 08/05/2016 11:19 AM, Markus Heiser wrote:
> 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>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Thank you! Thank you! Thank you!
So much better!
Regards,
Hans
> ---
> 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%;
> }
>
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
On Fri, 5 Aug 2016 11:27:07 +0200
Hans Verkuil <hverkuil@xs4all.nl> wrote:
> On 08/05/2016 11:19 AM, Markus Heiser wrote:
> > 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>
>
> Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
>
> Thank you! Thank you! Thank you!
>
> So much better!
Agreed, this one was really needed. Applied to the 4.8-fixes branch,
thanks.
jon
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
@@ -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%;
}