diff etc/w3/stylesheet @ 98:0d2f883870bc r20-1b1

Import from CVS: tag r20-1b1
author cvs
date Mon, 13 Aug 2007 09:13:56 +0200
parents 821dec489c24
children a145efe76779
line wrap: on
line diff
--- a/etc/w3/stylesheet	Mon Aug 13 09:12:43 2007 +0200
+++ b/etc/w3/stylesheet	Mon Aug 13 09:13:56 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,25 @@
 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,
+input:integer,
+input:float,
+input:url,
+input:text    { 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 +153,6 @@
 ** Hypertext link coloring
 */
 
-a         { cursor: hand2  }
 a:link    { color: #FF0000 }
 a:visited { color: #B22222 }
 a:active  { color: #FF0000 }