* [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
* Re: [PATCH] doc-rst: customize RTD theme, drop padding of inline literal
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
0 siblings, 1 reply; 3+ messages in thread
From: Hans Verkuil @ 2016-08-05 9:27 UTC (permalink / raw)
To: Markus Heiser, Jonathan Corbet, linux-doc
Cc: Mauro Carvalho Chehab, linux-media
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%;
> }
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] doc-rst: customize RTD theme, drop padding of inline literal
2016-08-05 9:27 ` Hans Verkuil
@ 2016-08-14 18:24 ` Jonathan Corbet
0 siblings, 0 replies; 3+ messages in thread
From: Jonathan Corbet @ 2016-08-14 18:24 UTC (permalink / raw)
To: Hans Verkuil; +Cc: Markus Heiser, linux-doc, Mauro Carvalho Chehab, linux-media
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
^ permalink raw reply [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