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/ --- chromium/viable.js | 6 +----- gecko/install.ttl | 2 +- simplyread.js | 13 ++++++++----- web/doap.ttl | 2 +- webheader.html | 2 +- 5 files changed, 12 insertions(+), 13 deletions(-) diff --git a/chromium/viable.js b/chromium/viable.js index 09acb36..c957608 100755 --- a/chromium/viable.js +++ b/chromium/viable.js @@ -1,8 +1,4 @@ -/* - * SimplyRead - makes webpages more readable - * - * See COPYING file for copyright, license and warranty details. - */ +/* See COPYING file for copyright, license and warranty details. */ function viable() { var doc; diff --git a/gecko/install.ttl b/gecko/install.ttl index cd10e86..655f3d6 100644 --- a/gecko/install.ttl +++ b/gecko/install.ttl @@ -11,7 +11,7 @@ em:maxVersion "4.0.*" ] ; em:name "SimplyRead"; - em:description "Makes webpages more readable. Press Ctrl-Alt-r or click the 'sr' icon in the status bar to toggle SimplyRead."; + em:description "Stop browsing, start reading. Press Ctrl-Alt-r or click the 'sr' icon in the status bar to toggle SimplyRead."; em:creator "Nick White"; em:homepageUrl "http://njw.me.uk/software/simplyread/"; . 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; diff --git a/web/doap.ttl b/web/doap.ttl index a4cc922..55fc2e4 100644 --- a/web/doap.ttl +++ b/web/doap.ttl @@ -5,7 +5,7 @@ :p a doap:Project; doap:name "SimplyRead"; - doap:shortdesc "Makes webpages more readable"; + doap:shortdesc "Stop browsing, start reading"; doap:homepage ; doap:repository :repo; doap:programming-language "ECMAScript"; diff --git a/webheader.html b/webheader.html index 401a294..7d73833 100644 --- a/webheader.html +++ b/webheader.html @@ -11,5 +11,5 @@ h3 a:hover { text-decoration: underline } img { display: block; margin: auto; } -SimplyRead - Makes webpages more readable +SimplyRead - Stop browsing, start reading -- cgit v1.2.3