Skip to content

Commit 88a0049

Browse files
committed
updated examples and doc
1 parent 0dffe36 commit 88a0049

File tree

5 files changed

+66649
-0
lines changed

5 files changed

+66649
-0
lines changed

dist/css/examples.css

Lines changed: 169 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,169 @@
1+
/**
2+
* okaidia theme for JavaScript, CSS and HTML
3+
* Loosely based on Monokai textmate theme by http://www.monokai.nl/
4+
* @author ocodia
5+
*/
6+
7+
code[class*="language-"],
8+
pre[class*="language-"] {
9+
color: #f8f8f2;
10+
background: none;
11+
text-shadow: 0 1px rgba(0, 0, 0, 0.3);
12+
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
13+
text-align: left;
14+
white-space: pre;
15+
word-spacing: normal;
16+
word-break: normal;
17+
word-wrap: normal;
18+
line-height: 1.5;
19+
20+
-moz-tab-size: 4;
21+
tab-size: 4;
22+
23+
-webkit-hyphens: none;
24+
-ms-hyphens: none;
25+
hyphens: none;
26+
}
27+
28+
/* Code blocks */
29+
pre[class*="language-"] {
30+
padding: 1em;
31+
margin: .5em 0;
32+
overflow: auto;
33+
border-radius: 0.3em;
34+
}
35+
36+
:not(pre) > code[class*="language-"],
37+
pre[class*="language-"] {
38+
background: #272822;
39+
}
40+
41+
/* Inline code */
42+
:not(pre) > code[class*="language-"] {
43+
padding: .1em;
44+
border-radius: .3em;
45+
white-space: normal;
46+
}
47+
48+
.token.comment,
49+
.token.prolog,
50+
.token.doctype,
51+
.token.cdata {
52+
color: slategray;
53+
}
54+
55+
.token.punctuation {
56+
color: #f8f8f2;
57+
}
58+
59+
.namespace {
60+
opacity: .7;
61+
}
62+
63+
.token.property,
64+
.token.tag,
65+
.token.constant,
66+
.token.symbol,
67+
.token.deleted {
68+
color: #f92672;
69+
}
70+
71+
.token.boolean,
72+
.token.number {
73+
color: #ae81ff;
74+
}
75+
76+
.token.selector,
77+
.token.attr-name,
78+
.token.string,
79+
.token.char,
80+
.token.builtin,
81+
.token.inserted {
82+
color: #a6e22e;
83+
}
84+
85+
.token.operator,
86+
.token.entity,
87+
.token.url,
88+
.language-css .token.string,
89+
.style .token.string,
90+
.token.variable {
91+
color: #f8f8f2;
92+
}
93+
94+
.token.atrule,
95+
.token.attr-value,
96+
.token.function {
97+
color: #e6db74;
98+
}
99+
100+
.token.keyword {
101+
color: #66d9ef;
102+
}
103+
104+
.token.regex,
105+
.token.important {
106+
color: #fd971f;
107+
}
108+
109+
.token.important,
110+
.token.bold {
111+
font-weight: bold;
112+
}
113+
.token.italic {
114+
font-style: italic;
115+
}
116+
117+
.token.entity {
118+
cursor: help;
119+
}
120+
121+
pre.line-numbers {
122+
position: relative;
123+
padding-left: 3.8em;
124+
counter-reset: linenumber;
125+
}
126+
127+
pre.line-numbers > code {
128+
position: relative;
129+
}
130+
131+
.line-numbers .line-numbers-rows {
132+
position: absolute;
133+
pointer-events: none;
134+
top: 0;
135+
font-size: 100%;
136+
left: -3.8em;
137+
width: 3em; /* works for line-numbers below 1000 lines */
138+
letter-spacing: -1px;
139+
border-right: 1px solid #999;
140+
141+
-webkit-user-select: none;
142+
-moz-user-select: none;
143+
-ms-user-select: none;
144+
user-select: none;
145+
146+
}
147+
148+
.line-numbers-rows > span {
149+
pointer-events: none;
150+
display: block;
151+
counter-increment: linenumber;
152+
}
153+
154+
.line-numbers-rows > span:before {
155+
content: counter(linenumber);
156+
color: #999;
157+
display: block;
158+
padding-right: 0.8em;
159+
text-align: right;
160+
}
161+
pre.line-numbers {
162+
padding-left: 0;
163+
}
164+
a.link {
165+
cursor: pointer;
166+
}
167+
tr.expanded-row {
168+
background: #f1f1f1;
169+
}

dist/css/examples.min.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)