[PATCH V3] css: fixed font-family

Александр Плавин me at aplavin.ru
Sat Apr 20 09:58:44 CDT 2013


I'm very sorry for sending such a simple patch multiple times. I had some
troubles with my Python installation and thought that tests were successful
while they were not.


2013/4/20 Alexander Plavin <me at aplavin.ru>

> # HG changeset patch
> # User Alexander Plavin <me at aplavin.ru>
> # Date 1366461998 -14400
> #      Sat Apr 20 16:46:38 2013 +0400
> # Branch stable
> # Node ID 50f4288b30ad581c1856bef446021ab68a2128bb
> # Parent  4ab185997587bb838aaacc86e17781c1a930d7bf
> css: fixed font-family
>
> There is no 'sans' font-family, replaced with 'sans-serif'
>
> diff -r 4ab185997587 -r 50f4288b30ad
> mercurial/templates/static/style-gitweb.css
> --- a/mercurial/templates/static/style-gitweb.css       Fri Apr 19
> 22:39:51 2013 +0400
> +++ b/mercurial/templates/static/style-gitweb.css       Sat Apr 20
> 16:46:38 2013 +0400
> @@ -1,4 +1,4 @@
> -body { font-family: sans-serif; font-size: 12px; margin:0px; border:solid
> #d9d8d1; border-width:1px; margin:10px; }
> +body { font-family: sans-serif; font-size: 12px; border:solid #d9d8d1;
> border-width:1px; margin:10px; }
>  a { color:#0000cc; }
>  a:hover, a:visited, a:active { color:#880000; }
>  div.page_header { height:25px; padding:8px; font-size:18px;
> font-weight:bold; background-color:#d9d8d1; }
> diff -r 4ab185997587 -r 50f4288b30ad mercurial/templates/static/style.css
> --- a/mercurial/templates/static/style.css      Fri Apr 19 22:39:51 2013
> +0400
> +++ b/mercurial/templates/static/style.css      Sat Apr 20 16:46:38 2013
> +0400
> @@ -14,13 +14,13 @@
>    background-color: #666;
>    padding: 2pt;
>    color: white;
> -  font-family: sans;
> +  font-family: sans-serif;
>    font-weight: bold;
>  }
>  .navigate a {
>    background-color: #ccc;
>    padding: 2pt;
> -  font-family: sans;
> +  font-family: sans-serif;
>    color: black;
>  }
>
> diff -r 4ab185997587 -r 50f4288b30ad tests/test-hgweb-commands.t
> --- a/tests/test-hgweb-commands.t       Fri Apr 19 22:39:51 2013 +0400
> +++ b/tests/test-hgweb-commands.t       Sat Apr 20 16:46:38 2013 +0400
> @@ -1179,13 +1179,13 @@
>      background-color: #666;
>      padding: 2pt;
>      color: white;
> -    font-family: sans;
> +    font-family: sans-serif;
>      font-weight: bold;
>    }
>    .navigate a {
>      background-color: #ccc;
>      padding: 2pt;
> -    font-family: sans;
> +    font-family: sans-serif;
>      color: black;
>    }
>
> diff -r 4ab185997587 -r 50f4288b30ad tests/test-hgweb.t
> --- a/tests/test-hgweb.t        Fri Apr 19 22:39:51 2013 +0400
> +++ b/tests/test-hgweb.t        Sat Apr 20 16:46:38 2013 +0400
> @@ -312,10 +312,10 @@
>
>    $ "$TESTDIR/get-with-headers.py" --twice localhost:$HGPORT
> 'static/style-gitweb.css' - date etag server
>    200 Script output follows
> -  content-length: 4619
> +  content-length: 4607
>    content-type: text/css
>
> -  body { font-family: sans-serif; font-size: 12px; margin:0px;
> border:solid #d9d8d1; border-width:1px; margin:10px; }
> +  body { font-family: sans-serif; font-size: 12px; border:solid #d9d8d1;
> border-width:1px; margin:10px; }
>    a { color:#0000cc; }
>    a:hover, a:visited, a:active { color:#880000; }
>    div.page_header { height:25px; padding:8px; font-size:18px;
> font-weight:bold; background-color:#d9d8d1; }
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20130420/7f21b5f5/attachment.html>


More information about the Mercurial-devel mailing list