annotate etc/w3/stylesheet @ 138:6608ceec7cf8 r20-2b3

Import from CVS: tag r20-2b3
author cvs
date Mon, 13 Aug 2007 09:31:46 +0200
parents b980b6286996
children 318232e2a3f0
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
138
6608ceec7cf8 Import from CVS: tag r20-2b3
cvs
parents: 136
diff changeset
66 /* This causes problems with Emacs 19 */
6608ceec7cf8 Import from CVS: tag r20-2b3
cvs
parents: 136
diff changeset
67 @media xemacs {
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
68 pre,xmp,
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
69 plaintext { font-family: monospace }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
70 key,code,tt { font-family: monospace }
138
6608ceec7cf8 Import from CVS: tag r20-2b3
cvs
parents: 136
diff changeset
71 }
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
72
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
73 /*
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
74 ** 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
75 ** the headers stand out somehow.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
76 */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
77
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
78 @media emacs {
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
79 h1,h2,h3,
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 116
diff changeset
80 h4,h5,h6 { text-decoration: underline; }
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 116
diff changeset
81 h1 { color: rgb(0,255,255); } // cyan
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 116
diff changeset
82 h2 { color: rgb(70,130,180); } // steelblue
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 116
diff changeset
83 h3 { color: rgb(106,90,205); } // slateblue
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 116
diff changeset
84 h4 { color: rgb(135,206,235); } // skyblue
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 116
diff changeset
85 h5 { color: rgb(0,0,128); } // navy
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 116
diff changeset
86 h6 { color: rgb(173,216,230); } // lightblue
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
87
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
88 strong,em { color: red }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
89 dfn { font-style: italic }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
90 s,strike { color: green }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
91
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
92 } // @media emacs
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
93
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 44
diff changeset
94 p { display: block }
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
95 pre,xmp { display: block; white-space: pre; }
116
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents: 102
diff changeset
96 blockquote{ display: block; margin-left: 5em; margin-right: 5em; }
20
859a2309aef8 Import from CVS: tag r19-15b93
cvs
parents: 16
diff changeset
97
859a2309aef8 Import from CVS: tag r19-15b93
cvs
parents: 16
diff changeset
98 /*
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 88
diff changeset
99 ** How to draw form elements.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 88
diff changeset
100 ** This is an extension in Emacs-W3 (and perhaps soon E-Scape)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 88
diff changeset
101 ** 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
102 ** able to control formatting based on that. Enter pseudo-classes.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 88
diff changeset
103 **
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 88
diff changeset
104 ** 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
105 ** the standard way to do this, perhaps in CSS level 2.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 88
diff changeset
106 */
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 88
diff changeset
107 input:text,
136
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
108 input:int,
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 88
diff changeset
109 input:float,
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 88
diff changeset
110 input:url,
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 88
diff changeset
111 input:text { text-decoration: underline; }
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 88
diff changeset
112 input:submit { color: green; text-decoration: none; }
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 88
diff changeset
113 input:reset { color: red; text-decoration: none; }
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 88
diff changeset
114 input:button { color: yellow; text-decoration: none; }
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 88
diff changeset
115 input:image { text-decoration: none; }
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 88
diff changeset
116
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 88
diff changeset
117 /*
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
118 ** List formatting instructions
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
119 */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
120
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
121 ul { display: block; }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
122 ol { display: block; }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
123 dl { display: block; }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
124 dir { display: block; }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
125 menu { display: block; }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
126 dt { font-weight: bold; display: list-item }
116
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents: 102
diff changeset
127 dd { display: list-item; margin-left: 5em; }
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents: 102
diff changeset
128 li { display: list-item; margin-left: 5em; }
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
129 ul li { list-style: circle; }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
130 ol li { list-style: decimal; }
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
131
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
132 /* These are to make nested list items look better */
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
133 ul ul,ol ul,ol ol,ul ol { display: line; }
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
134
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
135 /*
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
136 ** All logical emphasis tags, the way god intended
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
137 */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
138
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
139 div { display: line; }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
140 strong,em { font-weight: bold }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
141 dfn { font-style: italic }
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
142 s,strike { text-decoration: line-through }
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
143 sub { text-position: sub }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
144 sup { text-position: sup }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
145 secret { text-transform: rot13 }
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
146
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
147 /*
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
148 ** Physical emphasis - spawn of evil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
149 */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
150 b { font-weight: bold }
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
151 i { font-style: italic }
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
152 u { text-decoration: underline }
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
153 blink { text-decoration: blink }
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
154 center { display: line; text-align: center; }
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
155 /*
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
156 ** Various and sundry
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
157 */
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
158 br { display: line }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
159 hr { display: line; text-align: center; }
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
160
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
161
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
162 /*
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
163 ** Hypertext link coloring
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
164 */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
165
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
166 a:link { color: #FF0000 }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
167 a:visited { color: #B22222 }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
168 a:active { color: #FF0000 }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
169
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 formatting
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
172 */
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
173 table { display: block; }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
174 th { display: block; font-weight: bold; text-align: center; }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
175 td { display: block; text-align: left; }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
176 caption { display: block; text-align: center; }
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
177
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
178 /*
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
179 ** Various other character-level formatting issues
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
180 */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
181
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
182 address { text-align: right; display: line; }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
183 abstract { font-style: bold & italic ; text-align : indent }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
184 quote { font-style: italic ; text-align : indent }
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
185
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
186 /*
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
187 ** Now for monochrome defaults
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
188 */
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
189 @media mono {
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
190 a:link { color: black; text-decoration: underline }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
191 a:visited { color: black; text-decoration: underline }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
192 a:active { color: white }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
193 } // @media mono
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
194 /*
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
195 ** All the TTY specific formatting
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
196 */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
197
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
198 @media tty {
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
199 /*
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
200 ** First, handle some stuff for generic TTYs to emulate our old
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
201 ** behaviour with w3-delimit-links and a subset of w3-delimit-emphasis
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
202 */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
203
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
204 h1,h2,h3,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
205 h4,h5,h6 {
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
206 insert-before: *;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
207 insert-after: *
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
208 }
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
209
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
210 a:visited{
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
211 insert-before: "{{";
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
212 insert-after: "}}"
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
213 }
26
441bb1e64a06 Import from CVS: tag r19-15b96
cvs
parents: 22
diff changeset
214
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
215 a:link {
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
216 insert-before: "[[";
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
217 insert-after: "]]"
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 44
diff changeset
218 }
102
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 98
diff changeset
219
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 98
diff changeset
220 input:text,
136
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
221 input:int,
102
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 98
diff changeset
222 input:float,
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 98
diff changeset
223 input:url,
136
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
224 input:file,
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
225 input:password,
102
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 98
diff changeset
226 input:text { insert-before: "[{"; insert-after: "}]"; }
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 98
diff changeset
227 select { insert-before: "[{"; insert-after: "}]"; }
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 98
diff changeset
228
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
229 } // @media tty
26
441bb1e64a06 Import from CVS: tag r19-15b96
cvs
parents: 22
diff changeset
230
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
231
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
232 @media ansi-tty {
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
233 /*
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
234 ** 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
235 ** 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
236 ** these whatsoever. But if you are using one of these, wow, cool, eh?
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
237 **
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
238 ** ANSI specifies these colors, and most (all?) TTYs that support color
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
239 ** will generally have 2 versions. One normal and one bright or 'standout'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
240 ** version.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
241 **
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
242 ** Color R G B
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
243 ** --------------------------
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
244 ** white - 1.0 , 1.0 , 1.0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
245 ** cyan - 0.0 , 1.0 , 1.0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
246 ** magenta - 1.0 , 0.0 , 1.0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
247 ** blue - 0.0 , 0.0 , 1.0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
248 ** yellow - 1.0 , 1.0 , 0.0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
249 ** green - 0.0 , 1.0 , 0.0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
250 ** red - 1.0 , 0.0 , 0.0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
251 ** black - 0.0 , 0.0 , 0.0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
252 */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
253
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
254 h1,h2,h3,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
255 h4,h5,h6 { color : cyan }
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
256 a:visited { color : magenta }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
257 a:link { color : red }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
258 a:active { color : yellow }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
259 } // @media ansi-tty
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
260
136
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
261 /*
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
262 ** Secial styles for the Emacspeak subsystem of emacs - an incredibly cool
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
263 ** speech synthesizer. This was contributed by T.V. Raman (raman@adobe.com)
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
264 */
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
265 @media speech {
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
266 h1,h2,h3,
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
267 h4,h5,h6 { voice-family: paul; stress: 2; richness: 9; }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
268 h1 { pitch: 1; pitch-range: 9; }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
269 h2 { pitch: 2; pitch-range: 8; }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
270 h3 { pitch: 3; pitch-range: 7; }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
271 h4 { pitch: 4; pitch-range: 6; }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
272 h5 { pitch: 5; pitch-range: 5; }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
273 h6 { pitch: 6; pitch-range: 4; }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
274
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
275 li,dt,dd { pitch: 6; richness: 6; }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
276 dt { stress: 8; }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
277
134
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents: 118
diff changeset
278 pre,xmp,plaintext,key,code,tt { pitch: 5;
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents: 118
diff changeset
279 pitch-range: 0;
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents: 118
diff changeset
280 stress: 0;
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
281 richness: 8;
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
282 }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
283 em { pitch: 6; pitch-range: 6; stress: 6; richness: 5; }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
284 strong { pitch: 6; pitch-range: 6; stress: 9; richness: 9; }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
285 dfn { pitch: 7; pitch-range: 6; stress: 6; }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
286 s,strike { richness: 0; }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
287 i { pitch: 6; pitch-range: 6; stress: 6; richness: 5 }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
288 b { pitch: 6; pitch-range: 6; stress: 9; richness: 9; }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
289 u { richness: 0; }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
290 a:link { voice-family: harry; }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
291 a:visited { voice-family: betty;}
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
292 a:active { voice-family: betty; pitch-range: 8; pitch: 8 }
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
293
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 70
diff changeset
294 } // @media speech