Ticket #3252: resettwo.diff
File resettwo.diff, 1.9 KB (added by , 14 years ago) |
---|
-
reset.css
1 /* -------------------------------------------------------------- 1 /* http://meyerweb.com/eric/tools/css/reset/ 2 v2.0 | 20110126 3 License: none (public domain) 4 */ 2 5 3 Reset default browser CSS.4 5 Based on work by Eric Meyer:6 http://meyerweb.com/eric/tools/css/reset/index.html7 8 -------------------------------------------------------------- */9 10 /* v1.0 | 20080212 */11 12 6 html, body, div, span, applet, object, iframe, 13 7 h1, h2, h3, h4, h5, h6, p, blockquote, pre, 14 8 a, abbr, acronym, address, big, cite, code, 15 del, dfn, em, font,img, ins, kbd, q, s, samp,9 del, dfn, em, img, ins, kbd, q, s, samp, 16 10 small, strike, strong, sub, sup, tt, var, 17 11 b, u, i, center, 18 12 dl, dt, dd, ol, ul, li, 19 13 fieldset, form, label, legend, 20 table, caption, tbody, tfoot, thead, tr, th, td { 14 table, caption, tbody, tfoot, thead, tr, th, td, 15 article, aside, canvas, details, embed, 16 figure, figcaption, footer, header, hgroup, 17 menu, nav, output, ruby, section, summary, 18 time, mark, audio, video { 21 19 margin: 0; 22 20 padding: 0; 23 21 border: 0; 24 outline: 0;25 22 font-size: 100%; 23 font: inherit; 26 24 vertical-align: baseline; 27 background: transparent;28 25 } 26 /* HTML5 display-role reset for older browsers */ 27 article, aside, details, figcaption, figure, 28 footer, header, hgroup, menu, nav, section { 29 display: block; 30 } 29 31 body { 30 background:#fff;31 32 line-height: 1; 32 33 } 33 34 ol, ul { … … 41 42 content: ''; 42 43 content: none; 43 44 } 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 */59 45 table { 60 46 border-collapse: collapse; 61 47 border-spacing: 0; 62 48 } 63 64 a img { border: none; }