~bac/juju-gui/trunkcopy

« back to all changes in this revision

Viewing changes to lib/yui/build/cssreset/reset.css

  • Committer: kapil.foss at gmail
  • Date: 2012-07-13 18:45:59 UTC
  • Revision ID: kapil.foss@gmail.com-20120713184559-2xl7be17egsrz0c9
reshape

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
YUI 3.5.1 (build 22)
3
 
Copyright 2012 Yahoo! Inc. All rights reserved.
4
 
Licensed under the BSD License.
5
 
http://yuilibrary.com/license/
6
 
*/
7
 
/*
8
 
        TODO will need to remove settings on HTML since we can't namespace it.
9
 
        TODO with the prefix, should I group by selector or property for weight savings?
10
 
*/
11
 
html{
12
 
        color:#000;
13
 
        background:#FFF;
14
 
}
15
 
/*
16
 
        TODO remove settings on BODY since we can't namespace it.
17
 
*/
18
 
/*
19
 
        TODO test putting a class on HEAD.
20
 
                - Fails on FF. 
21
 
*/
22
 
body,
23
 
div,
24
 
dl,
25
 
dt,
26
 
dd,
27
 
ul,
28
 
ol,
29
 
li,
30
 
h1,
31
 
h2,
32
 
h3,
33
 
h4,
34
 
h5,
35
 
h6,
36
 
pre,
37
 
code,
38
 
form,
39
 
fieldset,
40
 
legend,
41
 
input,
42
 
textarea,
43
 
p,
44
 
blockquote,
45
 
th,
46
 
td {
47
 
        margin:0;
48
 
        padding:0;
49
 
}
50
 
table {
51
 
        border-collapse:collapse;
52
 
        border-spacing:0;
53
 
}
54
 
fieldset,
55
 
img {
56
 
        border:0;
57
 
}
58
 
/*
59
 
        TODO think about hanlding inheritence differently, maybe letting IE6 fail a bit...
60
 
*/
61
 
address,
62
 
caption,
63
 
cite,
64
 
code,
65
 
dfn,
66
 
em,
67
 
strong,
68
 
th,
69
 
var {
70
 
        font-style:normal;
71
 
        font-weight:normal;
72
 
}
73
 
 
74
 
ol,
75
 
ul {
76
 
        list-style:none;
77
 
}
78
 
 
79
 
caption,
80
 
th {
81
 
        text-align:left;
82
 
}
83
 
h1,
84
 
h2,
85
 
h3,
86
 
h4,
87
 
h5,
88
 
h6 {
89
 
        font-size:100%;
90
 
        font-weight:normal;
91
 
}
92
 
q:before,
93
 
q:after {
94
 
        content:'';
95
 
}
96
 
abbr,
97
 
acronym {
98
 
        border:0;
99
 
        font-variant:normal;
100
 
}
101
 
/* to preserve line-height and selector appearance */
102
 
sup {
103
 
        vertical-align:text-top;
104
 
}
105
 
sub {
106
 
        vertical-align:text-bottom;
107
 
}
108
 
input,
109
 
textarea,
110
 
select {
111
 
        font-family:inherit;
112
 
        font-size:inherit;
113
 
        font-weight:inherit;
114
 
}
115
 
/*to enable resizing for IE*/
116
 
input,
117
 
textarea,
118
 
select {
119
 
        *font-size:100%;
120
 
}
121
 
/*because legend doesn't inherit in IE */
122
 
legend {
123
 
        color:#000;
124
 
}
125
 
/* YUI CSS Detection Stamp */
126
 
#yui3-css-stamp.cssreset { display: none; }