Patchwork [V2] css: fixed font-family

login
register
mail settings
Submitter Alexander Plavin
Date April 20, 2013, 2:54 p.m.
Message ID <e48c513cc7c91bcfc35a.1366469680@debian-alexander.dolgopa>
Download mbox | patch
Permalink /patch/1465/
State Superseded
Headers show

Comments

Alexander Plavin - April 20, 2013, 2:54 p.m.
# HG changeset patch
# User Alexander Plavin <me@aplavin.ru>
# Date 1366461998 -14400
#      Sat Apr 20 16:46:38 2013 +0400
# Branch stable
# Node ID e48c513cc7c91bcfc35a585e7c6a01488ee9b546
# Parent  4ab185997587bb838aaacc86e17781c1a930d7bf
css: fixed font-family

There is no 'sans' font-family, replaced with 'sans-serif'

Patch

diff -r 4ab185997587 -r e48c513cc7c9 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 e48c513cc7c9 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 e48c513cc7c9 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;
   }