annotate etc/w3/stylesheet @ 136:b980b6286996 r20-2b2

Import from CVS: tag r20-2b2
author cvs
date Mon, 13 Aug 2007 09:31:12 +0200
parents 34a5b81f86ba
children 6608ceec7cf8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
1 /******************************************************************************
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
2 ** File: default.css
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3 ** Purpose: Default Stylesheet for Emacs-W3
134
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents: 118
diff changeset
4 ** Info: Copyright (c) 1995-1996 William M. Perry <wmperry@aventail.com>
88
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 82
diff changeset
5 ** Copyright (c) 1997 Free Software Foundation, Inc.
134
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents: 118
diff changeset
6 ** Created: William M. Perry <wmperry@aventail.com>, Aug-31-1995
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents: 118
diff changeset
7 ** Maintainer: William M. Perry <wmperry@aventail.com>
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
8 **
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
9 ** This contains the top level fallback default styles for Emacs-w3
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
10 **
136
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
11 *******************************************************************************
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
12 **
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
13 ** To specify device-dependent styles, you must mark a section with
88
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 82
diff changeset
14 ** @media devicetype { ... }
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 82
diff changeset
15 ** If you are not using 'devicetype', then anything within the { ... }
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 82
diff changeset
16 ** is ignored.
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 82
diff changeset
17 **
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 82
diff changeset
18 ** These sections are currently defined by
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 82
diff changeset
19 ** http://www.w3.org/pub/WWW/Style/Group/WD-PRINT-961220
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 82
diff changeset
20 **
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 82
diff changeset
21 ** print - output for paged opaque material, and for documents viewed
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 82
diff changeset
22 ** on screen in print preview mode
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 82
diff changeset
23 ** screen - a continuous presentation of computer screens
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 82
diff changeset
24 ** projector - paged presentation for projected presentations
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 82
diff changeset
25 ** braille - for braille tactile feedback devices
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 82
diff changeset
26 ** speech - aural presentation
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 82
diff changeset
27 ** all - the default value, applies to all output devices
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
28 **
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
29 ** There are a few special Emacs-W3 sections
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
30 **
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
31 ** emacs - only include this chunk if you are using Emacs 19
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
32 ** xemacs - only include this chunk if you are using XEmacs
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 116
diff changeset
33 ** light - only include this chunk if you are using a light background
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 116
diff changeset
34 ** dark - only include this chunk if you are using a dark background
136
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
35 ** tty - only include this chunk if you are using a TTY
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
36 ** ansi-tty - " include this chunk if you are using an ANSI-capable TTY
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
37 *******************************************************************************
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
38 **
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
39 ** There are some things this stylesheet cannot really specify, that we
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
40 ** must rely on the browser to explicitly handle correctly:
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
41 **
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
42 ** o table formatting
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
43 ** o actually creating a hyperlink from an <a> tag and its attributes
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
44 ** o specifying which tags open lists
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
45 ** o inlined images
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
46 ** o frames (perhaps with positioning)
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
47 ** o applet/script/embed/object
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
48 ** o horizontal rules
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
49 ******************************************************************************/
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
50
136
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
51 /* Headers */
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
52
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
53 h1,h2,h3,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
54 h4,h5,h6 {
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
55 display: block;
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
56 font-family : serif;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
57 font-weight : bold;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
58 }
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
59
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
60 h1 { font-size : +12pt }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
61 h2 { font-size : +6pt }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
62 h3 { font-size : +4pt }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
63 h5 { font-size : -2pt }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
64 h6 { font-size : -4pt }
136
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
65
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
66 /* Used to cause problems under Emacs 19, lets try once more, with feeling! */
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
67 pre,xmp,
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
68 plaintext { font-family: monospace }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
69 key,code,tt { font-family: monospace }
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
70
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
71 /*
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
72 ** Best we can do under Emacs-19 is use the default font and try to make
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
73 ** the headers stand out somehow.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
74 */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
75
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
76 @media emacs {
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
77 h1,h2,h3,
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 116
diff changeset
78 h4,h5,h6 { text-decoration: underline; }
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 116
diff changeset
79 h1 { color: rgb(0,255,255); } // cyan
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 116
diff changeset
80 h2 { color: rgb(70,130,180); } // steelblue
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 116
diff changeset
81 h3 { color: rgb(106,90,205); } // slateblue
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 116
diff changeset
82 h4 { color: rgb(135,206,235); } // skyblue
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 116
diff changeset
83 h5 { color: rgb(0,0,128); } // navy
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 116
diff changeset
84 h6 { color: rgb(173,216,230); } // lightblue
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
85
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
86 strong,em { color: red }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
87 dfn { font-style: italic }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
88 s,strike { color: green }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
89
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
90 } // @media emacs
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
91
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 44
diff changeset
92 p { display: block }
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
93 pre,xmp { display: block; white-space: pre; }
116
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents: 102
diff changeset
94 blockquote{ display: block; margin-left: 5em; margin-right: 5em; }
20
859a2309aef8 Import from CVS: tag r19-15b93
cvs
parents: 16
diff changeset
95
859a2309aef8 Import from CVS: tag r19-15b93
cvs
parents: 16
diff changeset
96 /*
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 88
diff changeset
97 ** How to draw form elements.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 88
diff changeset
98 ** This is an extension in Emacs-W3 (and perhaps soon E-Scape)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 88
diff changeset
99 ** Since there are so many different types of input fields, you should be
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 88
diff changeset
100 ** able to control formatting based on that. Enter pseudo-classes.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 88
diff changeset
101 **
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 88
diff changeset
102 ** This functionality will be removed as soon as the W3C comes up with
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 88
diff changeset
103 ** the standard way to do this, perhaps in CSS level 2.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 88
diff changeset
104 */
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 88
diff changeset
105 input:text,
136
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
106 input:int,
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 88
diff changeset
107 input:float,
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 88
diff changeset
108 input:url,
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 88
diff changeset
109 input:text { text-decoration: underline; }
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 88
diff changeset
110 input:submit { color: green; text-decoration: none; }
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 88
diff changeset
111 input:reset { color: red; text-decoration: none; }
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 88
diff changeset
112 input:button { color: yellow; text-decoration: none; }
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 88
diff changeset
113 input:image { text-decoration: none; }
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 88
diff changeset
114
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 88
diff changeset
115 /*
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
116 ** List formatting instructions
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
117 */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
118
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
119 ul { display: block; }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
120 ol { display: block; }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
121 dl { display: block; }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
122 dir { display: block; }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
123 menu { display: block; }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
124 dt { font-weight: bold; display: list-item }
116
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents: 102
diff changeset
125 dd { display: list-item; margin-left: 5em; }
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents: 102
diff changeset
126 li { display: list-item; margin-left: 5em; }
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
127 ul li { list-style: circle; }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
128 ol li { list-style: decimal; }
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
129
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
130 /* These are to make nested list items look better */
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
131 ul ul,ol ul,ol ol,ul ol { display: line; }
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
132
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
133 /*
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
134 ** All logical emphasis tags, the way god intended
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
135 */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
136
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
137 div { display: line; }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
138 strong,em { font-weight: bold }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
139 dfn { font-style: italic }
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
140 s,strike { text-decoration: line-through }
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
141 sub { text-position: sub }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
142 sup { text-position: sup }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
143 secret { text-transform: rot13 }
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
144
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
145 /*
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
146 ** Physical emphasis - spawn of evil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
147 */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
148 b { font-weight: bold }
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
149 i { font-style: italic }
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
150 u { text-decoration: underline }
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
151 blink { text-decoration: blink }
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
152 center { display: line; text-align: center; }
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
153 /*
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
154 ** Various and sundry
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
155 */
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
156 br { display: line }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
157 hr { display: line; text-align: center; }
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
158
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
159
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
160 /*
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
161 ** Hypertext link coloring
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
162 */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
163
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
164 a:link { color: #FF0000 }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
165 a:visited { color: #B22222 }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
166 a:active { color: #FF0000 }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
167
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
168 /*
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
169 ** Table formatting
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
170 */
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
171 table { display: block; }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
172 th { display: block; font-weight: bold; text-align: center; }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
173 td { display: block; text-align: left; }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
174 caption { display: block; text-align: center; }
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
175
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
176 /*
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
177 ** Various other character-level formatting issues
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
178 */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
179
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
180 address { text-align: right; display: line; }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
181 abstract { font-style: bold & italic ; text-align : indent }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
182 quote { font-style: italic ; text-align : indent }
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
183
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
184 /*
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
185 ** Now for monochrome defaults
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
186 */
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
187 @media mono {
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
188 a:link { color: black; text-decoration: underline }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
189 a:visited { color: black; text-decoration: underline }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
190 a:active { color: white }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
191 } // @media mono
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
192 /*
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
193 ** All the TTY specific formatting
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
194 */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
195
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
196 @media tty {
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
197 /*
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
198 ** First, handle some stuff for generic TTYs to emulate our old
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
199 ** behaviour with w3-delimit-links and a subset of w3-delimit-emphasis
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
200 */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
201
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
202 h1,h2,h3,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
203 h4,h5,h6 {
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
204 insert-before: *;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
205 insert-after: *
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
206 }
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
207
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
208 a:visited{
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
209 insert-before: "{{";
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
210 insert-after: "}}"
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
211 }
26
441bb1e64a06 Import from CVS: tag r19-15b96
cvs
parents: 22
diff changeset
212
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
213 a:link {
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
214 insert-before: "[[";
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
215 insert-after: "]]"
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 44
diff changeset
216 }
102
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 98
diff changeset
217
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 98
diff changeset
218 input:text,
136
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
219 input:int,
102
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 98
diff changeset
220 input:float,
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 98
diff changeset
221 input:url,
136
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
222 input:file,
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
223 input:password,
102
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 98
diff changeset
224 input:text { insert-before: "[{"; insert-after: "}]"; }
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 98
diff changeset
225 select { insert-before: "[{"; insert-after: "}]"; }
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 98
diff changeset
226
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
227 } // @media tty
26
441bb1e64a06 Import from CVS: tag r19-15b96
cvs
parents: 22
diff changeset
228
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
229
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
230 @media ansi-tty {
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
231 /*
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
232 ** Now comes the cool TTY stuff. You will need to be using XEmacs 19.14
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
233 ** or later (or Emacs 19.30 under DOS) in order to get any benefit from
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
234 ** these whatsoever. But if you are using one of these, wow, cool, eh?
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
235 **
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
236 ** ANSI specifies these colors, and most (all?) TTYs that support color
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
237 ** will generally have 2 versions. One normal and one bright or 'standout'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
238 ** version.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
239 **
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
240 ** Color R G B
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
241 ** --------------------------
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
242 ** white - 1.0 , 1.0 , 1.0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
243 ** cyan - 0.0 , 1.0 , 1.0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
244 ** magenta - 1.0 , 0.0 , 1.0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
245 ** blue - 0.0 , 0.0 , 1.0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
246 ** yellow - 1.0 , 1.0 , 0.0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
247 ** green - 0.0 , 1.0 , 0.0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
248 ** red - 1.0 , 0.0 , 0.0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
249 ** black - 0.0 , 0.0 , 0.0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
250 */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
251
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
252 h1,h2,h3,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
253 h4,h5,h6 { color : cyan }
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
254 a:visited { color : magenta }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
255 a:link { color : red }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
256 a:active { color : yellow }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
257 } // @media ansi-tty
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
258
136
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
259 /*
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
260 ** Secial styles for the Emacspeak subsystem of emacs - an incredibly cool
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
261 ** speech synthesizer. This was contributed by T.V. Raman (raman@adobe.com)
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
262 */
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
263 @media speech {
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
264 h1,h2,h3,
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
265 h4,h5,h6 { voice-family: paul; stress: 2; richness: 9; }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
266 h1 { pitch: 1; pitch-range: 9; }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
267 h2 { pitch: 2; pitch-range: 8; }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
268 h3 { pitch: 3; pitch-range: 7; }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
269 h4 { pitch: 4; pitch-range: 6; }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
270 h5 { pitch: 5; pitch-range: 5; }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
271 h6 { pitch: 6; pitch-range: 4; }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
272
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
273 li,dt,dd { pitch: 6; richness: 6; }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
274 dt { stress: 8; }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
275
134
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents: 118
diff changeset
276 pre,xmp,plaintext,key,code,tt { pitch: 5;
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents: 118
diff changeset
277 pitch-range: 0;
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents: 118
diff changeset
278 stress: 0;
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
279 richness: 8;
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
280 }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
281 em { pitch: 6; pitch-range: 6; stress: 6; richness: 5; }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
282 strong { pitch: 6; pitch-range: 6; stress: 9; richness: 9; }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
283 dfn { pitch: 7; pitch-range: 6; stress: 6; }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
284 s,strike { richness: 0; }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
285 i { pitch: 6; pitch-range: 6; stress: 6; richness: 5 }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
286 b { pitch: 6; pitch-range: 6; stress: 9; richness: 9; }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
287 u { richness: 0; }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
288 a:link { voice-family: harry; }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
289 a:visited { voice-family: betty;}
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
290 a:active { voice-family: betty; pitch-range: 8; pitch: 8 }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
291
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
292 } // @media speech