changeset 795:069317bb84cf

Improved CSS document.
author Aziz K?ksal <aziz.koeksal@gmail.com>
date Fri, 29 Feb 2008 03:04:15 +0100
parents a7320b7cb7dc
children f7688996bf08
files trunk/src/html.css trunk/src/html_map.d
diffstat 2 files changed, 18 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/trunk/src/html.css	Wed Feb 27 21:21:15 2008 +0100
+++ b/trunk/src/html.css	Fri Feb 29 03:04:15 2008 +0100
@@ -3,9 +3,8 @@
   white-space: pre;
   font-family: Monospace;
   font-size: 0.8em;
-}
-.compilerinfo, .sourcecode {
-  display: block;
+  margin:0;
+  padding:0;
 }
 .compilerinfo {
   white-space: normal;
@@ -15,12 +14,15 @@
 }
 .compilerinfo .error { display: block; }
 .linescolumn {
-  float: left;
   text-align: right;
-  margin-right: 0.2em;
-  border-right: 1px solid gray;
+  padding-right: 0.3em;
+  border-right: 1px dotted gray;
 }
-.linescolumn a { display: block; }
+.linescolumn a {
+  display: block;
+  color: #44B;
+  text-decoration: none;
+}
 /* Number */
 .n { color: teal; }
 /* Keyword */
@@ -63,6 +65,6 @@
 /* .d { background-color: #FFDDDD; } */
 /* .e { background-color: #DDDDFF; } */
 .d.Module .i, .d.Import .i { color: blue; }
-.t .i, .TemplateTypeParameter .i { color: #911; }
+ /*.t .i,*/ .t.Identifier .i, .TemplateTypeParameter .i { color: #911; } 
 .t .br, .t .op { color: #911; }
 .t .k { color: #911; font-weight: normal; }
--- a/trunk/src/html_map.d	Wed Feb 27 21:21:15 2008 +0100
+++ b/trunk/src/html_map.d	Fri Feb 29 03:04:15 2008 +0100
@@ -5,17 +5,19 @@
               `  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">`\n
               `  <link href="html.css" rel="stylesheet" type="text/css">`\n
               `</head>`\n
-              `<body>`\n,
-  "DocEnd"  : "\n</body>"
+              `<body>`\n
+              `<table><tr>`\n,
+  "DocEnd"  : "\n</tr></table>"
+              "\n</body>"
               "\n</html>",
-  "SourceBegin" : `<pre class="sourcecode">`,
-  "SourceEnd"   : "\n</pre>",
+  "SourceBegin" : `<td><pre class="sourcecode">`,
+  "SourceEnd"   : "\n</pre></td>",
   "CompBegin"   : `<div class="compilerinfo">`\n,
   "CompEnd"     : "</div>\n",
   "LexerError"  : `<p class="error L">{0}({1},{2})L: {3}</p>`\n,
   "ParserError" : `<p class="error P">{0}({1},{2})P: {3}</p>`\n,
-  "LineNumberBegin" : `<div class="linescolumn">`,
-  "LineNumberEnd"   : `</div>`,
+  "LineNumberBegin" : `<td class="linescolumn">`,
+  "LineNumberEnd"   : `</td><td>`,
   "LineNumber"      : `<a id="L{0}" href="#L{0}">{0}</a>`,
 
   // Node categories: