Fixed bug #785: Added codehilite styles, the wiki renderer write html code of codehilite
parent
a11221834a
commit
c35a94ab8a
|
@ -8,6 +8,9 @@ $prefix-for-opera: true;
|
|||
$prefix-for-spec: true;
|
||||
@import 'bourbon/bourbon';
|
||||
|
||||
// Codehilite
|
||||
@import 'vendor/codehilite.github';
|
||||
|
||||
//#################################################
|
||||
// dependencies
|
||||
//#################################################
|
||||
|
|
|
@ -0,0 +1,61 @@
|
|||
.hll { background-color: #ffc; }
|
||||
.c { color: #998; font-style: italic; } // Comment
|
||||
.err { background-color: #e3d2d2; color: #a61717; } // Error
|
||||
.k { color: #000; font-weight: bold; } // Keyword
|
||||
.o { color: #000; font-weight: bold; } // Operator
|
||||
.cm { color: #998; font-style: italic; } // Comment.Multiline
|
||||
.cp { color: #999; font-style: italic; font-weight: bold; } // Comment.Preproc
|
||||
.c1 { color: #998; font-style: italic; } // Comment.Single
|
||||
.cs { color: #999; font-style: italic; font-weight: bold; } // Comment.Special
|
||||
.gd { background-color: #fdd; color: #000; } // Generic.Deleted
|
||||
.ge { color: #000; font-style: italic; } // Generic.Emph
|
||||
.gr { color: #a00; } // Generic.Error
|
||||
.gh { color: #999; } // Generic.Heading
|
||||
.gi { background-color: #dfd; color: #000; } // Generic.Inserted
|
||||
.go { color: #888; } // Generic.Output
|
||||
.gp { color: #555; } // Generic.Prompt
|
||||
.gs { font-weight: bold; } // Generic.Strong
|
||||
.gu { color: #aaa; } // Generic.Subheading
|
||||
.gt { color: #a00; } // Generic.Traceback
|
||||
.kc { color: #000; font-weight: bold; } // Keyword.Constant
|
||||
.kd { color: #000; font-weight: bold; } // Keyword.Declaration
|
||||
.kn { color: #000; font-weight: bold; } // Keyword.Namespace
|
||||
.kp { color: #000; font-weight: bold; } // Keyword.Pseudo
|
||||
.kr { color: #000; font-weight: bold; } // Keyword.Reserved
|
||||
.kt { color: #458; font-weight: bold; } // Keyword.Type
|
||||
.m { color: #099; } // Literal.Number
|
||||
.s { color: #d01040; } // Literal.String
|
||||
.na { color: #008080; } // Name.Attribute
|
||||
.nb { color: #0086b3; } // Name.Builtin
|
||||
.nc { color: #458; font-weight: bold; } // Name.Class
|
||||
.no { color: #008080; } // Name.Constant
|
||||
.nd { color: #3c5d5d; font-weight: bold; } // Name.Decorator
|
||||
.ni { color: #800080; } // Name.Entity
|
||||
.ne { color: #900; font-weight: bold; } // Name.Exception
|
||||
.nf { color: #900; font-weight: bold; } // Name.Function
|
||||
.nl { color: #900; font-weight: bold; } // Name.Label
|
||||
.nn { color: #555; } // Name.Namespace
|
||||
.nt { color: #000080; } // Name.Tag
|
||||
.nv { color: #008080; } // Name.Variable
|
||||
.ow { color: #000; font-weight: bold; } // Operator.Word
|
||||
.w { color: #bbb; } // Text.Whitespace
|
||||
.mf { color: #099; } // Literal.Number.Float
|
||||
.mh { color: #099; } // Literal.Number.Hex
|
||||
.mi { color: #099; } // Literal.Number.Integer
|
||||
.mo { color: #099; } // Literal.Number.Oct
|
||||
.sb { color: #d01040; } // Literal.String.Backtick
|
||||
.sc { color: #d01040; } // Literal.String.Char
|
||||
.sd { color: #d01040; } // Literal.String.Doc
|
||||
.s2 { color: #d01040; } // Literal.String.Double
|
||||
.se { color: #d01040; } // Literal.String.Escape
|
||||
.sh { color: #d01040; } // Literal.String.Heredoc
|
||||
.si { color: #d01040; } // Literal.String.Interpol
|
||||
.sx { color: #d01040; } // Literal.String.Other
|
||||
.sr { color: #009926; } // Literal.String.Regex
|
||||
.s1 { color: #d01040; } // Literal.String.Single
|
||||
.ss { color: #990073; } // Literal.String.Symbol
|
||||
.bp { color: #999; } // Name.Builtin.Pseudo
|
||||
.vc { color: #008080; } // Name.Variable.Class
|
||||
.vg { color: #008080; } // Name.Variable.Global
|
||||
.vi { color: #008080; } // Name.Variable.Instance
|
||||
.il { color: #099; } // Literal.Number.Integer.Long
|
Loading…
Reference in New Issue