|
1 @charset "utf-8"; |
|
2 /* This Source Code Form is subject to the terms of the Mozilla Public |
|
3 * License, v. 2.0. If a copy of the MPL was not distributed with this |
|
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
|
5 |
|
6 @namespace url(http://www.w3.org/1999/xhtml); /* set default namespace to HTML */ |
|
7 |
|
8 *|*:root { |
|
9 background-color: white; |
|
10 color: black; |
|
11 direction: ltr; |
|
12 -moz-control-character-visibility: visible; |
|
13 } |
|
14 #viewsource { |
|
15 font-family: -moz-fixed; |
|
16 font-weight: normal; |
|
17 white-space: pre; |
|
18 counter-reset: line; |
|
19 } |
|
20 #viewsource.wrap { |
|
21 white-space: pre-wrap; |
|
22 word-wrap: break-word; |
|
23 } |
|
24 pre { |
|
25 font: inherit; |
|
26 color: inherit; |
|
27 white-space: inherit; |
|
28 margin: 0 0 0 5ch; |
|
29 } |
|
30 pre[id]:before, |
|
31 span[id]:before { |
|
32 content: counter(line) " "; |
|
33 counter-increment: line; |
|
34 -moz-user-select: none; |
|
35 display: inline-block; |
|
36 width: 5ch; |
|
37 margin: 0 0 0 -5ch; |
|
38 text-align: right; |
|
39 color: #ccc; |
|
40 font-weight: normal; |
|
41 font-style: normal; |
|
42 } |
|
43 .start-tag { |
|
44 color: purple; |
|
45 font-weight: bold; |
|
46 } |
|
47 .end-tag { |
|
48 color: purple; |
|
49 font-weight: bold; |
|
50 } |
|
51 .comment { |
|
52 color: green; |
|
53 font-style: italic; |
|
54 } |
|
55 .cdata { |
|
56 color: #CC0066; |
|
57 } |
|
58 .doctype { |
|
59 color: steelblue; |
|
60 font-style: italic; |
|
61 } |
|
62 .pi { |
|
63 color: orchid; |
|
64 font-style: italic; |
|
65 } |
|
66 .entity { |
|
67 color:#FF4500; |
|
68 font-weight: normal; |
|
69 } |
|
70 .text { |
|
71 font-weight: normal; |
|
72 } |
|
73 .attribute-name { |
|
74 color: black; |
|
75 font-weight: bold; |
|
76 } |
|
77 .attribute-value { |
|
78 color: blue; |
|
79 font-weight: normal; |
|
80 } |
|
81 .markupdeclaration { |
|
82 color: steelblue; |
|
83 font-style: italic; |
|
84 } |
|
85 span:not(.error), a:not(.error) { |
|
86 unicode-bidi: embed; |
|
87 } |
|
88 span[id] { |
|
89 unicode-bidi: -moz-isolate; |
|
90 } |
|
91 .error, |
|
92 .error > :-moz-any(.start-tag, .end-tag, .comment, .cdata, .doctype, .pi, |
|
93 .entity, .attribute-name, .attribute-value) { |
|
94 color: red; |
|
95 font-weight: bold; |
|
96 } |