-
Notifications
You must be signed in to change notification settings - Fork 0
/
highlight.css
82 lines (66 loc) · 1.58 KB
/
highlight.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
/*
CSS for highlight()
Besides tWhitespace (T_WHITESPACE), all other tokenizer identifier names are available as classes.
The full list of PPH parser tokens can be found here:
http://php.net/manual/en/tokens.php
*/
/* wrapper element */
pre.code{
font-family: Menlo, Monaco, "Courier New", monospace;
font-size: 13px;
background-color: #f6f6f6;
color: #333;
padding: 5px;
text-shadow: #fff 0 1px 0;
}
/* links */
pre.code a{
color: inherit;
text-decoration: underline;
}
/* non-php code */
.tInlineHtml{
color: #aaa;
}
/* php tags */
.tOpenTag, .tOpenTagWithEcho, .tCloseTag{
font-weight: bold;
color: #000;
}
/* inline or block comments */
.tComment, .tDocComment{
font-style: italic;
color: #bbb;
}
/* keywords that define a structure, or keywords that include code from other files */
.tRequireOnce, .tRequire, .tIncludeOnce, .tInclude, .tNamespace, .tUse, .tClass, .tFunction{
font-weight: bold;
color: #0f58a2;
}
/* access modifiers or keywords that define the entity type */
.tVar, .tConst, .tAbstract, .tProtected, .tPrivate, .tPublic, .tStatic, .tFinal, .tExtends, .tImplements, .tGlobal{
font-weight: bold;
color: #6c9c11;
}
/* variables */
.tVariable{
color: #c82210;
}
/* keywords that imply the end of the execution of a code block or script */
.tReturn, .tThrow, .tExit, .tHaltCompiler{
font-weight: bold;
color: #c60484;
}
/* numeric values (int or double) */
.tDnumber, .tLnumber{
color: #bf1ca6;
}
/* string values */
.tConstantEncapsedString{
color: #c78f0a;
}
/* funky things */
.tEval{
background: #c82210;
color: #fff;
}