Skip to content

Commit eb3f4c1

Browse files
author
Florian Kissling
committed
Move vendor/prettify.css to _sass/_prettify.scss.
1 parent 041c7ee commit eb3f4c1

3 files changed

Lines changed: 47 additions & 31 deletions

File tree

docs/_includes/head.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,5 @@
1616
<link href="dist/css/select2.min.css" type="text/css" rel="stylesheet" />
1717

1818
<link href="vendor/css/font-awesome.min.css" type="text/css" rel="stylesheet" />
19-
<link href="vendor/css/prettify.css" type="text/css" rel="stylesheet" />
2019
<link href="vendor/css/anchor.css" type="text/css" rel="stylesheet" />
2120
<link href="css/s2-docs.css" rel="stylesheet" >

docs/_sass/_prettify.scss

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
.com {
2+
color: #999;
3+
}
4+
.lit {
5+
color: #195f91;
6+
}
7+
.pun, .opn, .clo {
8+
color: #93a1a1;
9+
}
10+
.fun {
11+
color: #dc322f;
12+
}
13+
.str, .atv {
14+
color: #C7254E;
15+
}
16+
.kwd, .prettyprint .tag {
17+
color: #2F6F9F;
18+
}
19+
.typ, .atn, .dec, .var {
20+
/*color: teal;*/
21+
color: #428BCA;
22+
}
23+
.pln {
24+
color: #333;
25+
}
26+
27+
.prettyprint {
28+
padding: 9px 14px;
29+
margin-bottom: 20px;
30+
margin-top: 20px;
31+
border: 1px solid #e1e1e8;
32+
}
33+
.prettyprint.linenums {
34+
-webkit-box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0;
35+
-moz-box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0;
36+
box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0;
37+
}
38+
39+
/* Specify class=linenums on a pre to get line numbering */
40+
ol.linenums {
41+
margin: 0 0 0 -12px;
42+
}
43+
ol.linenums li {
44+
padding-left: 12px;
45+
color: #bebec5;
46+
line-height: 18px;
47+
}

docs/vendor/css/prettify.css

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)