Skip to:
Content

BuddyPress.org

Ticket #3252: resettwo.diff

File resettwo.diff, 1.9 KB (added by karmatosed, 14 years ago)
  • reset.css

     
    1 /* --------------------------------------------------------------
     1/* http://meyerweb.com/eric/tools/css/reset/
     2   v2.0 | 20110126
     3   License: none (public domain)
     4*/
    25
    3    Reset default browser CSS.
    4 
    5    Based on work by Eric Meyer:
    6    http://meyerweb.com/eric/tools/css/reset/index.html
    7 
    8 -------------------------------------------------------------- */
    9 
    10 /* v1.0 | 20080212 */
    11 
    126html, body, div, span, applet, object, iframe,
    137h1, h2, h3, h4, h5, h6, p, blockquote, pre,
    148a, abbr, acronym, address, big, cite, code,
    15 del, dfn, em, font, img, ins, kbd, q, s, samp,
     9del, dfn, em, img, ins, kbd, q, s, samp,
    1610small, strike, strong, sub, sup, tt, var,
    1711b, u, i, center,
    1812dl, dt, dd, ol, ul, li,
    1913fieldset, form, label, legend,
    20 table, caption, tbody, tfoot, thead, tr, th, td {
     14table, caption, tbody, tfoot, thead, tr, th, td,
     15article, aside, canvas, details, embed,
     16figure, figcaption, footer, header, hgroup,
     17menu, nav, output, ruby, section, summary,
     18time, mark, audio, video {
    2119        margin: 0;
    2220        padding: 0;
    2321        border: 0;
    24         outline: 0;
    2522        font-size: 100%;
     23        font: inherit;
    2624        vertical-align: baseline;
    27         background: transparent;
    2825}
     26/* HTML5 display-role reset for older browsers */
     27article, aside, details, figcaption, figure,
     28footer, header, hgroup, menu, nav, section {
     29        display: block;
     30}
    2931body {
    30     background:#fff;
    3132        line-height: 1;
    3233}
    3334ol, ul {
     
    4142        content: '';
    4243        content: none;
    4344}
    44 
    45 /* remember to define focus styles! */
    46 :focus {
    47         outline: 0;
    48 }
    49 
    50 /* remember to highlight inserts somehow! */
    51 ins {
    52         text-decoration: none;
    53 }
    54 del {
    55         text-decoration: line-through;
    56 }
    57 
    58 /* tables still need 'cellspacing="0"' in the markup */
    5945table {
    6046        border-collapse: collapse;
    6147        border-spacing: 0;
    6248}
    63 
    64 a img { border: none; }