From 90cf706688f8899b381e98008327b77a15b754ca Mon Sep 17 00:00:00 2001 From: JJfutbol Date: Fri, 10 Jul 2009 00:57:39 +0000 Subject: added pre styles to both css files git-svn-id: http://arc90labs-readability.googlecode.com/svn/trunk@62 d4e419ec-0920-11de-bbfd-a7c1bc4c261e --- css/readability-print.css | 9 +++++++++ css/readability.css | 18 ++++++++---------- 2 files changed, 17 insertions(+), 10 deletions(-) (limited to 'css') diff --git a/css/readability-print.css b/css/readability-print.css index 855e827..4aef7b6 100755 --- a/css/readability-print.css +++ b/css/readability-print.css @@ -1,6 +1,15 @@ #readInner { width: 100% !important; } +#readInner pre { + overflow-x: auto; /* Use horizontal scroller if needed; for Firefox 2, not needed in Firefox 3 */ + white-space: pre-wrap; /* css-3 */ + white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */ + white-space: -pre-wrap; /* Opera 4-6 */ + white-space: -o-pre-wrap; /* Opera 7 */ + /* width: 99%; */ + word-wrap: break-word; /* Internet Explorer 5.5+ */ +} #readTools { display: none; } diff --git a/css/readability.css b/css/readability.css index d990766..746bbc3 100755 --- a/css/readability.css +++ b/css/readability.css @@ -9,7 +9,7 @@ } #readInner { line-height: 1.4em; - margin: 1em auto; + margin: 0 auto; max-width: 800px; text-align: left; width: 800px; @@ -28,22 +28,20 @@ line-height: 1.4em; overflow: auto; white-space: pre-wrap; -} +}*/ #readInner code, #readInner pre { font-family: "Courier New", Courier, monospace; } #readInner pre { - background-color: #FFF; - border: #000 1px inset; - font-size: 110%; - max-height: 250px; - overflow: auto; + font-size: 16px; + line-height: 1.2em; margin: 0; - padding: 6px 0; + max-height: 250px; + overflow: auto; overflow-x: auto; + padding: 5px 0; width: 100%; } -*/ #readInner * { background: none; border: none; @@ -145,7 +143,7 @@ font-weight: normal; } .style-newspaper { - background: #FFF; + background: #F7F7F7; color: #222; font-family: "Times New Roman", Times, serif; } -- cgit v1.2.3