templates/default/fulldoc/html/syntax_highlight.css in yard-0.2.2 vs templates/default/fulldoc/html/syntax_highlight.css in yard-0.2.3

- old
+ new

@@ -1,21 +1,24 @@ /* Canvas */ -.docstring pre, .source_code { background: #222; padding: 0 12px; margin-top: 8px; border: 1px dashed #ccc; font-size: 0.9em; overflow-x: auto; } .source_code pre.lines { margin-right: 20px; text-align: right; color: #888; } .docstring pre { padding: 12px; padding-left: 0; } +.docstring pre, .source_code { background: #222; padding: 12px; margin-top: 8px; border: 1px dashed #ccc; font-size: 0.9em; overflow-x: auto; } /* Token colours. Borrowed from pastie.org's "Blackboard" theme */ pre.code, pre.lines { font-family: Monaco, Courier, monospace; } pre.code { color: #fff; } pre.code .info.file { color: #888; } -pre.code .val { color: #61CE3C; } -pre.code .dstring { color: #61DE3C; } +pre.code .val, pre.code .int, pre.code .float { color: #61CE3C; } +pre.code .dstring, pre.code .tstring_content, +pre.code .regexp_beg, pre.code .regexp_end, +pre.code .tstring_beg, pre.code .tstring_end { color: #61DE3C; } +pre.code .embexpr_beg, pre.code .tstring, pre.code .tstring .rbrace { color: #7CFE65; } pre.code .fid, pre.code .id.new, pre.code .id.to_s, pre.code .id.to_sym, pre.code .id.to_f, pre.code .dot + pre.code .id, pre.code .id.to_i pre.code .id.each { color: #FF6400; } pre.code .comment { color: #AEAEAE; } -pre.code .constant, pre.code .symbol { color: #D8FA3C; } +pre.code .constant, pre.code .const, pre.code .symbol, pre.code .symbeg { color: #D8FA3C; } pre.code .kw { color: #FBDE2D; } pre.code .ivar { color: #AACEFB; } -pre.code .gvar, pre.code .id.nth_ref { color: #BADEFF; } +pre.code .gvar, pre.code .backref, pre.code .id.nth_ref { color: #BADEFF; } pre.code .regexp, .dregexp { color: #EA5EFB; } \ No newline at end of file