annotate etc/w3/stylesheet @ 165:5a88923fcbfe r20-3b9

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