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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
> ---
> 
> 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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]