Skip to content

Instantly share code, notes, and snippets.

@robinjfisher
Created June 1, 2010 06:00
Show Gist options
  • Save robinjfisher/420616 to your computer and use it in GitHub Desktop.
Save robinjfisher/420616 to your computer and use it in GitHub Desktop.
/* http://meyerweb.com/eric/tools/css/reset/ */
/* v1.0 | 20080212 */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-size: 100%;
vertical-align: baseline;
background: transparent;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
/* remember to define focus styles! */
:focus {
outline: 0;
}
/* remember to highlight inserts somehow! */
ins {
text-decoration: none;
}
del {
text-decoration: line-through;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
border-collapse: collapse;
border-spacing: 0;
}
body {
font: 75% "Helvetica Neue", Helvetica, Arial sans-serif;
padding: 20px 10px;
width: 600px;
margin: 0 auto;
}
h1 {
font-size: 3em;
margin-bottom: 10px;
}
h2 {
font-size: 2em;
}
h3 {
font-size: 1.6em;
}
h4 {
font-size: 1.4em;
}
p {
margin-bottom: 10px;
}
#flash {
position: relative;
z-index: 2;
margin: 5px 0;
}
#flash_notice {
background-color: #65ce6f;
border: 1px solid #00cf13;
font-weight: bold;
text-align: center;
padding: 5px 0;
}
#flash_error,
.validation-error {
background-color: #ff7272;
border: 1px solid #ff1515;
font-weight: bold;
text-align: center;
padding: 5px 0px;
}
ul {
list-style-type: disc;
margin-left: 20px;
margin-bottom: 20px;
}
li {
margin: 10px 0;
}
.button_to {
display: inline-block
}
#completed li {
opacity: 0.6;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment