/loggerhead/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/loggerhead/trunk

« back to all changes in this revision

Viewing changes to loggerhead/static/javascript/yui/build/cssreset/reset-context.css

  • Committer: Colin Watson
  • Date: 2020-06-08 09:55:03 UTC
  • mfrom: (498.2.2 jquery)
  • Revision ID: cjwatson@canonical.com-20200608095503-n387xggxud2khqsw
[r=cjwatson] Port loggerhead from YUI to jQuery.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
3
 
Code licensed under the BSD License:
4
 
http://developer.yahoo.net/yui/license.txt
5
 
version: 3.0.0pr2
6
 
*/
7
 
/*e
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
 
.yui-cssreset 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
 
.yui-cssreset body,
23
 
.yui-cssreset div,
24
 
.yui-cssreset dl,
25
 
.yui-cssreset dt,
26
 
.yui-cssreset dd,
27
 
.yui-cssreset ul,
28
 
.yui-cssreset ol,
29
 
.yui-cssreset li,
30
 
.yui-cssreset h1,
31
 
.yui-cssreset h2,
32
 
.yui-cssreset h3,
33
 
.yui-cssreset h4,
34
 
.yui-cssreset h5,
35
 
.yui-cssreset h6,
36
 
.yui-cssreset pre,
37
 
.yui-cssreset code,
38
 
.yui-cssreset form,
39
 
.yui-cssreset fieldset,
40
 
.yui-cssreset legend,
41
 
.yui-cssreset input,
42
 
.yui-cssreset textarea,
43
 
.yui-cssreset p,
44
 
.yui-cssreset blockquote,
45
 
.yui-cssreset th,
46
 
.yui-cssreset td {
47
 
        margin:0;
48
 
        padding:0;
49
 
}
50
 
.yui-cssreset table {
51
 
        border-collapse:collapse;
52
 
        border-spacing:0;
53
 
}
54
 
.yui-cssreset fieldset,
55
 
.yui-cssreset img {
56
 
        border:0;
57
 
}
58
 
/*
59
 
        TODO think about hanlding inheritence differently, maybe letting IE6 fail a bit...
60
 
*/
61
 
.yui-cssreset address,
62
 
.yui-cssreset caption,
63
 
.yui-cssreset cite,
64
 
.yui-cssreset code,
65
 
.yui-cssreset dfn,
66
 
.yui-cssreset em,
67
 
.yui-cssreset strong,
68
 
.yui-cssreset th,
69
 
.yui-cssreset var {
70
 
        font-style:normal;
71
 
        font-weight:normal;
72
 
}
73
 
/*
74
 
        TODO Figure out where this list-style rule is best set. Hedger has a request to investigate.
75
 
*/
76
 
.yui-cssreset li {
77
 
        list-style:none;
78
 
}
79
 
 
80
 
.yui-cssreset caption,
81
 
.yui-cssreset th {
82
 
        text-align:left;
83
 
}
84
 
.yui-cssreset h1,
85
 
.yui-cssreset h2,
86
 
.yui-cssreset h3,
87
 
.yui-cssreset h4,
88
 
.yui-cssreset h5,
89
 
.yui-cssreset h6 {
90
 
        font-size:100%;
91
 
        font-weight:normal;
92
 
}
93
 
.yui-cssreset q:before,
94
 
.yui-cssreset q:after {
95
 
        content:'';
96
 
}
97
 
.yui-cssreset abbr,
98
 
.yui-cssreset acronym {
99
 
        border:0;
100
 
        font-variant:normal;
101
 
}
102
 
/* to preserve line-height and selector appearance */
103
 
.yui-cssreset sup {
104
 
        vertical-align:text-top;
105
 
}
106
 
.yui-cssreset sub {
107
 
        vertical-align:text-bottom;
108
 
}
109
 
.yui-cssreset input,
110
 
.yui-cssreset textarea,
111
 
.yui-cssreset select {
112
 
        font-family:inherit;
113
 
        font-size:inherit;
114
 
        font-weight:inherit;
115
 
}
116
 
/*to enable resizing for IE*/
117
 
.yui-cssreset input,
118
 
.yui-cssreset textarea,
119
 
.yui-cssreset select {
120
 
        *font-size:100%;
121
 
}
122
 
/*because legend doesn't inherit in IE */
123
 
.yui-cssreset legend {
124
 
        color:#000;
125
 
}
 
 
b'\\ No newline at end of file'