[libvirt] [PATCH v2] docs: Add bold style for <dt><code> elements

Andrea Bolognani abologna at redhat.com
Fri Apr 22 12:42:20 UTC 2016


On Fri, 2016-04-22 at 08:18 -0400, John Ferlan wrote:
> Add bolding for <dt><code> elements to make them "stick out" on the
> page rather that just a stream of text where the elements only differ
> by slightly different font style.
> 
> Signed-off-by: John Ferlan <jferlan at redhat.com>
> ---
> 
> Based on Andrea's feedback to my v1 patch:
> 
> http://www.redhat.com/archives/libvir-list/2016-April/msg01450.html

I've included the same exact diff as part of my latest series

  https://www.redhat.com/archives/libvir-list/2016-April/msg01578.html

Just pretend that didn't happen and push yours :)

> Also considered adding "color: rgb(256,0,0);" to really make them
> pop out, but then thought that could lead down the treacherous path
> of customized color on pages (besides, for those red colorblind folks
> it's a no win)

Eww.

>  docs/generic.css | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/docs/generic.css b/docs/generic.css
> index 208e31e..ac39f32 100644
> --- a/docs/generic.css
> +++ b/docs/generic.css
> @@ -27,6 +27,10 @@ dt {
>    margin-right: 2em;
>  }
>  
> +dt code {
> +  font-weight: bold;
> +}
> +
>  dl dd {
>    margin-left: 2em;
>    margin-right: 2em;

ACK

-- 
Andrea Bolognani
Software Engineer - Virtualization Team




More information about the libvir-list mailing list