summaryrefslogtreecommitdiff
path: root/css
diff options
context:
space:
mode:
Diffstat (limited to 'css')
-rwxr-xr-xcss/readability-print.css9
-rwxr-xr-xcss/readability.css18
2 files changed, 17 insertions, 10 deletions
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;
}