forked from thoughtbot/flutie
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bringing in some HTML5 Boilerplate styles
- Loading branch information
Dan Croak
committed
Nov 17, 2010
1 parent
90cdcb7
commit 61dcf05
Showing
4 changed files
with
114 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,55 @@ | ||
/* 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; | ||
} | ||
/* | ||
html5doctor.com Reset Stylesheet (Eric Meyer's Reset Reloaded + HTML5 baseline) | ||
v1.4 2009-07-27 | Authors: Eric Meyer & Richard Clark | ||
html5doctor.com/html-5-reset-stylesheet/ | ||
*/ | ||
|
||
html, body, div, span, object, iframe, | ||
h1, h2, h3, h4, h5, h6, p, blockquote, pre, | ||
abbr, address, cite, code, | ||
del, dfn, em, img, ins, kbd, q, samp, | ||
small, strong, sub, sup, var, | ||
b, i, | ||
dl, dt, dd, ol, ul, li, | ||
fieldset, form, label, legend, | ||
table, caption, tbody, tfoot, thead, tr, th, td, | ||
article, aside, canvas, details, figcaption, figure, | ||
footer, header, hgroup, menu, nav, section, summary, | ||
time, mark, audio, video { | ||
margin:0; | ||
padding:0; | ||
border:0; | ||
outline:0; | ||
font-size:100%; | ||
vertical-align:baseline; | ||
background:transparent; | ||
} | ||
|
||
article, aside, details, figcaption, figure, | ||
footer, header, hgroup, menu, nav, section { | ||
display:block; | ||
} | ||
|
||
nav ul { list-style:none; } | ||
|
||
blockquote, q { quotes:none; } | ||
|
||
body { | ||
line-height: 1; | ||
} | ||
blockquote:before, blockquote:after, | ||
q:before, q:after { content:''; content:none; } | ||
|
||
ol, ul { | ||
list-style: none; | ||
} | ||
a { margin:0; padding:0; font-size:100%; vertical-align:baseline; background:transparent; } | ||
|
||
blockquote, q { | ||
quotes: none; | ||
} | ||
ins { background-color:#ff9; color:#000; text-decoration:none; } | ||
|
||
blockquote:before, blockquote:after, | ||
q:before, q:after { | ||
content: ''; | ||
content: none; | ||
} | ||
mark { background-color:#ff9; color:#000; font-style:italic; font-weight:bold; } | ||
|
||
/* remember to define focus styles! */ | ||
:focus { | ||
outline: 0; | ||
} | ||
del { text-decoration: line-through; } | ||
|
||
/* remember to highlight inserts somehow! */ | ||
ins { | ||
text-decoration: none; | ||
} | ||
abbr[title], dfn[title] { border-bottom:1px dotted; cursor:help; } | ||
|
||
del { | ||
text-decoration: line-through; | ||
} | ||
/* tables still need cellspacing="0" in the markup */ | ||
table { border-collapse:collapse; border-spacing:0; } | ||
|
||
/* tables still need 'cellspacing="0"' in the markup */ | ||
table { | ||
border-collapse: collapse; | ||
border-spacing: 0; | ||
} | ||
hr { display:block; height:1px; border:0; border-top:1px solid #ccc; margin:1em 0; padding:0; } | ||
|
||
input, select { vertical-align:middle; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters