view trunk/src/dil_xml.css @ 521:772ffdb18fd4

Fix: added 'Cent' to enum TID. Updated CSS files.
author Aziz K?ksal <aziz.koeksal@gmail.com>
date Sat, 15 Dec 2007 22:51:27 +0100
parents 511c14950cac
children 84fde575a2fe
line wrap: on
line source

@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
*/
o[t=Linkage] i, o[t=Linkage] op
{
  color: red;
}
/* d { background-color: #FFDDDD; } */
/* e { background-color: #DDDDFF; } */
d[t=Module] i, d[t=Import] i { color: blue; }
t > i { color: #911; }
t > br, t > op { color: #911; }
t[t=Integral] k { color: #911; font-weight: normal; }