web/data/cubicweb.reset.css
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 08 Jul 2010 12:54:14 +0200
changeset 5936 98ac4000e820
parent 5819 1017163825c7
child 7743 e55e439a6888
permissions -rw-r--r--
[js] fix misplaced bracket
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5437
ac19fdcd297b [css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
     1
/* http://meyerweb.com/eric/tools/css/reset/ */
ac19fdcd297b [css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
     2
/* v1.0 | 20080212 */
ac19fdcd297b [css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
     3
ac19fdcd297b [css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
     4
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
     5
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
     6
a, abbr, acronym, address, big, cite, code,
ac19fdcd297b [css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
     7
del, dfn, em, font, img, ins, kbd, q, s, samp,
ac19fdcd297b [css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
     8
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
     9
b, u, i, center,
ac19fdcd297b [css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    10
dl, dt, dd, ol, ul, li,
ac19fdcd297b [css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    11
fieldset, form, label, legend,
ac19fdcd297b [css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    12
table, caption, tbody, tfoot, thead, tr, th, td {
5819
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5479
diff changeset
    13
  margin: 0;
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5479
diff changeset
    14
  padding: 0;
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5479
diff changeset
    15
  border: 0;
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5479
diff changeset
    16
  outline: 0;
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5479
diff changeset
    17
  font-size: 100%;
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5479
diff changeset
    18
  vertical-align: baseline;
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5479
diff changeset
    19
  background: transparent;
5437
ac19fdcd297b [css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    20
}
ac19fdcd297b [css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    21
body {
5819
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5479
diff changeset
    22
  line-height: 1;
5437
ac19fdcd297b [css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    23
}
ac19fdcd297b [css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    24
ol, ul {
5819
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5479
diff changeset
    25
  list-style: none;
5437
ac19fdcd297b [css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    26
}
ac19fdcd297b [css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    27
blockquote, q {
5819
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5479
diff changeset
    28
  quotes: none;
5437
ac19fdcd297b [css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    29
}
ac19fdcd297b [css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    30
blockquote:before, blockquote:after,
ac19fdcd297b [css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    31
q:before, q:after {
5819
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5479
diff changeset
    32
  content: '';
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5479
diff changeset
    33
  content: none;
5437
ac19fdcd297b [css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    34
}
ac19fdcd297b [css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    35
ac19fdcd297b [css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    36
/* remember to define focus styles! */
ac19fdcd297b [css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    37
:focus {
5819
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5479
diff changeset
    38
  outline: 0;
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
ac19fdcd297b [css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    41
/* remember to highlight inserts somehow! */
ac19fdcd297b [css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    42
ins {
5819
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5479
diff changeset
    43
  text-decoration: 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
del {
5819
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5479
diff changeset
    46
  text-decoration: line-through;
5437
ac19fdcd297b [css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    47
}
ac19fdcd297b [css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    48
ac19fdcd297b [css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    49
/* tables still need 'cellspacing="0"' in the markup */
ac19fdcd297b [css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    50
table {
5819
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5479
diff changeset
    51
  border-collapse: collapse;
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5479
diff changeset
    52
  border-spacing: 0;
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5479
diff changeset
    53
}