author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Thu, 22 Dec 2011 17:44:50 +0100 | |
branch | stable |
changeset 8142 | 17ebd836cee3 |
parent 7743 | e55e439a6888 |
permissions | -rw-r--r-- |
7743
e55e439a6888
[css] closes #1880740: update cubicweb.reset.css file (meyerweb.com)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
5819
diff
changeset
|
1 |
/* http://meyerweb.com/eric/tools/css/reset/ |
e55e439a6888
[css] closes #1880740: update cubicweb.reset.css file (meyerweb.com)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
5819
diff
changeset
|
2 |
v2.0 | 20110126 |
e55e439a6888
[css] closes #1880740: update cubicweb.reset.css file (meyerweb.com)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
5819
diff
changeset
|
3 |
License: none (public domain) |
e55e439a6888
[css] closes #1880740: update cubicweb.reset.css file (meyerweb.com)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
5819
diff
changeset
|
4 |
*/ |
5437
ac19fdcd297b
[css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff
changeset
|
5 |
|
ac19fdcd297b
[css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff
changeset
|
6 |
html, body, div, span, applet, object, iframe, |
ac19fdcd297b
[css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff
changeset
|
7 |
h1, h2, h3, h4, h5, h6, p, blockquote, pre, |
ac19fdcd297b
[css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff
changeset
|
8 |
a, abbr, acronym, address, big, cite, code, |
7743
e55e439a6888
[css] closes #1880740: update cubicweb.reset.css file (meyerweb.com)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
5819
diff
changeset
|
9 |
del, dfn, em, img, ins, kbd, q, s, samp, |
5437
ac19fdcd297b
[css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff
changeset
|
10 |
small, strike, strong, sub, sup, tt, var, |
ac19fdcd297b
[css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff
changeset
|
11 |
b, u, i, center, |
ac19fdcd297b
[css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff
changeset
|
12 |
dl, dt, dd, ol, ul, li, |
ac19fdcd297b
[css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff
changeset
|
13 |
fieldset, form, label, legend, |
7743
e55e439a6888
[css] closes #1880740: update cubicweb.reset.css file (meyerweb.com)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
5819
diff
changeset
|
14 |
table, caption, tbody, tfoot, thead, tr, th, td, |
e55e439a6888
[css] closes #1880740: update cubicweb.reset.css file (meyerweb.com)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
5819
diff
changeset
|
15 |
article, aside, canvas, details, embed, |
e55e439a6888
[css] closes #1880740: update cubicweb.reset.css file (meyerweb.com)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
5819
diff
changeset
|
16 |
figure, figcaption, footer, header, hgroup, |
e55e439a6888
[css] closes #1880740: update cubicweb.reset.css file (meyerweb.com)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
5819
diff
changeset
|
17 |
menu, nav, output, ruby, section, summary, |
e55e439a6888
[css] closes #1880740: update cubicweb.reset.css file (meyerweb.com)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
5819
diff
changeset
|
18 |
time, mark, audio, video { |
e55e439a6888
[css] closes #1880740: update cubicweb.reset.css file (meyerweb.com)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
5819
diff
changeset
|
19 |
margin: 0; |
e55e439a6888
[css] closes #1880740: update cubicweb.reset.css file (meyerweb.com)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
5819
diff
changeset
|
20 |
padding: 0; |
e55e439a6888
[css] closes #1880740: update cubicweb.reset.css file (meyerweb.com)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
5819
diff
changeset
|
21 |
border: 0; |
e55e439a6888
[css] closes #1880740: update cubicweb.reset.css file (meyerweb.com)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
5819
diff
changeset
|
22 |
font-size: 100%; |
e55e439a6888
[css] closes #1880740: update cubicweb.reset.css file (meyerweb.com)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
5819
diff
changeset
|
23 |
font: inherit; |
e55e439a6888
[css] closes #1880740: update cubicweb.reset.css file (meyerweb.com)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
5819
diff
changeset
|
24 |
vertical-align: baseline; |
e55e439a6888
[css] closes #1880740: update cubicweb.reset.css file (meyerweb.com)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
5819
diff
changeset
|
25 |
} |
e55e439a6888
[css] closes #1880740: update cubicweb.reset.css file (meyerweb.com)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
5819
diff
changeset
|
26 |
/* HTML5 display-role reset for older browsers */ |
e55e439a6888
[css] closes #1880740: update cubicweb.reset.css file (meyerweb.com)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
5819
diff
changeset
|
27 |
article, aside, details, figcaption, figure, |
e55e439a6888
[css] closes #1880740: update cubicweb.reset.css file (meyerweb.com)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
5819
diff
changeset
|
28 |
footer, header, hgroup, menu, nav, section { |
e55e439a6888
[css] closes #1880740: update cubicweb.reset.css file (meyerweb.com)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
5819
diff
changeset
|
29 |
display: block; |
5437
ac19fdcd297b
[css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff
changeset
|
30 |
} |
ac19fdcd297b
[css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff
changeset
|
31 |
body { |
7743
e55e439a6888
[css] closes #1880740: update cubicweb.reset.css file (meyerweb.com)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
5819
diff
changeset
|
32 |
line-height: 1; |
5437
ac19fdcd297b
[css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff
changeset
|
33 |
} |
ac19fdcd297b
[css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff
changeset
|
34 |
ol, ul { |
7743
e55e439a6888
[css] closes #1880740: update cubicweb.reset.css file (meyerweb.com)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
5819
diff
changeset
|
35 |
list-style: none; |
5437
ac19fdcd297b
[css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff
changeset
|
36 |
} |
ac19fdcd297b
[css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff
changeset
|
37 |
blockquote, q { |
7743
e55e439a6888
[css] closes #1880740: update cubicweb.reset.css file (meyerweb.com)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
5819
diff
changeset
|
38 |
quotes: none; |
5437
ac19fdcd297b
[css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff
changeset
|
39 |
} |
ac19fdcd297b
[css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff
changeset
|
40 |
blockquote:before, blockquote:after, |
ac19fdcd297b
[css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff
changeset
|
41 |
q:before, q:after { |
7743
e55e439a6888
[css] closes #1880740: update cubicweb.reset.css file (meyerweb.com)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
5819
diff
changeset
|
42 |
content: ''; |
e55e439a6888
[css] closes #1880740: update cubicweb.reset.css file (meyerweb.com)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
5819
diff
changeset
|
43 |
content: none; |
5437
ac19fdcd297b
[css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff
changeset
|
44 |
} |
ac19fdcd297b
[css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff
changeset
|
45 |
table { |
7743
e55e439a6888
[css] closes #1880740: update cubicweb.reset.css file (meyerweb.com)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
5819
diff
changeset
|
46 |
border-collapse: collapse; |
e55e439a6888
[css] closes #1880740: update cubicweb.reset.css file (meyerweb.com)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
5819
diff
changeset
|
47 |
border-spacing: 0; |
5819
1017163825c7
[css] more css rework, need visual test in compat/new modes
katia
parents:
5479
diff
changeset
|
48 |
} |