Skip to content
This repository has been archived by the owner on Dec 16, 2021. It is now read-only.

Commit

Permalink
syntax java
Browse files Browse the repository at this point in the history
  • Loading branch information
djeang committed May 13, 2015
1 parent a90cdc3 commit f84faf9
Show file tree
Hide file tree
Showing 2 changed files with 127 additions and 0 deletions.
126 changes: 126 additions & 0 deletions css/highlight-idea.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
/*
Intellij Idea-like styling (c) Vasily Polovnyov <[email protected]>
*/

.hljs {
display: block;
overflow-x: auto;
padding: 0.5em;
color: #000;
background: #fff;
-webkit-text-size-adjust: none;
}

.hljs-subst,
.hljs-title,
.json .hljs-value {
font-weight: normal;
color: #000;
}

.hljs-comment,
.hljs-javadoc,
.diff .hljs-header {
color: #808080;
font-style: italic;
}

.hljs-annotation,
.hljs-decorator,
.hljs-preprocessor,
.hljs-pragma,
.hljs-doctype,
.hljs-pi,
.hljs-chunk,
.hljs-shebang,
.apache .hljs-cbracket,
.hljs-prompt,
.http .hljs-title {
color: #808000;
}

.hljs-tag,
.hljs-pi {
background: #efefef;
}

.hljs-tag .hljs-title,
.hljs-id,
.hljs-attr_selector,
.hljs-pseudo,
.hljs-literal,
.hljs-keyword,
.hljs-hexcolor,
.css .hljs-function,
.ini .hljs-title,
.css .hljs-class,
.hljs-list .hljs-keyword,
.nginx .hljs-title,
.tex .hljs-command,
.hljs-request,
.hljs-status {
font-weight: bold;
color: #000080;
}

.hljs-attribute,
.hljs-rule .hljs-keyword,
.hljs-number,
.hljs-date,
.hljs-regexp,
.tex .hljs-special {
font-weight: bold;
color: #0000ff;
}

.hljs-number,
.hljs-regexp {
font-weight: normal;
}

.hljs-string,
.hljs-value,
.hljs-filter .hljs-argument,
.css .hljs-function .hljs-params,
.apache .hljs-tag {
color: #008000;
font-weight: bold;
}

.hljs-symbol,
.ruby .hljs-symbol .hljs-string,
.hljs-char,
.tex .hljs-formula {
color: #000;
background: #d0eded;
font-style: italic;
}

.hljs-phpdoc,
.hljs-dartdoc,
.hljs-yardoctag,
.hljs-javadoctag {
text-decoration: underline;
}

.hljs-variable,
.hljs-envvar,
.apache .hljs-sqbracket,
.nginx .hljs-built_in,
.hljs-name {
color: #660e7a;
}

.hljs-addition {
background: #baeeba;
}

.hljs-deletion {
background: #ffc8bd;
}

.diff .hljs-change {
background: #bccff9;
}
1 change: 1 addition & 0 deletions js/highlight.pack.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f84faf9

Please sign in to comment.