1
Fork 0

update coderay to v1.0.0

This commit is contained in:
Jan-Erik Rediger 2011-09-21 17:58:18 +02:00
parent 8425e79e11
commit b71e56ff26
2 changed files with 117 additions and 104 deletions

3
Gemfile Normal file
View file

@ -0,0 +1,3 @@
gem "jekyll", ">=0.11.0"
gem "coderay", "~>1.0.0"
gem "kramdown"

View file

@ -1,112 +1,122 @@
.CodeRay { .CodeRay {
font-family: 'Courier New', 'Terminal', monospace; background-color: hsl(0,0%,95%);
color: #000; border: 1px solid silver;
color: black;
margin: 5px; margin: 5px;
margin-bottom: 10px;
box-shadow: 0px 0px 2px #666;
} }
.CodeRay pre { margin: 0px } .CodeRay pre {
div.CodeRay { } margin: 0px;
span.CodeRay { white-space: pre; border: 0px; padding: 2px } }
table.CodeRay { border-collapse: collapse; width: 100%; padding: 2px }
table.CodeRay td { padding: 2px 4px; vertical-align: top } span.CodeRay { white-space: pre; border: 0px; padding: 2px; }
.CodeRay .line_numbers, .CodeRay .no {
background-color: #def; table.CodeRay { border-collapse: collapse; width: 100%; padding: 2px; }
table.CodeRay td { padding: 2px 4px; vertical-align: top; }
.CodeRay .line-numbers {
background-color: hsl(180,65%,90%);
color: gray; color: gray;
text-align: right; text-align: right;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
} }
.CodeRay .line_numbers tt { font-weight: bold } .CodeRay .line-numbers a {
.CodeRay .line_numbers .highlighted { color: red } background-color: hsl(180,65%,90%) !important;
color: gray !important;
text-decoration: none !important;
}
.CodeRay .line-numbers a:target { color: blue !important; }
.CodeRay .line-numbers .highlighted { color: red !important; }
.CodeRay .line-numbers .highlighted a { color: red !important; }
.CodeRay span.line-numbers { padding: 0px 4px; }
.CodeRay .line { display: block; float: left; width: 100%; } .CodeRay .line { display: block; float: left; width: 100%; }
.CodeRay .no { padding: 0px 4px } .CodeRay .code { width: 100%; }
.CodeRay .code { width: 100% } .CodeRay .code pre { overflow: auto; }
ol.CodeRay { font-size: 10pt }
ol.CodeRay li { white-space: pre } .CodeRay .debug { color: white !important; background: blue !important; }
.CodeRay .code pre { overflow: auto }
.CodeRay .debug { color:white ! important; background:blue ! important; } .CodeRay .annotation { color:#007 }
.CodeRay .af { color:#00C } .CodeRay .attribute-name { color:#f08 }
.CodeRay .an { color:#007 } .CodeRay .attribute-value { color:#700 }
.CodeRay .at { color:#f08 } .CodeRay .binary { color:#509 }
.CodeRay .av { color:#700 } .CodeRay .char .content { color:#D20 }
.CodeRay .aw { color:#C00 } .CodeRay .char .delimiter { color:#710 }
.CodeRay .bi { color:#509; font-weight:bold } .CodeRay .char { color:#D20 }
.CodeRay .c { color:#888; } .CodeRay .class { color:#B06; font-weight:bold }
.CodeRay .ch { color:#04D } .CodeRay .class-variable { color:#369 }
.CodeRay .ch .k { color:#04D } .CodeRay .color { color:#0A0 }
.CodeRay .ch .dl { color:#039 } .CodeRay .comment { color:#888 }
.CodeRay .cl { color:#B06; font-weight:bold } .CodeRay .comment .char { color:#444 }
.CodeRay .cm { color:#A08; font-weight:bold } .CodeRay .comment .delimiter { color:#444 }
.CodeRay .co { color:#036; font-weight:bold } .CodeRay .complex { color:#A08 }
.CodeRay .cr { color:#0A0 } .CodeRay .constant { color:#036; font-weight:bold }
.CodeRay .cv { color:#369 } .CodeRay .decorator { color:#B0B }
.CodeRay .de { color:#B0B; } .CodeRay .definition { color:#099; font-weight:bold }
.CodeRay .df { color:#099; font-weight:bold } .CodeRay .delimiter { color:black }
.CodeRay .di { color:#088; font-weight:bold } .CodeRay .directive { color:#088; font-weight:bold }
.CodeRay .dl { color:black } .CodeRay .doc { color:#970 }
.CodeRay .do { color:#970 } .CodeRay .doc-string { color:#D42; font-weight:bold }
.CodeRay .dt { color:#34b } .CodeRay .doctype { color:#34b }
.CodeRay .ds { color:#D42; font-weight:bold } .CodeRay .entity { color:#800; font-weight:bold }
.CodeRay .e { color:#666; font-weight:bold } .CodeRay .error { color:#F00; background-color:#FAA }
.CodeRay .en { color:#800; font-weight:bold } .CodeRay .escape { color:#666 }
.CodeRay .er { color:#F00; background-color:#FAA } .CodeRay .exception { color:#C00; font-weight:bold }
.CodeRay .ex { color:#C00; font-weight:bold } .CodeRay .float { color:#60E }
.CodeRay .fl { color:#60E; font-weight:bold } .CodeRay .function { color:#06B; font-weight:bold }
.CodeRay .fu { color:#06B; font-weight:bold } .CodeRay .global-variable { color:#d70 }
.CodeRay .gv { color:#d70; font-weight:bold } .CodeRay .hex { color:#02b }
.CodeRay .hx { color:#058; font-weight:bold } .CodeRay .imaginary { color:#f00 }
.CodeRay .i { color:#00D; font-weight:bold } .CodeRay .include { color:#B44; font-weight:bold }
.CodeRay .ic { color:#B44; font-weight:bold } .CodeRay .inline { background-color: hsla(0,0%,0%,0.1); color: black }
.CodeRay .il { background: #ddd; color: black } .CodeRay .inline-delimiter { font-weight: bold; color: #666 }
.CodeRay .il .il { background: #ccc } .CodeRay .instance-variable { color:#33B }
.CodeRay .il .il .il { background: #bbb } .CodeRay .integer { color:#00D }
.CodeRay .il .idl { background: #ddd; font-weight: bold; color: #666 } .CodeRay .key .char { color: #60f }
.CodeRay .idl { background-color: #bbb; font-weight: bold; color: #666; } .CodeRay .key .delimiter { color: #404 }
.CodeRay .im { color:#f00; } .CodeRay .key { color: #606 }
.CodeRay .in { color:#B2B; font-weight:bold } .CodeRay .keyword { color:#080; font-weight:bold }
.CodeRay .iv { color:#33B } .CodeRay .label { color:#970; font-weight:bold }
.CodeRay .la { color:#970; font-weight:bold } .CodeRay .local-variable { color:#963 }
.CodeRay .lv { color:#963 } .CodeRay .namespace { color:#707; font-weight:bold }
.CodeRay .oc { color:#40E; font-weight:bold } .CodeRay .octal { color:#40E }
.CodeRay .of { color:#000; font-weight:bold } .CodeRay .operator { }
.CodeRay .op { } .CodeRay .predefined { color:#369; font-weight:bold }
.CodeRay .pc { color:#038; font-weight:bold } .CodeRay .predefined-class { color:#069 }
.CodeRay .pd { color:#369; font-weight:bold } .CodeRay .predefined-type { color:#0a5; font-weight:bold }
.CodeRay .pp { color:#579; } .CodeRay .preprocessor { color:#579 }
.CodeRay .ps { color:#00C; font-weight:bold } .CodeRay .pseudo-class { color:#00C; font-weight:bold }
.CodeRay .pt { color:#074; font-weight:bold } .CodeRay .regexp .content { color:#808 }
.CodeRay .r, .kw { color:#080; font-weight:bold } .CodeRay .regexp .delimiter { color:#404 }
.CodeRay .ke { color: #808; } .CodeRay .regexp .modifier { color:#C2C }
.CodeRay .ke .dl { color: #606; } .CodeRay .regexp { background-color:hsla(300,100%,50%,0.09); }
.CodeRay .ke .ch { color: #80f; } .CodeRay .reserved { color:#080; font-weight:bold }
.CodeRay .vl { color: #088; } .CodeRay .shell .content { color:#2B2 }
.CodeRay .rx { background-color:#fff0ff } .CodeRay .shell .delimiter { color:#161 }
.CodeRay .rx .k { color:#808 } .CodeRay .shell { background-color:hsla(120,100%,50%,0.09); }
.CodeRay .rx .dl { color:#404 } .CodeRay .string .char { color: #b0b }
.CodeRay .rx .mod { color:#C2C } .CodeRay .string .content { color: #D20 }
.CodeRay .rx .fu { color:#404; font-weight: bold } .CodeRay .string .delimiter { color: #710 }
.CodeRay .s { /*background-color:#fff0f0;*/ color: #D20; } .CodeRay .string .modifier { color: #E40 }
.CodeRay .s .s { background-color:#ffe0e0 } .CodeRay .string { background-color:hsla(0,100%,50%,0.08); }
.CodeRay .s .s .s { background-color:#ffd0d0 } .CodeRay .symbol .content { color:#A60 }
.CodeRay .s .k { } .CodeRay .symbol .delimiter { color:#630 }
.CodeRay .s .ch { color: #b0b; } .CodeRay .symbol { color:#A60 }
.CodeRay .s .dl { color: #710; } .CodeRay .tag { color:#070 }
.CodeRay .sh { background-color:#f0fff0; color:#2B2 } .CodeRay .type { color:#339; font-weight:bold }
.CodeRay .sh .k { } .CodeRay .value { color: #088; }
.CodeRay .sh .dl { color:#161 } .CodeRay .variable { color:#037 }
.CodeRay .sy { color:#A60 }
.CodeRay .sy .k { color:#A60 } .CodeRay .insert { background: hsla(120,100%,50%,0.1) }
.CodeRay .sy .dl { color:#630 } .CodeRay .delete { background: hsla(0,100%,50%,0.1) }
.CodeRay .ta { color:#070 } .CodeRay .change { color: #bbf; background: #007; }
.CodeRay .tf { color:#070; font-weight:bold }
.CodeRay .ts { color:#D70; font-weight:bold }
.CodeRay .ty { color:#339; font-weight:bold }
.CodeRay .v { color:#036 }
.CodeRay .xt { color:#444 }
.CodeRay .ins { background: #afa; }
.CodeRay .del { background: #faa; }
.CodeRay .chg { color: #aaf; background: #007; }
.CodeRay .head { color: #f8f; background: #505 } .CodeRay .head { color: #f8f; background: #505 }
.CodeRay .ins .ins { color: #080; font-weight:bold } .CodeRay .head .filename { color: white; }
.CodeRay .del .del { color: #800; font-weight:bold }
.CodeRay .chg .chg { color: #66f; } .CodeRay .delete .eyecatcher { background-color: hsla(0,100%,50%,0.2); border: 1px solid hsla(0,100%,45%,0.5); margin: -1px; border-bottom: none; border-top-left-radius: 5px; border-top-right-radius: 5px; }
.CodeRay .head .head { color: #f4f; } .CodeRay .insert .eyecatcher { background-color: hsla(120,100%,50%,0.2); border: 1px solid hsla(120,100%,25%,0.5); margin: -1px; border-top: none; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; }
.CodeRay .insert .insert { color: #0c0; background:transparent; font-weight:bold }
.CodeRay .delete .delete { color: #c00; background:transparent; font-weight:bold }
.CodeRay .change .change { color: #88f }
.CodeRay .head .head { color: #f4f }