Skip to content

Instantly share code, notes, and snippets.

@jamesfoster
Created July 2, 2010 10:48
Show Gist options
  • Save jamesfoster/461212 to your computer and use it in GitHub Desktop.
Save jamesfoster/461212 to your computer and use it in GitHub Desktop.
/* --------------------------------------------------------------
reset.css
* Resets default browser CSS.
-------------------------------------------------------------- */
@import "reset";
#blueprint > .reset();
// --------------------------------------------------------------
//
// reset.less
// * Resets default browser CSS.
//
// --------------------------------------------------------------
#blueprint {
.reset() {
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, code,
del, dfn, em, img, q, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, dialog, figure, footer, header,
hgroup, nav, section {
margin: 0;
padding: 0;
border: 0;
font-weight: inherit;
font-style: inherit;
font-size: 100%;
font-family: inherit;
vertical-align: baseline;
}
article, aside, dialog, figure, footer, header,
hgroup, nav, section {
display: block;
}
body {
line-height: 1.5;
}
/* Tables still need 'cellspacing="0"' in the markup. */
table { border-collapse: separate; border-spacing: 0; }
caption, th, td { text-align: left; font-weight: normal; }
table, td, th { vertical-align: middle; }
/* Remove possible quote marks (") from <q>, <blockquote>. */
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
blockquote, q { quotes: "" ""; }
/* Remove annoying border on linked images. */
a img { border: none; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment