changeset 330:44fc02d1eae6

- Renamed format.css to dil_xml.css. - Added dil_html.xss.
author aziz
date Tue, 21 Aug 2007 20:15:02 +0000
parents 17f43b0d6106
children cff12a1999ae
files trunk/src/dil_html.css trunk/src/dil_xml.css trunk/src/format.css trunk/src/main.d
diffstat 4 files changed, 121 insertions(+), 61 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/trunk/src/dil_html.css	Tue Aug 21 20:15:02 2007 +0000
@@ -0,0 +1,60 @@
+@charset "utf-8";
+.compilerinfo, .sourcecode {
+  display: block;
+  white-space: pre;
+  font-family: Monospace;
+  font-size: 0.8em;
+}
+.compilerinfo {
+  white-space: normal;
+  border: 1px solid #A22;
+  padding: 0.5em;
+  margin: 1em;
+}
+.compilerinfo .error { display: block; }
+/* Number */
+.n { color: teal; }
+/* Keyword */
+.k { color: darkblue; font-weight: bold; }
+/* Line and block comments */
+.cl, .ct { color: green; }
+/* Nested comments */
+.cn { color: darkgreen; }
+/* Identifier */
+.i { color: black; }
+/* String literal */
+.sl { color: red; }
+/* Character literal */
+.cl { color: purple; }
+/* All bracket types */
+.br { color: orange; }
+/* Special tokens */
+.st { color: green; font-weight: bold; }
+/* #line, hash line */
+.hl { color: green; }
+/* filespec (e.g. #line number [filespec]) */
+.fs { color: purple;}
+/* When the first line starts with #! it's a "shebang" */
+.shebang { color: gray; }
+/* Operator */
+.op { color: royalblue; }
+/* Particular operators */
+.opaa { content: "and"; } /*&& ∧*/
+.opoo { content: "or"; } /*|| ∨*/
+.opn { content: "¬"; } /*!*/
+.opne { content: "≠"; } /*!=*/
+.ople { content: "≤"; } /*<=*/
+.opge { content: "≥"; } /*>=*/
+.oplg { content: "≶"; } /*<>*/
+
+/*
+d = Declaration
+s = Statement
+e = Expression
+t = Type
+o = Other
+*/
+/* .d { background-color: #FFDDDD; } */
+/* .e { background-color: #DDDDFF;} */
+.d.Module .i, .d.Import .i { color: blue; }
+.t .i { color: #119; }
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/trunk/src/dil_xml.css	Tue Aug 21 20:15:02 2007 +0000
@@ -0,0 +1,60 @@
+@charset "utf-8";
+compilerinfo, sourcecode {
+  display: block;
+  white-space: pre;
+  font-family: Monospace;
+  font-size: 0.8em;
+}
+compilerinfo {
+  white-space: normal;
+  border: 1px solid #A22;
+  padding: 0.5em;
+  margin: 1em;
+}
+compilerinfo error { display: block; }
+/* Number */
+n { color: teal; }
+/* Keyword */
+k { color: darkblue; font-weight: bold; }
+/* Line and block comments */
+c[t=l], c[t=b] { color: green; }
+/* Nested comments */
+c[t=n] { color: darkgreen; }
+/* Identifier */
+i { color: black; }
+/* String literal */
+sl { color: red; }
+/* Character literal */
+cl { color: purple; }
+/* All bracket types */
+br { color: orange; }
+/* Special tokens */
+st { color: green; font-weight: bold; }
+/* #line, hash line */
+hl { color: green; }
+/* filespec (e.g. #line number [filespec]) */
+fs { color: purple;}
+/* When the first line starts with #! it's a "shebang" */
+shebang { color: gray; }
+/* Operator */
+op { color: royalblue; }
+/* Particular operators */
+op[t=aa] { content: "and"; } /*&& ∧*/
+op[t=oo] { content: "or"; } /*|| ∨*/
+op[t=n] { content: "¬"; } /*!*/
+op[t=ne] { content: "≠"; } /*!=*/
+op[t=le] { content: "≤"; } /*<=*/
+op[t=ge] { content: "≥"; } /*>=*/
+op[t=lg] { content: "≶"; } /*<>*/
+
+/*
+d = Declaration
+s = Statement
+e = Expression
+t = Type
+o = Other
+*/
+/* d { background-color: #FFDDDD; } */
+/* e { background-color: #DDDDFF;} */
+d[t=Module] i, d[t=Import] i { color: blue; }
+t i { color: #119; }
\ No newline at end of file
--- a/trunk/src/format.css	Tue Aug 21 19:44:03 2007 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,60 +0,0 @@
-@charset "utf-8";
-compilerinfo, sourcecode {
-  display: block;
-  white-space: pre;
-  font-family: Monospace;
-  font-size: 0.8em;
-}
-compilerinfo {
-  white-space: normal;
-  border: 1px solid #A22;
-  padding: 0.5em;
-  margin: 1em;
-}
-compilerinfo error { display: block; }
-/* Number */
-n { color: teal; }
-/* Keyword */
-k { color: darkblue; font-weight: bold; }
-/* Line and block comments */
-c[t=l], c[t=b] { color: green; }
-/* Nested comments */
-c[t=n] { color: darkgreen; }
-/* Identifier */
-i { color: black; }
-/* String literal */
-sl { color: red; }
-/* Character literal */
-cl { color: purple; }
-/* Operator */
-op { color: royalblue; }
-/* All bracket types */
-br { color: orange; }
-/* Special tokens */
-st { color: green; font-weight: bold; }
-/* #line, hash line */
-hl { color: green; }
-/* filespec (e.g. #line number [filespec]) */
-fs { color: purple;}
-/* When the first line starts with #! it's a "shebang" */
-shebang { color: gray; }
-/* Particular operators */
-op[t=aa] { content: "and"; } /*&& ∧*/
-op[t=oo] { content: "or"; } /*|| ∨*/
-op[t=n] { content: "¬"; } /*!*/
-op[t=ne] { content: "≠"; } /*!=*/
-op[t=le] { content: "≤"; } /*<=*/
-op[t=ge] { content: "≥"; } /*>=*/
-op[t=lg] { content: "≶"; } /*<>*/
-
-/*
-d = Declaration
-s = Statement
-e = Expression
-t = Type
-o = Other
-*/
-/* d { background-color: #FFDDDD; } */
-/* e { background-color: #DDDDFF;} */
-d[t=Module] i, d[t=Import] i { color: blue; }
-t i { color: #119; }
\ No newline at end of file
--- a/trunk/src/main.d	Tue Aug 21 19:44:03 2007 +0000
+++ b/trunk/src/main.d	Tue Aug 21 20:15:02 2007 +0000
@@ -230,7 +230,7 @@
 auto xml_tags = [
   // Head
   `<?xml version="1.0"?>`\n
-  `<?xml-stylesheet href="format.css" type="text/css"?>`\n
+  `<?xml-stylesheet href="dil_xml.css" type="text/css"?>`\n
   `<root>`[],
   // CompBegin
   `<compilerinfo>`,