Skip to:
Content

BuddyPress.org

Ticket #3252: resettwoback.diff

File resettwoback.diff, 2.0 KB (added by karmatosed, 13 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;
     33        background:#fff;
    3234}
    3335ol, ul {
    3436        list-style: none;
     
    4143        content: '';
    4244        content: none;
    4345}
    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 */
    5946table {
    6047        border-collapse: collapse;
    6148        border-spacing: 0;
    6249}
    6350
    64 a img { border: none; }
     51a img { border: none; }
     52 No newline at end of file