1 | @charset "utf-8"; |
---|
2 | /* ***** BEGIN LICENSE BLOCK ***** |
---|
3 | * IE5 default style sheet, provides a view of any XML document |
---|
4 | * and provides the following features: |
---|
5 | * - auto-indenting of the display, expanding of entity references |
---|
6 | * - click or tab/return to expand/collapse |
---|
7 | * - color coding of markup |
---|
8 | * - color coding of recognized namespaces - xml, xmlns, xsl, dt |
---|
9 | * |
---|
10 | * |
---|
11 | * Original version by Jonathan Marsh ([email protected]) |
---|
12 | * http://msdn.microsoft.com/xml/samples/defaultss/defaultss.xsl |
---|
13 | * |
---|
14 | * Conversion to XSLT 1.0 REC Syntax by Steve Muench (smuench@xxxxxxxxxx) |
---|
15 | * |
---|
16 | * 8 August 2005 Gary Masters |
---|
17 | * Split the css part into a separate file. |
---|
18 | * Remove the font style (x-small Veranda) from BODY. |
---|
19 | * ***** END LICENSE BLOCK ***** */ |
---|
20 | |
---|
21 | @namespace url(http://www.w3.org/1999/xhtml); /* set default namespace to HTML */ |
---|
22 | |
---|
23 | html { |
---|
24 | background-color: white; |
---|
25 | } |
---|
26 | BODY { |
---|
27 | margin-right:1.5em |
---|
28 | } |
---|
29 | /* container for expanding/collapsing content */ |
---|
30 | .c { |
---|
31 | cursor:hand |
---|
32 | } |
---|
33 | /* button - contains +/-/nbsp */ |
---|
34 | .b { |
---|
35 | color:red; |
---|
36 | font-family:'Courier New'; |
---|
37 | font-weight:bold; |
---|
38 | text-decoration:none |
---|
39 | } |
---|
40 | /* element container */ |
---|
41 | .e { |
---|
42 | margin-left:1em; |
---|
43 | text-indent:-1em; |
---|
44 | margin-right:1em |
---|
45 | } |
---|
46 | /* comment or cdata */ |
---|
47 | .k { |
---|
48 | margin-left:1em; |
---|
49 | text-indent:-1em; |
---|
50 | margin-right:1em |
---|
51 | } |
---|
52 | /* tag */ |
---|
53 | .t { |
---|
54 | color:#990000 |
---|
55 | } |
---|
56 | /* tag in xsl namespace */ |
---|
57 | .xt { |
---|
58 | color:#990099 |
---|
59 | } |
---|
60 | /* attribute in xml or xmlns namespace */ |
---|
61 | .ns { |
---|
62 | color:red |
---|
63 | } |
---|
64 | /* attribute in dt namespace */ |
---|
65 | .dt { |
---|
66 | color:green |
---|
67 | } |
---|
68 | /* markup characters */ |
---|
69 | .m { |
---|
70 | color:blue |
---|
71 | } |
---|
72 | /* text node */ |
---|
73 | .tx { |
---|
74 | font-weight:bold |
---|
75 | } |
---|
76 | /* multi-line (block) cdata */ |
---|
77 | .db { |
---|
78 | text-indent:0px; |
---|
79 | margin-left:1em; |
---|
80 | margin-top:0px; |
---|
81 | margin-bottom:0px;padding-left:.3em; |
---|
82 | border-left:1px solid #CCCCCC; |
---|
83 | font:small Courier |
---|
84 | } |
---|
85 | /* single-line (inline) cdata */ |
---|
86 | .di { |
---|
87 | font:small Courier |
---|
88 | } |
---|
89 | /* DOCTYPE declaration */ |
---|
90 | .d { |
---|
91 | color:blue |
---|
92 | } |
---|
93 | /* processing instruction */ |
---|
94 | .pi { |
---|
95 | color:blue |
---|
96 | } |
---|
97 | /* multi-line (block) comment */ |
---|
98 | .cb { |
---|
99 | text-indent:0px; |
---|
100 | margin-left:1em; |
---|
101 | margin-top:0px; |
---|
102 | margin-bottom:0px;padding-left:.3em; |
---|
103 | font:small Courier; |
---|
104 | color:#888888 |
---|
105 | } |
---|
106 | /* single-line (inline) comment */ |
---|
107 | .ci {font:small Courier; |
---|
108 | color:#888888 |
---|
109 | } |
---|
110 | PRE { |
---|
111 | margin:0px; |
---|
112 | display:inline |
---|
113 | } |
---|