Permalink
Browse files

Fixed some oversights in reset.css

  • Loading branch information...
1 parent 4415f51 commit b97245e5657fe1eddac8e6449bfc26dda2110af6 @Montoya Montoya committed Sep 15, 2010
Showing with 29 additions and 8 deletions.
  1. +5 −3 blueprint/screen.css
  2. +24 −5 blueprint/src/reset.css
View
@@ -12,15 +12,17 @@
----------------------------------------------------------------------- */
/* reset.css */
-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;}
+html {margin:0;padding:0;border:0;}
+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;}
+body {line-height:1.5;background:white;}
table {border-collapse:separate;border-spacing:0;}
caption, th, td {text-align:left;font-weight:normal;float:none !important;}
table, th, td {vertical-align:middle;}
-blockquote:before, blockquote:after, q:before, q:after {content:"";}
+blockquote:before, blockquote:after, q:before, q:after {content:'';}
blockquote, q {quotes:"" "";}
a img {border:none;}
+:focus {outline:0;}
/* typography.css */
html {font-size:100.01%;}
View
@@ -5,7 +5,13 @@
-------------------------------------------------------------- */
-html, body, div, span, object, iframe,
+html {
+ margin:0;
+ padding:0;
+ border:0;
+}
+
+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,
@@ -32,17 +38,30 @@ hgroup, nav, section {
/* Line-height should always be unitless! */
body {
line-height: 1.5;
+ background: white;
}
/* Tables still need 'cellspacing="0"' in the markup. */
-table { border-collapse: separate; border-spacing: 0; }
+table {
+ border-collapse: separate;
+ border-spacing: 0;
+}
/* float:none prevents the span-x classes from breaking table-cell display */
-caption, th, td { text-align: left; font-weight: normal; float:none !important; }
-table, th, td { vertical-align: middle; }
+caption, th, td {
+ text-align: left;
+ font-weight: normal;
+ float:none !important;
+}
+table, th, td {
+ vertical-align: middle;
+}
/* Remove possible quote marks (") from <q>, <blockquote>. */
-blockquote:before, blockquote:after, q:before, q:after { content: ""; }
+blockquote:before, blockquote:after, q:before, q:after { content: ''; }
blockquote, q { quotes: "" ""; }
/* Remove annoying border on linked images. */
a img { border: none; }
+
+/* Remember to define your own focus styles! */
+:focus { outline: 0; }

0 comments on commit b97245e

Please sign in to comment.