web/data/cubicweb.reset.css
branchstable
changeset 7743 e55e439a6888
parent 5819 1017163825c7
equal deleted inserted replaced
7742:1273c1bc0237 7743:e55e439a6888
     1 /* http://meyerweb.com/eric/tools/css/reset/ */
     1 /* http://meyerweb.com/eric/tools/css/reset/ 
     2 /* v1.0 | 20080212 */
     2    v2.0 | 20110126
       
     3    License: none (public domain)
       
     4 */
     3 
     5 
     4 html, body, div, span, applet, object, iframe,
     6 html, body, div, span, applet, object, iframe,
     5 h1, h2, h3, h4, h5, h6, p, blockquote, pre,
     7 h1, h2, h3, h4, h5, h6, p, blockquote, pre,
     6 a, abbr, acronym, address, big, cite, code,
     8 a, abbr, acronym, address, big, cite, code,
     7 del, dfn, em, font, img, ins, kbd, q, s, samp,
     9 del, dfn, em, img, ins, kbd, q, s, samp,
     8 small, strike, strong, sub, sup, tt, var,
    10 small, strike, strong, sub, sup, tt, var,
     9 b, u, i, center,
    11 b, u, i, center,
    10 dl, dt, dd, ol, ul, li,
    12 dl, dt, dd, ol, ul, li,
    11 fieldset, form, label, legend,
    13 fieldset, form, label, legend,
    12 table, caption, tbody, tfoot, thead, tr, th, td {
    14 table, caption, tbody, tfoot, thead, tr, th, td,
    13   margin: 0;
    15 article, aside, canvas, details, embed, 
    14   padding: 0;
    16 figure, figcaption, footer, header, hgroup, 
    15   border: 0;
    17 menu, nav, output, ruby, section, summary,
    16   outline: 0;
    18 time, mark, audio, video {
    17   font-size: 100%;
    19 	margin: 0;
    18   vertical-align: baseline;
    20 	padding: 0;
    19   background: transparent;
    21 	border: 0;
       
    22 	font-size: 100%;
       
    23 	font: inherit;
       
    24 	vertical-align: baseline;
       
    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;
    20 }
    30 }
    21 body {
    31 body {
    22   line-height: 1;
    32 	line-height: 1;
    23 }
    33 }
    24 ol, ul {
    34 ol, ul {
    25   list-style: none;
    35 	list-style: none;
    26 }
    36 }
    27 blockquote, q {
    37 blockquote, q {
    28   quotes: none;
    38 	quotes: none;
    29 }
    39 }
    30 blockquote:before, blockquote:after,
    40 blockquote:before, blockquote:after,
    31 q:before, q:after {
    41 q:before, q:after {
    32   content: '';
    42 	content: '';
    33   content: none;
    43 	content: none;
    34 }
    44 }
    35 
    45 table {
    36 /* remember to define focus styles! */
    46 	border-collapse: collapse;
    37 :focus {
    47 	border-spacing: 0;
    38   outline: 0;
       
    39 }
    48 }
    40 
       
    41 /* remember to highlight inserts somehow! */
       
    42 ins {
       
    43   text-decoration: none;
       
    44 }
       
    45 del {
       
    46   text-decoration: line-through;
       
    47 }
       
    48 
       
    49 /* tables still need 'cellspacing="0"' in the markup */
       
    50 table {
       
    51   border-collapse: collapse;
       
    52   border-spacing: 0;
       
    53 }