Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(267)

Side by Side Diff: src/site/scss/_syntax.scss

Issue 10788006: new site (Closed) Base URL: https://code.google.com/p/dartlang-site/@master
Patch Set: final patch Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/site/scss/_subnav.scss ('k') | src/site/scss/style.scss » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 .highlight { background: #F0F0F0; border-radius: 5px; margin-bottom: 1em;} 1 .highlight { background: #F0F0F0; border-radius: 5px; margin-bottom: 1em;}
2 2
3 .bad .highlight { 3 div.bad div.highlight pre {
4 border-radius: 5px; 4 border-radius: 5px;
5 5
6 background-image: linear-gradient(bottom, rgb(255,242,242) 16%, rgb(255,204,20 4) 86%); 6 background-image: linear-gradient(bottom, rgb(255,242,242) 16%, rgb(255,204,20 4) 86%);
7 background-image: -o-linear-gradient(bottom, rgb(255,242,242) 16%, rgb(255,204 ,204) 86%); 7 background-image: -o-linear-gradient(bottom, rgb(255,242,242) 16%, rgb(255,204 ,204) 86%);
8 background-image: -moz-linear-gradient(bottom, rgb(255,242,242) 16%, rgb(255,2 04,204) 86%); 8 background-image: -moz-linear-gradient(bottom, rgb(255,242,242) 16%, rgb(255,2 04,204) 86%);
9 background-image: -webkit-linear-gradient(bottom, rgb(255,242,242) 16%, rgb(25 5,204,204) 86%); 9 background-image: -webkit-linear-gradient(bottom, rgb(255,242,242) 16%, rgb(25 5,204,204) 86%);
10 background-image: -ms-linear-gradient(bottom, rgb(255,242,242) 16%, rgb(255,20 4,204) 86%); 10 background-image: -ms-linear-gradient(bottom, rgb(255,242,242) 16%, rgb(255,20 4,204) 86%);
11 11
12 background-image: -webkit-gradient( 12 background-image: -webkit-gradient(
13 linear, 13 linear,
14 left bottom, 14 left bottom,
15 left top, 15 left top,
16 color-stop(0.16, rgb(255,242,242)), 16 color-stop(0.16, rgb(255,242,242)),
17 color-stop(0.86, rgb(255,204,204)) 17 color-stop(0.86, rgb(255,204,204))
18 ); 18 );
19 } 19 }
20 20
21 .good .highlight { 21 div.good div.highlight pre {
22 border-radius: 5px; 22 border-radius: 5px;
23 23
24 background-image: linear-gradient(bottom, rgb(243,255,240) 16%, rgb(213,255,20 4) 86%); 24 background-image: linear-gradient(bottom, rgb(243,255,240) 16%, rgb(213,255,20 4) 86%);
25 background-image: -o-linear-gradient(bottom, rgb(243,255,240) 16%, rgb(213,255 ,204) 86%); 25 background-image: -o-linear-gradient(bottom, rgb(243,255,240) 16%, rgb(213,255 ,204) 86%);
26 background-image: -moz-linear-gradient(bottom, rgb(243,255,240) 16%, rgb(213,2 55,204) 86%); 26 background-image: -moz-linear-gradient(bottom, rgb(243,255,240) 16%, rgb(213,2 55,204) 86%);
27 background-image: -webkit-linear-gradient(bottom, rgb(243,255,240) 16%, rgb(21 3,255,204) 86%); 27 background-image: -webkit-linear-gradient(bottom, rgb(243,255,240) 16%, rgb(21 3,255,204) 86%);
28 background-image: -ms-linear-gradient(bottom, rgb(243,255,240) 16%, rgb(213,25 5,204) 86%); 28 background-image: -ms-linear-gradient(bottom, rgb(243,255,240) 16%, rgb(213,25 5,204) 86%);
29 29
30 background-image: -webkit-gradient( 30 background-image: -webkit-gradient(
31 linear, 31 linear,
32 left bottom, 32 left bottom,
33 left top, 33 left top,
34 color-stop(0.16, rgb(243,255,240)), 34 color-stop(0.16, rgb(243,255,240)),
35 color-stop(0.86, rgb(213,255,204)) 35 color-stop(0.86, rgb(213,255,204))
36 ); 36 );
37 } 37 }
38 38
39 .good .highlight pre:before { 39 .good .highlight pre:before {
40 content: "good"; 40 content: "good";
41 color: #696; 41 color: #696;
42 float: right; 42 float: right;
43 } 43 }
44 44
45 .bad .highlight pre:before { 45 .bad .highlight pre:before {
46 content: "bad"; 46 content: "bad";
47 color: red;
47 float: right; 48 float: right;
48 } 49 }
49 50
50 51
51 .highlight .c { color: #999988; font-style: italic } /* Comment */ 52 .highlight .c { color: #999988; font-style: italic } /* Comment */
52 .highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */ 53 .highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
53 .highlight .k { font-weight: bold } /* Keyword */ 54 .highlight .k { font-weight: bold } /* Keyword */
54 .highlight .o { font-weight: bold } /* Operator */ 55 .highlight .o { font-weight: bold } /* Operator */
55 .highlight .cm { color: #999988; font-style: italic } /* Comment.Multiline */ 56 .highlight .cm { color: #999988; font-style: italic } /* Comment.Multiline */
56 .highlight .cp { color: #999999; font-weight: bold } /* Comment.Preproc */ 57 .highlight .cp { color: #999999; font-weight: bold } /* Comment.Preproc */
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 .highlight .si { color: #d14 } /* Literal.String.Interpol */ 101 .highlight .si { color: #d14 } /* Literal.String.Interpol */
101 .highlight .sx { color: #d14 } /* Literal.String.Other */ 102 .highlight .sx { color: #d14 } /* Literal.String.Other */
102 .highlight .sr { color: #009926 } /* Literal.String.Regex */ 103 .highlight .sr { color: #009926 } /* Literal.String.Regex */
103 .highlight .s1 { color: #d14 } /* Literal.String.Single */ 104 .highlight .s1 { color: #d14 } /* Literal.String.Single */
104 .highlight .ss { color: #990073 } /* Literal.String.Symbol */ 105 .highlight .ss { color: #990073 } /* Literal.String.Symbol */
105 .highlight .bp { color: #999999 } /* Name.Builtin.Pseudo */ 106 .highlight .bp { color: #999999 } /* Name.Builtin.Pseudo */
106 .highlight .vc { color: #008080 } /* Name.Variable.Class */ 107 .highlight .vc { color: #008080 } /* Name.Variable.Class */
107 .highlight .vg { color: #008080 } /* Name.Variable.Global */ 108 .highlight .vg { color: #008080 } /* Name.Variable.Global */
108 .highlight .vi { color: #008080 } /* Name.Variable.Instance */ 109 .highlight .vi { color: #008080 } /* Name.Variable.Instance */
109 .highlight .il { color: #009999 } /* Literal.Number.Integer.Long */ 110 .highlight .il { color: #009999 } /* Literal.Number.Integer.Long */
OLDNEW
« no previous file with comments | « src/site/scss/_subnav.scss ('k') | src/site/scss/style.scss » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698