/[suikacvs]/test/suikawebwww/style/html/wf2.css
Suika

Contents of /test/suikawebwww/style/html/wf2.css

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download) (as text)
Thu Oct 30 13:51:21 2008 UTC (17 years, 7 months ago) by wakaba
Branch: MAIN
Changes since 1.2: +25 -2 lines
File MIME type: text/css
++ style/html/ChangeLog	30 Oct 2008 13:50:30 -0000
2008-10-30  Wakaba  <wakaba@suika.fam.cx>

	* xhtml1.css: Use padding rather than margin to indent |dd|
	elements such that setting background-color to |dt| and |dd|
	element pairs looks better.

2008-10-29  Wakaba  <wakaba@suika.fam.cx>

	* wf2.css: The width of single-line text fields that are not the
	first child of their parent element should not be 100% or like.

1 wakaba 1.1 /* A Style Sheet for Web Forms 2.0 */
2    
3     @namespace 'http://www.w3.org/1999/xhtml';
4    
5     form {
6     margin-top: 1em;
7     margin-bottom: 1em;
8     border: #d2a6ff 1px dashed;
9     padding: 0.5em;
10     }
11    
12     input[type="text"], input[type="password"],
13 wakaba 1.2 input[type="url"], input[type="email"] {
14 wakaba 1.1 width: 96%;
15     }
16    
17 wakaba 1.3 input[size][type=text], input[size][type=password],
18     input[size][type=url], input[size][type=email] {
19     width: auto;
20     }
21    
22     input[type=text]:not(:first-child),
23     input[type=password]:not(:first-child),
24     input[type=url]:not(:first-child),
25     input[type=email]:not(:first-child) {
26     width: auto;
27     min-width: 20em;
28     }
29    
30     input[title]:after {
31     content: attr(title);
32     color: green;
33     background-color: transparent;
34     }
35    
36     input[title]:lang(en):after {
37     font-style: italic;
38     }
39    
40 wakaba 1.1 textarea {
41     width: 96%;
42     }
43    
44     /* License
45    
46 wakaba 1.3 Copyright 2005-2008 Wakaba <w@suika.fam.cx>.
47 wakaba 1.1
48     This program is free software; you can redistribute it and/or modify
49     it under the terms of the GNU General Public License as published by
50     the Free Software Foundation; either version 2 of the License, or
51     (at your option) any later version.
52    
53     This program is distributed in the hope that it will be useful,
54     but WITHOUT ANY WARRANTY; without even the implied warranty of
55     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
56     GNU General Public License for more details.
57    
58     You should have received a copy of the GNU General Public License
59     along with this program; see the file COPYING. If not, write to
60     the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
61     Boston, MA 02111-1307, USA.
62    
63     */
64    
65 wakaba 1.3 /* $Date: 2005/07/04 12:29:04 $ */

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24