Mercurial > projects > dil
view src/xml.css @ 820:1d06b4aed7cf
Revised code in the first pass.
Added code to handle anonymous unions and structs. Hope the idea will work.
Added type to class Aggregate and isAnonymous to some other Symbol classes.
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Fri, 14 Mar 2008 15:42:08 +0100 |
parents | bcb74c9b895c |
children |
line wrap: on
line source
@charset "utf-8"; compilerinfo, sourcecode, linescolumn { white-space: pre; font-family: Monospace; font-size: 0.8em; } compilerinfo, sourcecode { display: block; } compilerinfo { white-space: normal; border: 1px solid #A22; padding: 0.5em; margin: 1em; } compilerinfo error { display: block; } linescolumn { display: block; float: left; text-align: right; margin-right: 0.2em; border-right: 1px solid gray; } linescolumn a { display: block; color: #555; } /* Number */ n { color: teal; } /* Keyword */ k { color: darkblue; font-weight: bold; } /* Line, block and nested comments */ lc, bc, nc { color: green; } /* 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; } /* Deprecated styles. */ /* 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=Illegal], s[t=Illegal] { background-color: #DD4422; } 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; }