Skip to content

Commit e1c84d0

Browse files
committed
Clean theme css + cache. Default theme generated css.
1 parent b86cb7f commit e1c84d0

9 files changed

+88
-235
lines changed

jquery.syntax.brush.applescript.css

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
1-
/*
2-
This file is part of the "jQuery.Syntax" project, and is licensed under the GNU AGPLv3.
3-
4-
See <jquery.syntax.js> for licensing details.
5-
6-
Copyright 2010 Samuel Williams. All rights reserved.
7-
*/
8-
91
.syntax .applescript {
10-
font-family: Geneva, Helvetica, sans-serif;
11-
}
12-
13-
.syntax .applescript .keyword {
14-
color: #00f;
15-
font-weight: bold;
16-
}
2+
font-family: Geneva, Helvetica, sans-serif; }
3+
.syntax .applescript .keyword {
4+
color: #00f;
5+
font-weight: bold; }

jquery.syntax.brush.asm.css

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,8 @@
1-
/*
2-
This file is part of the "jQuery.Syntax" project, and is licensed under the GNU AGPLv3.
3-
4-
See <jquery.syntax.js> for licensing details.
5-
6-
Copyright 2010 Samuel Williams. All rights reserved.
7-
*/
8-
91
.syntax .asm .register {
10-
color: #3caa20;
11-
font-style: italic;
12-
}
13-
2+
color: #3caa20;
3+
font-style: italic; }
144
.syntax .asm .label {
15-
font-weight: bold;
16-
color: #2a85b3;
17-
}
18-
5+
font-weight: bold;
6+
color: #2a85b3; }
197
.syntax .asm .directive {
20-
color: #828a3d;
21-
}
8+
color: #828a3d; }

jquery.syntax.brush.clang.css

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,2 @@
1-
/*
2-
This file is part of the "jQuery.Syntax" project, and is licensed under the GNU AGPLv3.
3-
4-
See <jquery.syntax.js> for licensing details.
5-
6-
Copyright 2010 Samuel Williams. All rights reserved.
7-
*/
8-
91
.syntax .preprocessor {
10-
text-decoration: underline;
11-
}
2+
text-decoration: underline; }

jquery.syntax.brush.css.css

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,6 @@
1-
/*
2-
This file is part of the "jQuery.Syntax" project, and is licensed under the GNU AGPLv3.
3-
4-
See <jquery.syntax.js> for licensing details.
5-
6-
Copyright 2010 Samuel Williams. All rights reserved.
7-
*/
8-
91
.syntax .css .selector {
10-
color: green;
11-
}
12-
2+
color: green; }
133
.syntax .css .property {
14-
color: red;
15-
}
16-
17-
.syntax .css .properties {
18-
}
19-
4+
color: red; }
205
.syntax .css .value {
21-
font-style: italic;
22-
}
6+
font-style: italic; }

jquery.syntax.brush.diff.css

Lines changed: 11 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,16 @@
1-
/*
2-
This file is part of the "jQuery.Syntax" project, and is licensed under the GNU AGPLv3.
3-
4-
See <jquery.syntax.js> for licensing details.
5-
6-
Copyright 2010 Samuel Williams. All rights reserved.
7-
*/
8-
91
.syntax .add {
10-
color: green;
11-
}
12-
2+
color: green; }
133
.syntax .del {
14-
color: red;
15-
}
16-
4+
color: red; }
175
.syntax .insert {
18-
color: green;
19-
background-color: #cfc;
20-
display: block;
21-
}
22-
6+
color: green;
7+
background-color: #cfc;
8+
display: block; }
239
.syntax .remove {
24-
color: red;
25-
background-color: #fcc;
26-
display: block;
27-
}
28-
10+
color: red;
11+
background-color: #fcc;
12+
display: block; }
2913
.syntax .offset {
30-
color: blue;
31-
background-color: #ccf;
32-
display: block;
33-
}
14+
color: blue;
15+
background-color: #ccf;
16+
display: block; }

jquery.syntax.brush.html.css

Lines changed: 15 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,19 @@
1-
/*
2-
This file is part of the "jQuery.Syntax" project, and is licensed under the GNU AGPLv3.
3-
4-
See <jquery.syntax.js> for licensing details.
5-
6-
Copyright 2010 Samuel Williams. All rights reserved.
7-
*/
8-
91
.syntax .html .tag {
10-
color: #00f;
11-
font-weight: bold;
12-
}
13-
2+
color: #00f;
3+
font-weight: bold; }
144
.syntax .html .attribute {
15-
color: #00c;
16-
}
17-
18-
.syntax .html .javascript {
19-
font-style: italic;
20-
}
21-
22-
.syntax .html .css {
23-
font-style: italic;
24-
}
25-
5+
color: #00c; }
6+
.syntax .html .javascript, .syntax .html .css {
7+
font-style: italic; }
268
.syntax .html .instruction {
27-
color: #532;
28-
font-style: italic;
29-
}
30-
9+
color: #532;
10+
font-style: italic; }
3111
.syntax .html .doctype {
32-
font-weight: bold;
33-
color: #938;
34-
}
35-
36-
.syntax .html .entity,
37-
.syntax .html .percent-escape {
38-
color: #888;
39-
40-
font-size: 0.8em;
41-
border: 1px solid #888;
42-
margin: 1px;
43-
padding: 1px;
44-
}
12+
font-weight: bold;
13+
color: #938; }
14+
.syntax .html .entity, .syntax .html .percent-escape {
15+
color: #888;
16+
font-size: 0.8em;
17+
border: 1px solid #888;
18+
margin: 1px;
19+
padding: 1px; }

jquery.syntax.cache.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,4 @@ Syntax.styles["jquery.syntax.brush.clang"] = "jquery.syntax.brush.clang.css";
1919
Syntax.styles["jquery.syntax.brush.css"] = "jquery.syntax.brush.css.css";
2020
Syntax.styles["jquery.syntax.brush.diff"] = "jquery.syntax.brush.diff.css";
2121
Syntax.styles["jquery.syntax.brush.html"] = "jquery.syntax.brush.html.css";
22-
Syntax.styles["jquery.syntax.brush.javascript"] = "jquery.syntax.brush.javascript.css";
2322
Syntax.styles["jquery.syntax.layout.table"] = "jquery.syntax.layout.table.css";

jquery.syntax.css

Lines changed: 26 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1,59 +1,27 @@
1-
/*
2-
This file is part of the "jQuery.Syntax" project, and is licensed under the GNU AGPLv3.
3-
4-
See <jquery.syntax.js> for licensing details.
5-
6-
Copyright 2010 Samuel Williams. All rights reserved.
7-
*/
8-
9-
/* Fixed width font by default */
101
.syntax {
11-
font-family: Menlo, Monaco, Consolas, monospace;
12-
}
13-
14-
/* These colors are common across several brushes, so are centralized in one place */
15-
.syntax .function {
16-
color: #33f;
17-
text-decoration: underline;
18-
}
19-
20-
.syntax .keyword {
21-
color: #3c3;
22-
}
23-
24-
.syntax .access {
25-
color: #ffb600;
26-
font-weight: bold;
27-
}
28-
29-
.syntax .type {
30-
color: #191;
31-
font-weight: bold;
32-
}
33-
34-
.syntax .comment {
35-
color: #6ac;
36-
font-style: italic;
37-
}
38-
39-
.syntax .string,
40-
.syntax .constant {
41-
color: #f33;
42-
}
43-
44-
.syntax .string .escape {
45-
color: #f99;
46-
}
47-
48-
.syntax .operator {
49-
color: #c00;
50-
}
51-
52-
.syntax .href {
53-
color: #00f;
54-
text-decoration: underline;
55-
}
56-
57-
.syntax .variable {
58-
font-style: italic;
59-
}
2+
font-family: Menlo, Monaco, Consolas, monospace; }
3+
.syntax .function {
4+
color: #33f;
5+
text-decoration: underline; }
6+
.syntax .keyword {
7+
color: #3c3; }
8+
.syntax .access {
9+
color: #ffb600;
10+
font-weight: bold; }
11+
.syntax .type {
12+
color: #191;
13+
font-weight: bold; }
14+
.syntax .comment {
15+
color: #6ac;
16+
font-style: italic; }
17+
.syntax .string, .syntax .constant {
18+
color: #f33; }
19+
.syntax .string .escape {
20+
color: #f99; }
21+
.syntax .operator {
22+
color: #c00; }
23+
.syntax .href {
24+
color: #00f;
25+
text-decoration: underline; }
26+
.syntax .variable {
27+
font-style: italic; }

jquery.syntax.layout.table.css

Lines changed: 23 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,24 @@
1-
/*
2-
This file is part of the "jQuery.Syntax" project, and is licensed under the GNU AGPLv3.
3-
4-
See <jquery.syntax.js> for licensing details.
5-
6-
Copyright 2010 Samuel Williams. All rights reserved.
7-
*/
8-
91
table.syntax {
10-
border-collapse: collapse;
11-
background-color: #f0f0f0;
12-
border: 1px solid #aaa;
13-
14-
padding: 0px;
15-
16-
width: 95%;
17-
margin: auto;
18-
19-
-webkit-box-shadow: 5px 5px 5px #eee;
20-
}
21-
22-
table.syntax tr.alt td.source {
23-
background-color: #f6f6f6;
24-
}
25-
26-
table.syntax td {
27-
padding-left: 0.4em;
28-
padding-right: 0.4em;
29-
}
30-
31-
table.syntax td.number {
32-
border-right: 1px solid #aaa;
33-
text-align: right;
34-
35-
width: 2.5em;
36-
color: #555;
37-
background-color: #e0e0e0;
38-
}
39-
40-
table.syntax .toolbar {
41-
float: right;
42-
}
43-
44-
table.syntax .toolbar a {
45-
margin-left: 1em;
46-
margin-right: 1em;
47-
}
2+
border-collapse: collapse;
3+
background-color: #f0f0f0;
4+
border: 1px solid #aaa;
5+
padding: 0px;
6+
width: 95%;
7+
margin: auto;
8+
-webkit-box-shadow: 5px 5px 5px #eee; }
9+
table.syntax tr.alt td.source {
10+
background-color: #f6f6f6; }
11+
table.syntax td {
12+
padding-left: 0.4em;
13+
padding-right: 0.4em; }
14+
table.syntax td.number {
15+
border-right: 1px solid #aaa;
16+
text-align: right;
17+
width: 2.5em;
18+
color: #555;
19+
background-color: #e0e0e0; }
20+
table.syntax .toolbar {
21+
float: right; }
22+
table.syntax .toolbar a {
23+
margin-left: 1em;
24+
margin-right: 1em; }

0 commit comments

Comments
 (0)