aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhiming Wang <zmwangx@gmail.com>2015-08-08 12:01:52 -0700
committerZhiming Wang <zmwangx@gmail.com>2015-08-08 12:01:52 -0700
commit037b1aaf8b68fc6c32df3be3737fd27761d0a952 (patch)
treea1619c11463b099fd2dd7f957a85dc4f9b7e127d
parent99a8c646fbbe4462f5fddd46d69e8b03688fa126 (diff)
downloadmy_new_personal_website-037b1aaf8b68fc6c32df3be3737fd27761d0a952.tar.xz
my_new_personal_website-037b1aaf8b68fc6c32df3be3737fd27761d0a952.zip
Blog icon text: switch to antialiases normal weight
Open Sans Light 300 turns out to be too thin when antialiased (e.g., in mobile Safari.)
-rw-r--r--source/css/theme.css4
-rw-r--r--templates/template.html2
2 files changed, 4 insertions, 2 deletions
diff --git a/source/css/theme.css b/source/css/theme.css
index 302550b9..24c82383 100644
--- a/source/css/theme.css
+++ b/source/css/theme.css
@@ -31,7 +31,9 @@ body {
display: inline-block;
font-family: "Open Sans";
font-size: 36px;
- font-weight: 300;
+ font-weight: normal;
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
color: #fff;
text-decoration: none;
/* stretch to mimic Helvetica Neue */
diff --git a/templates/template.html b/templates/template.html
index b84991af..037e3fb5 100644
--- a/templates/template.html
+++ b/templates/template.html
@@ -18,7 +18,7 @@ $endif$
<link href='/css/theme-wide.css' media="only screen and (min-width: 1441px)" rel="stylesheet" type="text/css"/>
<link href='/css/theme-narrow.css' media="only screen and (max-width: 1023px)" rel="stylesheet" type="text/css"/>
<link href='/css/print.css' media="print" rel="stylesheet" type="text/css"/>
- <link href="//fonts.googleapis.com/css?family=Open+Sans:light" rel="stylesheet" type="text/css"/>
+ <link href="//fonts.googleapis.com/css?family=Open+Sans:regular" rel="stylesheet" type="text/css"/>
<link href="//fonts.googleapis.com/css?family=PT+Serif:regular,italic,bold,bolditalic" rel="stylesheet" type="text/css"/>
<link href="//fonts.googleapis.com/css?family=Droid+Sans+Mono" rel="stylesheet" type="text/css"/>
<script>