[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/lib/yuilib/3.17.2/cssreset/ -> cssreset.css (source)

   1  /*
   2  YUI 3.17.2 (build 9c3c78e)
   3  Copyright 2014 Yahoo! Inc. All rights reserved.
   4  Licensed under the BSD License.
   5  http://yuilibrary.com/license/
   6  */
   7  
   8  /*
   9      TODO will need to remove settings on HTML since we can't namespace it.
  10      TODO with the prefix, should I group by selector or property for weight savings?
  11  */
  12  html{
  13      color:#000;
  14      background:#FFF;
  15  }
  16  /*
  17      TODO remove settings on BODY since we can't namespace it.
  18  */
  19  /*
  20      TODO test putting a class on HEAD.
  21          - Fails on FF. 
  22  */
  23  body,
  24  div,
  25  dl,
  26  dt,
  27  dd,
  28  ul,
  29  ol,
  30  li,
  31  h1,
  32  h2,
  33  h3,
  34  h4,
  35  h5,
  36  h6,
  37  pre,
  38  code,
  39  form,
  40  fieldset,
  41  legend,
  42  input,
  43  textarea,
  44  p,
  45  blockquote,
  46  th,
  47  td {
  48      margin:0;
  49      padding:0;
  50  }
  51  table {
  52      border-collapse:collapse;
  53      border-spacing:0;
  54  }
  55  fieldset,
  56  img {
  57      border:0;
  58  }
  59  /*
  60      TODO think about hanlding inheritence differently, maybe letting IE6 fail a bit...
  61  */
  62  address,
  63  caption,
  64  cite,
  65  code,
  66  dfn,
  67  em,
  68  strong,
  69  th,
  70  var {
  71      font-style:normal;
  72      font-weight:normal;
  73  }
  74  
  75  ol,
  76  ul {
  77      list-style:none;
  78  }
  79  
  80  caption,
  81  th {
  82      text-align:left;
  83  }
  84  h1,
  85  h2,
  86  h3,
  87  h4,
  88  h5,
  89  h6 {
  90      font-size:100%;
  91      font-weight:normal;
  92  }
  93  q:before,
  94  q:after {
  95      content:'';
  96  }
  97  abbr,
  98  acronym {
  99      border:0;
 100      font-variant:normal;
 101  }
 102  /* to preserve line-height and selector appearance */
 103  sup {
 104      vertical-align:text-top;
 105  }
 106  sub {
 107      vertical-align:text-bottom;
 108  }
 109  input,
 110  textarea,
 111  select {
 112      font-family:inherit;
 113      font-size:inherit;
 114      font-weight:inherit;
 115      *font-size:100%; /*to enable resizing for IE*/
 116  }
 117  /*because legend doesn't inherit in IE */
 118  legend {
 119      color:#000;
 120  }
 121  
 122  /* YUI CSS Detection Stamp */
 123  #yui3-css-stamp.cssreset { display: none; }


Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1