Ticket #3252: resettwoback.diff
File resettwoback.diff, 2.0 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; 33 background:#fff; 32 34 } 33 35 ol, ul { 34 36 list-style: none; … … 41 43 content: ''; 42 44 content: none; 43 45 } 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 46 table { 60 47 border-collapse: collapse; 61 48 border-spacing: 0; 62 49 } 63 50 64 a img { border: none; } 51 a img { border: none; } 52 No newline at end of file