From 4ffde89c32268cf4ccc5be98a19fb81ce526f276 Mon Sep 17 00:00:00 2001 From: Nick White Date: Wed, 15 Jun 2011 22:12:01 +0100 Subject: Improve layout, change brief description Layout inspired by http://www.bramstein.com/projects/typeset/flatland/ --- simplyread.js | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'simplyread.js') diff --git a/simplyread.js b/simplyread.js index cc7afee..d4df61e 100755 --- a/simplyread.js +++ b/simplyread.js @@ -1,5 +1,5 @@ /* - * SimplyRead - makes webpages more readable + * SimplyRead - Stop browsing, start reading * * See COPYING file for copyright, license and warranty details. */ @@ -62,12 +62,15 @@ function simplyread() doc.styleSheets[i].disabled = true; doc.body.innerHTML = - "" - "
p{margin:0ex auto;}" + + " p+p{text-indent:2em;} body {background-color:#cccccc}" + + " h1,h2,h3,h4 {font-weight:normal}" + + "
" + - "

"+doc.title+"

" + + "

"+doc.title+"

" + + "
" + fresh.innerHTML + "
"; return 0; -- cgit v1.2.3