Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a592516

Browse files
committed
Add HTML example, install & usage instructions
1 parent a2b5e6e commit a592516

File tree

7 files changed

+5510
-12
lines changed

7 files changed

+5510
-12
lines changed

‎assets/color-brewer.css

Lines changed: 169 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,169 @@
1+
/*
2+
3+
Colorbrewer theme
4+
Original: https://github.com/mbostock/colorbrewer-theme (c) Mike Bostock <mike@ocks.org>
5+
Ported by Fabrício Tavares de Oliveira
6+
7+
*/
8+
9+
.hljs {
10+
display: block;
11+
overflow-x: auto;
12+
padding: 0.5em;
13+
background: #efefef;
14+
-webkit-text-size-adjust: none;
15+
}
16+
17+
.hljs,
18+
.hljs-subst,
19+
.hljs-tag .hljs-title,
20+
.nginx .hljs-title {
21+
color: #000;
22+
}
23+
24+
.hljs-string,
25+
.hljs-title,
26+
.hljs-constant,
27+
.hljs-parent,
28+
.hljs-tag .hljs-value,
29+
.hljs-rule .hljs-value,
30+
.hljs-preprocessor,
31+
.hljs-pragma,
32+
.haml .hljs-symbol,
33+
.ruby .hljs-symbol,
34+
.ruby .hljs-symbol .hljs-string,
35+
.hljs-template_tag,
36+
.django .hljs-variable,
37+
.smalltalk .hljs-class,
38+
.hljs-addition,
39+
.hljs-flow,
40+
.hljs-stream,
41+
.bash .hljs-variable,
42+
.apache .hljs-tag,
43+
.apache .hljs-cbracket,
44+
.tex .hljs-command,
45+
.tex .hljs-special,
46+
.erlang_repl .hljs-function_or_atom,
47+
.asciidoc .hljs-header,
48+
.markdown .hljs-header,
49+
.coffeescript .hljs-attribute,
50+
.hljs-name {
51+
color: #756bb1;
52+
}
53+
54+
.smartquote,
55+
.hljs-comment,
56+
.hljs-annotation,
57+
.diff .hljs-header,
58+
.hljs-chunk,
59+
.asciidoc .hljs-blockquote,
60+
.markdown .hljs-blockquote {
61+
color: #636363;
62+
}
63+
64+
.hljs-number,
65+
.hljs-date,
66+
.hljs-regexp,
67+
.hljs-literal,
68+
.hljs-hexcolor,
69+
.smalltalk .hljs-symbol,
70+
.smalltalk .hljs-char,
71+
.go .hljs-constant,
72+
.hljs-change,
73+
.lasso .hljs-variable,
74+
.makefile .hljs-variable,
75+
.asciidoc .hljs-bullet,
76+
.markdown .hljs-bullet,
77+
.asciidoc .hljs-link_url,
78+
.markdown .hljs-link_url {
79+
color: #31a354;
80+
}
81+
82+
.hljs-label,
83+
.hljs-javadoc,
84+
.ruby .hljs-string,
85+
.hljs-decorator,
86+
.hljs-filter .hljs-argument,
87+
.hljs-localvars,
88+
.hljs-array,
89+
.hljs-attr_selector,
90+
.hljs-important,
91+
.hljs-pseudo,
92+
.hljs-pi,
93+
.haml .hljs-bullet,
94+
.hljs-doctype,
95+
.hljs-deletion,
96+
.hljs-envvar,
97+
.hljs-shebang,
98+
.apache .hljs-sqbracket,
99+
.nginx .hljs-built_in,
100+
.hljs-list .hljs-built_in,
101+
.tex .hljs-formula,
102+
.erlang_repl .hljs-reserved,
103+
.hljs-prompt,
104+
.asciidoc .hljs-link_label,
105+
.markdown .hljs-link_label,
106+
.vhdl .hljs-attribute,
107+
.clojure .hljs-attribute,
108+
.asciidoc .hljs-attribute,
109+
.lasso .hljs-attribute,
110+
.coffeescript .hljs-property,
111+
.hljs-phony {
112+
color: #88f;
113+
}
114+
115+
116+
117+
.hljs-keyword,
118+
.hljs-id,
119+
.hljs-title,
120+
.hljs-built_in,
121+
.css .hljs-tag,
122+
.hljs-javadoctag,
123+
.hljs-phpdoc,
124+
.hljs-dartdoc,
125+
.hljs-yardoctag,
126+
.smalltalk .hljs-class,
127+
.hljs-winutils,
128+
.bash .hljs-variable,
129+
.apache .hljs-tag,
130+
.hljs-type,
131+
.hljs-typename,
132+
.tex .hljs-command,
133+
.asciidoc .hljs-strong,
134+
.markdown .hljs-strong,
135+
.hljs-request,
136+
.hljs-status {
137+
color: #3182bd;
138+
}
139+
140+
.asciidoc .hljs-emphasis,
141+
.markdown .hljs-emphasis {
142+
font-style: italic;
143+
}
144+
145+
.nginx .hljs-built_in {
146+
font-weight: normal;
147+
}
148+
149+
.coffeescript .javascript,
150+
.javascript .xml,
151+
.lasso .markup,
152+
.tex .hljs-formula,
153+
.xml .javascript,
154+
.xml .vbscript,
155+
.xml .css,
156+
.xml .hljs-cdata {
157+
opacity: 0.5;
158+
}
159+
160+
.css .hljs-attribute,
161+
.html .hljs-attribute {
162+
color: #e6550d;
163+
}
164+
165+
.css .hljs-class,
166+
.html .hljs-tag,
167+
.html .hljs-title {
168+
color: #3182bd;
169+
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /