This repository has been archived by the owner on Jun 7, 2022. It is now read-only.
forked from nathansmith/960-Grid-System
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replacing Meyer's reset.css with my own. It handles HTML4, XHTML, and…
… HTML5 tags. Also, added the <figure> tag to text.css, to give it 20px of margin-bottom -- Assuming you'd use it instead of a <p> tag, when wrapping an <img> tag called out in a blog post, etc.
- Loading branch information
1 parent
30906f2
commit d2a69be
Showing
4 changed files
with
161 additions
and
47 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,170 @@ | ||
/* 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; | ||
/* `XHTML, HTML4, HTML5 Reset | ||
----------------------------------------------------------------------------------------------------*/ | ||
|
||
a, | ||
abbr, | ||
acronym, | ||
address, | ||
applet, | ||
article, | ||
aside, | ||
audio, | ||
b, | ||
big, | ||
blockquote, | ||
body, | ||
canvas, | ||
caption, | ||
center, | ||
cite, | ||
code, | ||
dd, | ||
del, | ||
details, | ||
dfn, | ||
dialog, | ||
div, | ||
dl, | ||
dt, | ||
em, | ||
embed, | ||
fieldset, | ||
figcaption, | ||
figure, | ||
font, | ||
footer, | ||
form, | ||
h1, | ||
h2, | ||
h3, | ||
h4, | ||
h5, | ||
h6, | ||
header, | ||
hgroup, | ||
hr, | ||
html, | ||
i, | ||
iframe, | ||
img, | ||
ins, | ||
kbd, | ||
label, | ||
legend, | ||
li, | ||
mark, | ||
menu, | ||
meter, | ||
nav, | ||
object, | ||
ol, | ||
output, | ||
p, | ||
pre, | ||
progress, | ||
q, | ||
rp, | ||
rt, | ||
ruby, | ||
s, | ||
samp, | ||
section, | ||
small, | ||
span, | ||
strike, | ||
strong, | ||
sub, | ||
summary, | ||
sup, | ||
table, | ||
tbody, | ||
td, | ||
tfoot, | ||
th, | ||
thead, | ||
time, | ||
tr, | ||
tt, | ||
u, | ||
ul, | ||
var, | ||
video, | ||
xmp { | ||
border: 0; | ||
margin: 0; | ||
padding: 0; | ||
font-size: 100%; | ||
} | ||
|
||
html, | ||
body { | ||
line-height: 1; | ||
height: 100%; | ||
} | ||
ol, ul { | ||
list-style: none; | ||
|
||
article, | ||
aside, | ||
details, | ||
figcaption, | ||
figure, | ||
footer, | ||
header, | ||
hgroup, | ||
menu, | ||
nav, | ||
section { | ||
/* | ||
Override the default (display: inline) for | ||
browsers that do not recognize HTML5 tags. | ||
IE8 (and lower) requires a shiv: | ||
http://ejohn.org/blog/html5-shiv | ||
*/ | ||
display: block; | ||
} | ||
blockquote, q { | ||
quotes: none; | ||
|
||
b, | ||
strong { | ||
/* | ||
Makes browsers agree. | ||
IE + Opera = font-weight: bold. | ||
Gecko + WebKit = font-weight: bolder. | ||
*/ | ||
font-weight: bold; | ||
} | ||
blockquote:before, blockquote:after, | ||
q:before, q:after { | ||
content: ''; | ||
content: none; | ||
|
||
img { | ||
font-size: 0; | ||
vertical-align: middle; | ||
/* | ||
For IE. | ||
http://css-tricks.com/ie-fix-bicubic-scaling-for-images | ||
*/ | ||
-ms-interpolation-mode: bicubic; | ||
} | ||
|
||
/* remember to define focus styles! */ | ||
:focus { | ||
outline: 0; | ||
li { | ||
/* | ||
For IE6 + IE7. | ||
*/ | ||
display: list-item; | ||
} | ||
|
||
/* remember to highlight inserts somehow! */ | ||
ins { | ||
text-decoration: none; | ||
table { | ||
border-collapse: collapse; | ||
border-spacing: 0; | ||
} | ||
del { | ||
text-decoration: line-through; | ||
|
||
th, | ||
td, | ||
caption { | ||
font-weight: normal; | ||
vertical-align: top; | ||
text-align: left; | ||
} | ||
|
||
/* tables still need 'cellspacing="0"' in the markup */ | ||
table { | ||
border-collapse: collapse; | ||
border-spacing: 0; | ||
svg { | ||
/* | ||
For IE9 beta. | ||
*/ | ||
overflow: hidden; | ||
} |
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