changeset 2:5ff55f128d84

Styling of tables, pre, codeareas
author Radomir Dopieralski <devel@sheep.art.pl>
date Thu, 13 Dec 2007 11:50:49 +0100
parents 2edb1c2d5806
children b84fc0132d31
files mandarin/style.css
diffstat 1 files changed, 31 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mandarin/style.css	Thu Dec 06 12:27:28 2007 +0100
+++ b/mandarin/style.css	Thu Dec 13 11:50:49 2007 +0100
@@ -21,8 +21,8 @@
 a { color: #f60; text-decoration: none }
 a:visited { color: #f93; }
 
-a.interwiki, a.www, a.external { color: #48f }
-a.interwiki:visited, a.www:visited, a.external:visited { color: #65f }
+a.interwiki, a.http, a.www,a.file, a.mailto, a.https,  a.external { color: #48f }
+a.interwiki:visited, a.http:visited, a.https:visited, a.file:visited, a.mailto:visited, a.www:visited, a.external:visited { color: #65f }
 a.nonexistent { color: #f02 }
 a:hover { color: #000; text-decoration: underline }
 
@@ -301,3 +301,32 @@
 
 div.message p { margin: 0 }
 
+#content table { border-collapse: collapse; font-size: 80% }
+#content th, #content td { border: 1px solid #999; padding: 0.25em;  }
+#content th { background: #f6f6f6;  }
+
+tt { font-size: 90%; color: #666;
+    font-family: "DejaVu Sans Mono", "Lucida Console", monospace; }
+div.codearea, pre { 
+    border: 1px solid #ddd; 
+    background: #f6f6f6; 
+    color: #666;
+}
+div.codearea pre { padding: 0; border: none; margin: 0; }
+a.codenumbers { font-size: 70%; float: right; display: block; padding: 0.25em }
+span.LineNumber { background: #fff; color: #888; border-right: 1px solid #ddd; margin-right: 0.25em; font-weight: bold; 
+}
+pre {
+    padding: 0.25em; 
+    font-family: "DejaVu Sans Mono", "Lucida Console", monospace;
+    font-size: 90%;
+    line-height: 1.25;
+    white-space: pre;
+    white-space: pre-wrap;
+    word-wrap: break-word;
+    white-space: -moz-pre-wrap;
+    white-space: -pre-wrap;
+    white-space: -o-pre-wrap;
+    /* end css 3 or browser specific rules */
+}
+