diff templates/base.html @ 398:1004393230cf

Remove typeface and rely on @font-face
author David Soria Parra <davidsp@fb.com>
date Fri, 07 Mar 2014 14:53:07 -0800
parents 29d4b5e45423
children 53ac7f3e5d4b
line wrap: on
line diff
--- a/templates/base.html	Fri Mar 07 14:47:13 2014 -0800
+++ b/templates/base.html	Fri Mar 07 14:53:07 2014 -0800
@@ -4,8 +4,6 @@
     <head>
         <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
         <link href="{{ url_for('static', filename='css/styles.css') }}" type="text/css" rel="stylesheet">
-        <script type="text/javascript" src="{{ url_for('static', filename='js/typeface-0.15.js') }}"></script>
-        <script type="text/javascript" src="{{ url_for('static', filename='js/optimer_regular.typeface.js') }}"></script>
         <script type="text/javascript" src="{{ url_for('static', filename='js/common.js') }}"></script>
         <script type="text/javascript" src="/sources.js"></script>
         <script type="text/javascript" src="{{ url_for('static', filename='js/download.js') }}"></script>
@@ -20,7 +18,7 @@
     <body id="home">
         <h1 id="logo"><a href="/">mercurial</a></h1>
             
-        <ul id="nav" class="typeface-js">
+        <ul id="nav">
             <li><a href="/about">about</a></li>
             <li><a href="/guide">guide</a></li>
             <li><a href="/downloads">download</a></li>
@@ -52,7 +50,7 @@
                     </div>
                     <div class="col">
                         {% block sidebar %}
-                        <a class="download typeface-js" href="/downloads" onClick="return dl.download();">
+                        <a class="download" href="/downloads" onClick="return dl.download();">
                                     <strong>Download now</strong>
                                     Mercurial <em><script language="Javascript">dl.write('version');</script></em>
                                     <span><script language="javascript">dl.write('desc');</script></span>