Mercurial > hg > xemacs-beta
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 97:498bf5da1c90 | 98:0d2f883870bc |
|---|---|
| 45 | 45 |
| 46 /* | 46 /* |
| 47 ** Since Emacs-19 doesn't handle mixed-sized fonts very well just yet, | 47 ** Since Emacs-19 doesn't handle mixed-sized fonts very well just yet, |
| 48 ** we only use them under XEmacs. Hopefully, this will change soon. | 48 ** we only use them under XEmacs. Hopefully, this will change soon. |
| 49 */ | 49 */ |
| 50 | |
| 51 @media xemacs { | 50 @media xemacs { |
| 52 h1 { font-size : +12pt } | 51 h1 { font-size : +12pt } |
| 53 h2 { font-size : +6pt } | 52 h2 { font-size : +6pt } |
| 54 h3 { font-size : +4pt } | 53 h3 { font-size : +4pt } |
| 55 h5 { font-size : -2pt } | 54 h5 { font-size : -2pt } |
| 70 */ | 69 */ |
| 71 | 70 |
| 72 @media emacs { | 71 @media emacs { |
| 73 h1,h2,h3, | 72 h1,h2,h3, |
| 74 h4,h5,h6 { | 73 h4,h5,h6 { |
| 75 font-style: small-caps; | |
| 76 text-decoration: underline; | 74 text-decoration: underline; |
| 77 color: blue; | 75 color: blue; |
| 78 } | 76 } |
| 79 | 77 |
| 80 strong,em { color: red } | 78 strong,em { color: red } |
| 84 } // @media emacs | 82 } // @media emacs |
| 85 | 83 |
| 86 p { display: block } | 84 p { display: block } |
| 87 pre,xmp { display: block; white-space: pre; } | 85 pre,xmp { display: block; white-space: pre; } |
| 88 blockquote{ display: block; margin-left: 5; margin-right: 5; } | 86 blockquote{ display: block; margin-left: 5; margin-right: 5; } |
| 87 | |
| 88 /* | |
| 89 ** How to draw form elements. | |
| 90 ** This is an extension in Emacs-W3 (and perhaps soon E-Scape) | |
| 91 ** Since there are so many different types of input fields, you should be | |
| 92 ** able to control formatting based on that. Enter pseudo-classes. | |
| 93 ** | |
| 94 ** This functionality will be removed as soon as the W3C comes up with | |
| 95 ** the standard way to do this, perhaps in CSS level 2. | |
| 96 */ | |
| 97 input:text, | |
| 98 input:integer, | |
| 99 input:float, | |
| 100 input:url, | |
| 101 input:text { text-decoration: underline; } | |
| 102 input:submit { color: green; text-decoration: none; } | |
| 103 input:reset { color: red; text-decoration: none; } | |
| 104 input:button { color: yellow; text-decoration: none; } | |
| 105 input:image { text-decoration: none; } | |
| 89 | 106 |
| 90 /* | 107 /* |
| 91 ** List formatting instructions | 108 ** List formatting instructions |
| 92 */ | 109 */ |
| 93 | 110 |
| 134 | 151 |
| 135 /* | 152 /* |
| 136 ** Hypertext link coloring | 153 ** Hypertext link coloring |
| 137 */ | 154 */ |
| 138 | 155 |
| 139 a { cursor: hand2 } | |
| 140 a:link { color: #FF0000 } | 156 a:link { color: #FF0000 } |
| 141 a:visited { color: #B22222 } | 157 a:visited { color: #B22222 } |
| 142 a:active { color: #FF0000 } | 158 a:active { color: #FF0000 } |
| 143 | 159 |
| 144 /* | 160 /* |
