|
0
|
1 |
|
|
|
2 |
/* Style for a "Recommendation" */ |
|
|
3 |
|
|
|
4 |
/* |
|
|
5 |
Copyright 1997-2003 W3C (MIT, ERCIM, Keio). All Rights Reserved. |
|
|
6 |
The following software licensing rules apply: |
|
|
7 |
http://www.w3.org/Consortium/Legal/copyright-software */ |
|
|
8 |
|
|
|
9 |
/* $Id: base.css,v 1.25 2006/04/18 08:42:53 bbos Exp $ */ |
|
|
10 |
|
|
|
11 |
body { |
|
|
12 |
padding: 2em 1em 2em 70px; |
|
|
13 |
margin: 0; |
|
|
14 |
font-family: sans-serif; |
|
|
15 |
color: black; |
|
|
16 |
background: white; |
|
|
17 |
background-position: top left; |
|
|
18 |
background-attachment: fixed; |
|
|
19 |
background-repeat: no-repeat; |
|
|
20 |
} |
|
|
21 |
:link { color: #00C; background: transparent } |
|
|
22 |
:visited { color: #609; background: transparent } |
|
|
23 |
a:active { color: #C00; background: transparent } |
|
|
24 |
|
|
|
25 |
a:link img, a:visited img { border-style: none } /* no border on img links */ |
|
|
26 |
|
|
|
27 |
a img { color: white; } /* trick to hide the border in Netscape 4 */ |
|
|
28 |
@media all { /* hide the next rule from Netscape 4 */ |
|
|
29 |
a img { color: inherit; } /* undo the color change above */ |
|
|
30 |
} |
|
|
31 |
|
|
|
32 |
th, td { /* ns 4 */ |
|
|
33 |
font-family: sans-serif; |
|
|
34 |
} |
|
|
35 |
|
|
|
36 |
h1, h2, h3, h4, h5, h6 { text-align: left } |
|
|
37 |
/* background should be transparent, but WebTV has a bug */ |
|
|
38 |
h1, h2, h3 { color: #005A9C; background: white } |
|
|
39 |
h1 { font: 170% sans-serif } |
|
|
40 |
h2 { font: 140% sans-serif } |
|
|
41 |
h3 { font: 120% sans-serif } |
|
|
42 |
h4 { font: bold 100% sans-serif } |
|
|
43 |
h5 { font: italic 100% sans-serif } |
|
|
44 |
h6 { font: small-caps 100% sans-serif } |
|
|
45 |
|
|
|
46 |
.hide { display: none } |
|
|
47 |
|
|
|
48 |
div.head { margin-bottom: 1em } |
|
|
49 |
div.head h1 { margin-top: 2em; clear: both } |
|
|
50 |
div.head table { margin-left: 2em; margin-top: 2em } |
|
|
51 |
|
|
|
52 |
p.copyright { font-size: small } |
|
|
53 |
p.copyright small { font-size: small } |
|
|
54 |
|
|
|
55 |
a:hover { background: #ffa } |
|
|
56 |
|
|
|
57 |
pre { margin-left: 2em } |
|
|
58 |
/* |
|
|
59 |
p { |
|
|
60 |
margin-top: 0.6em; |
|
|
61 |
margin-bottom: 0.6em; |
|
|
62 |
} |
|
|
63 |
*/ |
|
|
64 |
dt, dd { margin-top: 0; margin-bottom: 0 } /* opera 3.50 */ |
|
|
65 |
dt { font-weight: bold } |
|
|
66 |
|
|
|
67 |
pre, code { font-family: monospace } /* navigator 4 requires this */ |
|
|
68 |
|
|
|
69 |
ul.toc, ol.toc { |
|
|
70 |
list-style: disc; /* Mac NS has problem with 'none' */ |
|
|
71 |
list-style: none; |
|
|
72 |
} |
|
|
73 |
|
|
|
74 |
@media aural { |
|
|
75 |
h1, h2, h3 { stress: 20; richness: 90 } |
|
|
76 |
.hide { speak: none } |
|
|
77 |
p.copyright { volume: x-soft; speech-rate: x-fast } |
|
|
78 |
dt { pause-before: 20% } |
|
|
79 |
pre { speak-punctuation: code } |
|
|
80 |
} |
|
|
81 |
|
|
|
82 |
|
|
|
83 |
|
|
|
84 |
body { |
|
|
85 |
background-image: url(http://www.w3.org/StyleSheets/TR/logo-REC); |
|
|
86 |
} |
|
|
87 |
|
|
|
88 |
/* |
|
|
89 |
* Style sheet for the HTML 4.0 specification |
|
|
90 |
* $Id: default.css,v 1.13 1999/03/08 17:25:02 ijacobs Exp $ |
|
|
91 |
*/ |
|
|
92 |
|
|
|
93 |
div.example { |
|
|
94 |
width: 100%; |
|
|
95 |
color: black; |
|
|
96 |
} |
|
|
97 |
div.dtd-example { |
|
|
98 |
width: 100%; |
|
|
99 |
color: black; |
|
|
100 |
} |
|
|
101 |
tt.example { |
|
|
102 |
color: maroon; |
|
|
103 |
margin-left: 1em; |
|
|
104 |
} |
|
|
105 |
pre { |
|
|
106 |
color: maroon; |
|
|
107 |
margin-left: 1em; |
|
|
108 |
} |
|
|
109 |
div.dtd-fragment { |
|
|
110 |
width: 100%; |
|
|
111 |
border: none; |
|
|
112 |
background-color: #eee; |
|
|
113 |
} |
|
|
114 |
pre.dtd-fragment { |
|
|
115 |
margin-left: 0; |
|
|
116 |
} |
|
|
117 |
pre.dtd { |
|
|
118 |
color: black; |
|
|
119 |
margin-left: 0; |
|
|
120 |
} |
|
|
121 |
div.illegal-example { |
|
|
122 |
width: 100%; |
|
|
123 |
color: red; |
|
|
124 |
border: solid red; |
|
|
125 |
} |
|
|
126 |
div.illegal-example p { |
|
|
127 |
color: black; |
|
|
128 |
} |
|
|
129 |
div.deprecated-example { |
|
|
130 |
width: 100%; |
|
|
131 |
color: red; |
|
|
132 |
border: solid rgb(255,165,0); /* orange */ |
|
|
133 |
} |
|
|
134 |
div.deprecated-example p { |
|
|
135 |
color: black; |
|
|
136 |
} |
|
|
137 |
div.note { |
|
|
138 |
color: green; |
|
|
139 |
margin-left: 1em; |
|
|
140 |
} |
|
|
141 |
p.note { |
|
|
142 |
color: green; |
|
|
143 |
margin-left: 1em; |
|
|
144 |
} |
|
|
145 |
ul.toc { |
|
|
146 |
list-style-type: none; |
|
|
147 |
} |
|
|
148 |
|
|
|
149 |
a.normref { |
|
|
150 |
color : red; |
|
|
151 |
} |
|
|
152 |
|
|
|
153 |
a.informref { |
|
|
154 |
color : green; |
|
|
155 |
} |
|
|
156 |
|
|
|
157 |
DIV.subtoc {padding: 1em; border: solid thin; margin: 1em 0; |
|
|
158 |
background: #ddd} |