Skip to content

Commit

Permalink
Changed syntax highlight theme back to Github (again). I just couldn\…
Browse files Browse the repository at this point in the history
…'t tolerate having green for deletions and red for insertions in the diff coloring. Re-did one of the screenshots.
  • Loading branch information
adam-p committed Jun 7, 2012
1 parent c63bc54 commit 44af1bb
Show file tree
Hide file tree
Showing 4 changed files with 101 additions and 97 deletions.
192 changes: 98 additions & 94 deletions src/common/github.css.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,130 +146,134 @@ table tr th { \
\
/* \
\
Original style from softwaremaniacs.org (c) Ivan Sagalaev <[email protected]> \
github.com style (c) Vasily Polovnyov <[email protected]> \
\
*/ \
\
pre code { \
display: block; padding: 0.5em; \
background: #F0F0F0; \
color: #000; \
background: #f8f8ff \
} \
\
pre code, \
pre .ruby .subst, \
pre .tag .title, \
pre .lisp .title { \
color: black; \
pre .comment, \
pre .template_comment, \
pre .diff .header, \
pre .javadoc { \
color: #998; \
font-style: italic \
} \
\
pre .keyword, \
pre .css .rule .keyword, \
pre .winutils, \
pre .javascript .title, \
pre .lisp .title, \
pre .nginx .title, \
pre .subst, \
pre .request, \
pre .status { \
color: #000; \
font-weight: bold \
} \
\
pre .number, \
pre .hexcolor { \
color: #40a070 \
} \
\
pre .string, \
pre .title, \
pre .constant, \
pre .parent, \
pre .tag .value, \
pre .rules .value, \
pre .rules .value .number, \
pre .preprocessor, \
pre .ruby .symbol, \
pre .phpdoc, \
pre .tex .formula { \
color: #d14 \
} \
\
pre .title, \
pre .id { \
color: #900; \
font-weight: bold \
} \
\
pre .javascript .title, \
pre .lisp .title, \
pre .subst { \
font-weight: normal \
} \
\
pre .class .title, \
pre .haskell .type, \
pre .vhdl .literal, \
pre .tex .command { \
color: #458; \
font-weight: bold \
} \
\
pre .tag, \
pre .tag .title, \
pre .rules .property, \
pre .django .tag .keyword { \
color: #000080; \
font-weight: normal \
} \
\
pre .attribute, \
pre .variable, \
pre .instancevar, \
pre .lisp .body { \
color: #008080 \
} \
\
pre .regexp { \
color: #009926 \
} \
\
pre .class { \
color: #458; \
font-weight: bold \
} \
\
pre .symbol, \
pre .ruby .symbol .string, \
pre .ruby .symbol .keyword, \
pre .ruby .symbol .keymethods, \
pre .instancevar, \
pre .aggregate, \
pre .template_tag, \
pre .django .variable, \
pre .smalltalk .class, \
pre .addition, \
pre .flow, \
pre .stream, \
pre .bash .variable, \
pre .apache .tag, \
pre .apache .cbracket, \
pre .tex .command, \
pre .lisp .keyword, \
pre .tex .special, \
pre .erlang_repl .function_or_atom, \
pre .markdown .header { \
color: #800; \
} \
\
pre .comment, \
pre .annotation, \
pre .template_comment, \
pre .diff .header, \
pre .chunk, \
pre .markdown .blockquote { \
color: #888; \
pre .input_number { \
color: #990073 \
} \
\
pre .number, \
pre .date, \
pre .regexp, \
pre .literal, \
pre .smalltalk .symbol, \
pre .smalltalk .char, \
pre .go .constant, \
pre .change, \
pre .markdown .bullet, \
pre .markdown .link_url { \
color: #080; \
pre .builtin, \
pre .built_in, \
pre .lisp .title { \
color: #0086b3 \
} \
\
pre .label, \
pre .javadoc, \
pre .ruby .string, \
pre .decorator, \
pre .filter .argument, \
pre .localvars, \
pre .array, \
pre .attr_selector, \
pre .important, \
pre .pseudo, \
pre .preprocessor, \
pre .pi, \
pre .doctype, \
pre .deletion, \
pre .envvar, \
pre .shebang, \
pre .apache .sqbracket, \
pre .nginx .built_in, \
pre .tex .formula, \
pre .erlang_repl .reserved, \
pre .input_number, \
pre .markdown .link_label { \
color: #88F \
pre .cdata { \
color: #999; \
font-weight: bold \
} \
\
pre .keyword, \
pre .id, \
pre .phpdoc, \
pre .title, \
pre .built_in, \
pre .aggregate, \
pre .css .tag, \
pre .javadoctag, \
pre .phpdoc, \
pre .yardoctag, \
pre .smalltalk .class, \
pre .winutils, \
pre .bash .variable, \
pre .apache .tag, \
pre .go .typename, \
pre .tex .command, \
pre .markdown .strong { \
font-weight: bold; \
pre .deletion { \
background: #fdd \
} \
\
pre .markdown .emphasis { \
font-style: italic; \
pre .addition { \
background: #dfd \
} \
\
pre .diff .change { \
background: #0086b3 \
} \
\
pre .nginx .built_in { \
font-weight: normal; \
pre .chunk { \
color: #aaa \
} \
\
pre .coffeescript .javascript, \
pre .xml .css, \
pre .xml .javascript, \
pre .xml .vbscript, \
pre .tex .formula { \
opacity: 0.5; \
} \
Expand Down
Binary file modified store-assets/markdown-here-image1.gimp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified store-assets/markdown-here-image1.gimp.xcf
Binary file not shown.
6 changes: 3 additions & 3 deletions store-assets/md-for-screenshot.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Sweet Screenshot Markdown
## Sweet Screenshot Markdown

*Markdown Here* is a Google Chrome, Firefox, and Thunderbird extension that lets you write email in Markdown and render it before sending.
*Markdown Here* is a Google Chrome, Firefox, and Thunderbird extension that lets you write email in Markdown and render it before sending.

* Markdown is **cool**. Put `code inline`.
* Link to stuff, like [this project](https://github.com/adam-p/markdown-here).
* Ordered, you say? **And** a sub-list?
1. Done.
2. And done.
2. And done.

Actual review quote:

Expand Down

0 comments on commit 44af1bb

Please sign in to comment.