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

Re: [libvirt] [PATCH] docs: Don't use bold text in headers and menu items



On 03/10/2016 05:49 AM, Andrea Bolognani wrote:
> Now that headers and menu items are using a bigger font and more
> generous spacing, they don't really need to be bold to stand out.
> ---
> This applies on top of Cole's series
> 
>   https://www.redhat.com/archives/libvir-list/2016-March/msg00323.html
> 
> 
>  docs/apps.html.in |  2 +-
>  docs/generic.css  |  2 +-
>  docs/libvirt.css  | 11 +----------
>  3 files changed, 3 insertions(+), 12 deletions(-)
> 
> diff --git a/docs/apps.html.in b/docs/apps.html.in
> index 39fb78d..b8337b9 100644
> --- a/docs/apps.html.in
> +++ b/docs/apps.html.in
> @@ -2,7 +2,7 @@
>  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
>  <html xmlns="http://www.w3.org/1999/xhtml";>
>    <body>
> -    <h1>Applications using <strong>libvirt</strong></h1>
> +    <h1>Applications using libvirt</h1>
>  
>      <p>
>        This page provides an illustration of the wide variety of
> diff --git a/docs/generic.css b/docs/generic.css
> index e862fe0..94b9612 100644
> --- a/docs/generic.css
> +++ b/docs/generic.css
> @@ -45,7 +45,7 @@ dl dd {
>  
>  
>  h1, h2, h3, h4, h5, h6 {
> -  font-weight: bold;
> +  font-weight: normal;
>    margin: 0px;
>    padding: 0px;
>    margin-top: 0.5em;
> diff --git a/docs/libvirt.css b/docs/libvirt.css
> index 17ecbb4..3b65f4c 100644
> --- a/docs/libvirt.css
> +++ b/docs/libvirt.css
> @@ -1,12 +1,4 @@
> -h1 {
> -    font-weight: normal;
> -    color: #3c857c;
> -}
> -h1 strong {
> -    font-weight: bold;
> -}
> -
> -h2, h3, h4, h5, h6 {
> +h1, h2, h3, h4, h5, h6 {
>      color: #3c857c;
>  }
>  
> @@ -55,7 +47,6 @@ h2, h3, h4, h5, h6 {
>      padding: 0px;
>      margin: 0px;
>      border: 0px;
> -    font-weight: bold;
>      font-size: 1.2em;
>  }
>  
> 

I tried it, but I kinda like the bold... I think it helps when scrolling
through formatdomain.html at least. But if anyone else wants to ACK I won't object

- Cole


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