Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added reset.css.

  • Loading branch information...
commit 3dcabadce134cb272a7858cbd5725c17ed5cc885 1 parent b2462f1
Christopher Boone authored

Showing 1 changed file with 89 additions and 0 deletions. Show diff stats Hide diff stats

  1. +89 0 stylesheets/reset.css
89 stylesheets/reset.css
... ... @@ -0,0 +1,89 @@
  1 +/*
  2 +
  3 +Reset everything and set up HTML5 elements.
  4 +
  5 +Based on:
  6 + Eric Meyer's reset.css (v1.0 | 20080212): http://meyerweb.com/eric/tools/css/reset
  7 + Yahoo's YUI 3 CSS Reset: http://developer.yahoo.com/yui/3/cssreset/
  8 +
  9 +*/
  10 +
  11 +html, body, div, span, object, iframe,
  12 +h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  13 +a, abbr, address, cite, code,
  14 +del, dfn, em, img, ins, kbd, q, samp,
  15 +small, strong, sub, sup, var, dl, dt, dd, ol, ul, li, fieldset,
  16 +form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td,
  17 +article, aside, audio, canvas, datalist, details, eventsource, figure,
  18 +footer, header, hgroup, keygen, mark, menu, meter, nav, output, progress,
  19 +ruby, rp, rt, section, source, time, video {
  20 + margin: 0;
  21 + padding: 0;
  22 +
  23 + background: transparent;
  24 + border: 0;
  25 + outline: 0;
  26 +
  27 + font-size: 100%;
  28 + vertical-align: baseline;
  29 + font-style: normal;
  30 +}
  31 +
  32 +body {
  33 + line-height: 1;
  34 +}
  35 +
  36 +ol, ul {
  37 + list-style: none;
  38 +}
  39 +
  40 +blockquote, q {
  41 + quotes: none;
  42 +}
  43 +
  44 +blockquote:before, blockquote:after,
  45 +q:before, q:after {
  46 + content: "";
  47 + content: none;
  48 +}
  49 +
  50 +ins {
  51 + text-decoration: none;
  52 +}
  53 +
  54 +del {
  55 + text-decoration: line-through;
  56 +}
  57 +
  58 +/* Tables still need 'cellspacing="0"' in the markup. */
  59 +table {
  60 + border-collapse: collapse;
  61 + border-spacing: 0;
  62 +}
  63 +
  64 +h1, h2, h3, h4, h5, h6 {
  65 + font-weight: normal;
  66 +}
  67 +
  68 +a {
  69 + color: inherit;
  70 +
  71 + text-decoration: none;
  72 +}
  73 +
  74 +
  75 +/*
  76 +
  77 +Set up HTML5.
  78 +
  79 +Notes:
  80 + Source is not an element that represents anything on its own, thus it does not need any styling.
  81 + Time is likely to be inline.
  82 +
  83 +*/
  84 +
  85 +article, aside, audio, dialog, embed, figure, footer, header, hgroup,
  86 +mark, menu, meter, nav, progress, section, video {
  87 + display: block;
  88 +}
  89 +

0 comments on commit 3dcabad

Please sign in to comment.
Something went wrong with that request. Please try again.