summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorraylu <raylu@mixpanel.com>2011-09-11 22:41:44 -0700
committerraylu <raylu@mixpanel.com>2011-09-11 22:41:44 -0700
commit321a22bce4deb56a5213bb00ff17421fc94837c0 (patch)
treee26047b53e78a85164f7e8f29b322bf5ff03b5b7
parenteb3e11068965f2bd9428e0d15147b8086e5ab026 (diff)
downloadpathery-321a22bce4deb56a5213bb00ff17421fc94837c0.tar.xz
fix webkit font smoothing
-rw-r--r--css/pagestyle.css1
-rw-r--r--includes/header.php2
2 files changed, 2 insertions, 1 deletions
diff --git a/css/pagestyle.css b/css/pagestyle.css
index 6351a28..b882bfe 100644
--- a/css/pagestyle.css
+++ b/css/pagestyle.css
@@ -1,6 +1,7 @@
body {
font-size: 16px;
font-family: cantarell, helvetica, sans-serif;
+ text-shadow: rgba(0,0,0,.01) 0 0 1px; /* this is definitely not a webkit-specific hack to fix font aliasing */
background-color: #121212;
color: #ffffff;
diff --git a/includes/header.php b/includes/header.php
index adfc211..6a9caaf 100644
--- a/includes/header.php
+++ b/includes/header.php
@@ -8,7 +8,7 @@ function htmlHeader() {
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>pathery.com</title>
- <link href="http://fonts.googleapis.com/css?family=Cantarell:400,400italic,700" rel="stylesheet" type="text/css">
+ <link href="http://fonts.googleapis.com/css?family=Cantarell:400,700" rel="stylesheet" type="text/css">
<link href="css/mapstyle.css" rel="stylesheet" type="text/css" />
<link href="css/pagestyle.css" rel="stylesheet" type="text/css" />
<link href="css/statsstyle.css" rel="stylesheet" type="text/css" />