Mercurial > projects > dil
annotate trunk/src/html.css @ 771:ef9bee5a2d61
Command 'generate' can print line numbers now.
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Mon, 18 Feb 2008 02:53:37 +0100 |
parents | 7e7c85235673 |
children | 069317bb84cf |
rev | line source |
---|---|
330 | 1 @charset "utf-8"; |
771
ef9bee5a2d61
Command 'generate' can print line numbers now.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
709
diff
changeset
|
2 .compilerinfo, .sourcecode, .linescolumn { |
330 | 3 white-space: pre; |
4 font-family: Monospace; | |
5 font-size: 0.8em; | |
6 } | |
771
ef9bee5a2d61
Command 'generate' can print line numbers now.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
709
diff
changeset
|
7 .compilerinfo, .sourcecode { |
ef9bee5a2d61
Command 'generate' can print line numbers now.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
709
diff
changeset
|
8 display: block; |
ef9bee5a2d61
Command 'generate' can print line numbers now.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
709
diff
changeset
|
9 } |
330 | 10 .compilerinfo { |
11 white-space: normal; | |
12 border: 1px solid #A22; | |
13 padding: 0.5em; | |
14 margin: 1em; | |
15 } | |
16 .compilerinfo .error { display: block; } | |
771
ef9bee5a2d61
Command 'generate' can print line numbers now.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
709
diff
changeset
|
17 .linescolumn { |
ef9bee5a2d61
Command 'generate' can print line numbers now.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
709
diff
changeset
|
18 float: left; |
ef9bee5a2d61
Command 'generate' can print line numbers now.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
709
diff
changeset
|
19 text-align: right; |
ef9bee5a2d61
Command 'generate' can print line numbers now.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
709
diff
changeset
|
20 margin-right: 0.2em; |
ef9bee5a2d61
Command 'generate' can print line numbers now.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
709
diff
changeset
|
21 border-right: 1px solid gray; |
ef9bee5a2d61
Command 'generate' can print line numbers now.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
709
diff
changeset
|
22 } |
ef9bee5a2d61
Command 'generate' can print line numbers now.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
709
diff
changeset
|
23 .linescolumn a { display: block; } |
330 | 24 /* Number */ |
25 .n { color: teal; } | |
26 /* Keyword */ | |
27 .k { color: darkblue; font-weight: bold; } | |
771
ef9bee5a2d61
Command 'generate' can print line numbers now.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
709
diff
changeset
|
28 /* Line, block and nested comments */ |
ef9bee5a2d61
Command 'generate' can print line numbers now.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
709
diff
changeset
|
29 .lc, .bc, .nc { color: green; } |
330 | 30 /* Identifier */ |
31 .i { color: black; } | |
32 /* String literal */ | |
33 .sl { color: red; } | |
34 /* Character literal */ | |
771
ef9bee5a2d61
Command 'generate' can print line numbers now.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
709
diff
changeset
|
35 .cl { color: purple; } |
330 | 36 /* All bracket types */ |
37 .br { color: orange; } | |
38 /* Special tokens */ | |
39 .st { color: green; font-weight: bold; } | |
40 /* #line, hash line */ | |
41 .hl { color: green; } | |
42 /* filespec (e.g. #line number [filespec]) */ | |
43 .fs { color: purple;} | |
44 /* When the first line starts with #! it's a "shebang" */ | |
45 .shebang { color: gray; } | |
46 /* Operator */ | |
771
ef9bee5a2d61
Command 'generate' can print line numbers now.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
709
diff
changeset
|
47 /*.op { color: royalblue; }*/ |
330 | 48 /* Particular operators */ |
771
ef9bee5a2d61
Command 'generate' can print line numbers now.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
709
diff
changeset
|
49 /*.opaa { content: "and"; }*/ /*&& ∧*/ |
ef9bee5a2d61
Command 'generate' can print line numbers now.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
709
diff
changeset
|
50 /*.opoo { content: "or"; }*/ /*|| ∨*/ |
ef9bee5a2d61
Command 'generate' can print line numbers now.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
709
diff
changeset
|
51 /*.opn { content: "¬"; }*/ /*!*/ |
ef9bee5a2d61
Command 'generate' can print line numbers now.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
709
diff
changeset
|
52 /*.opne { content: "≠"; }*/ /*!=*/ |
ef9bee5a2d61
Command 'generate' can print line numbers now.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
709
diff
changeset
|
53 /*.ople { content: "≤"; }*/ /*<=*/ |
ef9bee5a2d61
Command 'generate' can print line numbers now.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
709
diff
changeset
|
54 /*.opge { content: "≥"; }*/ /*>=*/ |
ef9bee5a2d61
Command 'generate' can print line numbers now.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
709
diff
changeset
|
55 /*.oplg { content: "≶"; }*/ /*<>*/ |
330 | 56 /* |
57 d = Declaration | |
58 s = Statement | |
59 e = Expression | |
60 t = Type | |
61 o = Other | |
62 */ | |
63 /* .d { background-color: #FFDDDD; } */ | |
521
772ffdb18fd4
Fix: added 'Cent' to enum TID.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
330
diff
changeset
|
64 /* .e { background-color: #DDDDFF; } */ |
330 | 65 .d.Module .i, .d.Import .i { color: blue; } |
771
ef9bee5a2d61
Command 'generate' can print line numbers now.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
709
diff
changeset
|
66 .t .i, .TemplateTypeParameter .i { color: #911; } |
521
772ffdb18fd4
Fix: added 'Cent' to enum TID.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
330
diff
changeset
|
67 .t .br, .t .op { color: #911; } |
772ffdb18fd4
Fix: added 'Cent' to enum TID.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
330
diff
changeset
|
68 .t .k { color: #911; font-weight: normal; } |