From 106ceaae7db78e2e7ffe11a2546ab3782f149f68 Mon Sep 17 00:00:00 2001 From: Ben Word Date: Mon, 23 Jan 2012 11:16:50 -0700 Subject: [PATCH] h5bp updates --- css/style.css | 8 ++++---- footer.php | 12 ++++++------ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/css/style.css b/css/style.css index 46c0a25..382cc49 100644 --- a/css/style.css +++ b/css/style.css @@ -11,7 +11,7 @@ audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; } audio:not([controls]) { display: none; } [hidden] { display: none; } -html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; } +html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; } body { margin: 0; /* add your base font-size and line-height here */ } body, button, input, select, textarea { font-family: sans-serif; color: #222; } @@ -49,13 +49,13 @@ figure { margin: 0; } form { margin: 0; } fieldset { border: 0; margin: 0; padding: 0; } label { cursor: pointer; } -legend { border: 0; *margin-left: -7px; padding: 0; } +legend { border: 0; *margin-left: -7px; padding: 0; white-space: normal; } button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; } button, input { line-height: normal; } button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; } -input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; } +input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *width: 13px; *height: 13px; } input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; } -input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; } +input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; } button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; } textarea { overflow: auto; vertical-align: top; resize: vertical; } input:valid, textarea:valid { } diff --git a/footer.php b/footer.php index 48b2822..d7bf82b 100644 --- a/footer.php +++ b/footer.php @@ -1,4 +1,4 @@ - +