Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Aug 20th, 2012  |  syntax: None  |  size: 3.21 KB  |  hits: 8  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. /*!
  2.  * CSS Reset 2011-12-25
  3.  * https://gist.github.com/gists/1360380
  4.  *
  5.  * Author:  Takeru Suzuki, http://terkel.jp/
  6.  * License: Public domain
  7.  *
  8.  * Inspired by Normalize.css: http://necolas.github.com/normalize.css/
  9.  */
  10.  
  11.  
  12.  
  13. /* HTML5 display definitions */
  14.  
  15. section, nav, article, aside, hgroup,
  16. header, footer, figure, figcaption, details {
  17.     display: block;
  18. }
  19.  
  20. video, audio, canvas {
  21.     display: inline-block;
  22.     *display: inline;
  23.     *zoom: 1;
  24. }
  25.  
  26. audio:not([controls]) {
  27.     display: none;
  28. }
  29.  
  30. [hidden] {
  31.     display: none;
  32. }
  33.  
  34.  
  35.  
  36. /* The root element */
  37.  
  38. html {
  39.     font-size: 100%;
  40.     overflow-y: scroll;
  41.     -webkit-text-size-adjust: 100%;
  42.         -ms-text-size-adjust: 100%;
  43. }
  44.  
  45.  
  46.  
  47. /* Sections */
  48.  
  49. body {
  50.     font-family: sans-serif;
  51.     margin: 0;
  52. }
  53.  
  54. h1, h2, h3, h4, h5, h6 {
  55.     font-size: 1em;
  56.     margin: 0;
  57. }
  58.  
  59.  
  60.  
  61. /* Grouping content */
  62.  
  63. p, blockquote, dl, dd, figure {
  64.     margin: 0;
  65. }
  66.  
  67. hr {
  68.     color: inherit;
  69.     height: auto;
  70.     -moz-box-sizing: content-box;
  71.          box-sizing: content-box;
  72. }
  73.  
  74. pre {
  75.     font-family: monospace, sans-serif;
  76.     white-space: pre-wrap;
  77.     word-wrap: break-word;
  78.     margin: 0;
  79. }
  80.  
  81. ol, ul {
  82.     padding: 0;
  83.     margin: 0;
  84. }
  85.  
  86. li {
  87.     list-style: none;
  88. }
  89.  
  90.  
  91.  
  92. /* Text-level semantics */
  93.  
  94. a:focus {
  95.     outline: thin dotted;
  96. }
  97.  
  98. a:hover, a:active {
  99.     outline: 0;
  100. }
  101.  
  102. strong, b {
  103.     font-weight: bold;
  104. }
  105.  
  106. small {
  107.     font-size: 0.83em;
  108. }
  109.  
  110. q {
  111.     quotes: none;
  112. }
  113.  
  114. abbr[title] {
  115.     border-bottom: 1px dotted;
  116. }
  117.  
  118. code, samp, kbd {
  119.     font-family: monospace, sans-serif;
  120. }
  121.  
  122. mark {
  123.     color: black;
  124.     background-color: yellow;
  125. }
  126.  
  127. sub, sup {
  128.     font-size: 0.83em;
  129.     line-height: 0;
  130.     vertical-align: baseline;
  131.     position: relative;
  132. }
  133.  
  134. sub {
  135.     bottom: -0.25em;
  136. }
  137.  
  138. sup {
  139.     top: -0.5em;
  140. }
  141.  
  142. br {
  143.     *letter-spacing: 0;
  144. }
  145.  
  146.  
  147.  
  148. /* Embedded content */
  149.  
  150. img {
  151.     border: 0;
  152.     -ms-interpolation-mode: bicubic;
  153. }
  154.  
  155. svg:not(:root) {
  156.     overflow: hidden;
  157. }
  158.  
  159.  
  160.  
  161. /* Tabular data */
  162.  
  163. table {
  164.     border-collapse: collapse;
  165.     border-spacing: 0;
  166. }
  167.  
  168. caption {
  169.     padding: 0;
  170.     text-align: left;
  171. }
  172.  
  173. th, td {
  174.     text-align: left;
  175.     vertical-align: baseline;
  176.     padding: 0;
  177. }
  178.  
  179.  
  180.  
  181. /* Forms */
  182.  
  183. form {
  184.     margin: 0;
  185. }
  186.  
  187. fieldset {
  188.     border: 0;
  189.     padding: 0;
  190.     margin: 0;
  191. }
  192.  
  193. legend {
  194.     border: 0;
  195.     *margin-left: -7px;
  196. }
  197.  
  198. input, button, select, textarea {
  199.     font-family: inherit;
  200.     font-size: 1em;
  201.     color: inherit;
  202.     margin: 0;
  203. }
  204.  
  205. input, button {
  206.     line-height: normal;
  207.     vertical-align: inherit;
  208.     *vertical-align: middle;
  209. }
  210.  
  211. input::-moz-focus-inner,
  212. button::-moz-focus-inner {
  213.     border: 0;
  214.     padding: 0;
  215. }
  216.  
  217. input[type="search"] {
  218.     -webkit-appearance: textfield;
  219.     -webkit-box-sizing: content-box;
  220.        -moz-box-sizing: content-box;
  221.             box-sizing: content-box;
  222. }
  223.  
  224. input[type="search"]:focus {
  225.     outline-offset: -2px;
  226. }
  227.  
  228. input[type="search"]::-webkit-search-decoration {
  229.     -webkit-appearance: none;
  230. }
  231.  
  232. input[type="checkbox"],
  233. input[type="radio"] {
  234.     box-sizing: border-box;
  235.     padding: 0;
  236. }
  237.  
  238. input[type="submit"],
  239. input[type="reset"],
  240. input[type="button"],
  241. button {
  242.     cursor: pointer;
  243.     -webkit-appearance: button;
  244.     *overflow: visible;
  245. }
  246.  
  247. select {
  248.     background-color: inherit;
  249.     line-height: normal;
  250. }
  251.  
  252. textarea {
  253.     vertical-align: top;
  254.     overflow: auto;
  255.     *font-family: sans-serif;
  256. }