diff etc/w3/stylesheet @ 20:859a2309aef8 r19-15b93

Import from CVS: tag r19-15b93
author cvs
date Mon, 13 Aug 2007 08:50:05 +0200
parents 0293115a14e9
children 8fc7fe29b841
line wrap: on
line diff
--- a/etc/w3/stylesheet	Mon Aug 13 08:49:44 2007 +0200
+++ b/etc/w3/stylesheet	Mon Aug 13 08:50:05 2007 +0200
@@ -47,7 +47,6 @@
 ** Since Emacs-19 doesn't handle mixed-sized fonts very well just yet,
 ** we only use them under XEmacs.  Hopefully, this will change soon.
 */
-
 @media xemacs {
       h1  { font-size : +12pt }
       h2  { font-size : +6pt  }
@@ -72,7 +71,6 @@
 @media emacs {
 h1,h2,h3,
 h4,h5,h6  { 
-            font-style: small-caps;
             text-decoration: underline;
 	    color: blue;
           }
@@ -88,6 +86,21 @@
 blockquote{ display: block; margin-left: 5; margin-right: 5; }
 
 /*
+** How to draw form elements.
+** This is an extension in Emacs-W3 (and perhaps soon E-Scape)
+** Since there are so many different types of input fields, you should be
+** able to control formatting based on that.  Enter pseudo-classes.
+**
+** This functionality will be removed as soon as the W3C comes up with
+** the standard way to do this, perhaps in CSS level 2.
+*/
+input { text-decoration: underline; }
+input:submit { color: green;  text-decoration: none; }
+input:reset  { color: red;    text-decoration: none; }
+input:button { color: yellow; text-decoration: none; }
+input:image  { text-decoration: none; }
+
+/*
 ** List formatting instructions
 */
 
@@ -136,7 +149,6 @@
 ** Hypertext link coloring
 */
 
-a         { cursor: hand2  }
 a:link    { color: #FF0000 }
 a:visited { color: #B22222 }
 a:active  { color: #FF0000 }