diff options
author | Nick White <git@njw.me.uk> | 2011-06-15 18:40:06 +0100 |
---|---|---|
committer | Nick White <git@njw.me.uk> | 2011-06-15 18:40:06 +0100 |
commit | 51010013037c97d9ecc18181b2a7cd2dddcdff5d (patch) | |
tree | 81e6fc964aa77015f1d55b5467a35ee33bb4f90f | |
parent | 0306460893735e8e65de70f3034e1202de77a6e1 (diff) |
Use serif font, and up line-height
-rwxr-xr-x | simplyread.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/simplyread.js b/simplyread.js index 4aa85c8..d5a26fb 100755 --- a/simplyread.js +++ b/simplyread.js @@ -63,8 +63,8 @@ function simplyread() doc.styleSheets[i].disabled = true; doc.body.innerHTML = - "<div style=\"width:38em; margin:auto;" + - " text-align:justify; font-family:sans;" + + "<div style=\"width:38em; margin:auto; line-height: 1.4;" + + " text-align:justify; font-family:serif;" + " text-rendering:optimizeLegibility; hyphens:auto;\">" + "<h1 style=\"text-align: center\">"+doc.title+"</h1>" + fresh.innerHTML + "</div>"; |