Update H5BP.

This commit is contained in:
Lars Jung 2014-05-21 23:52:01 +02:00
parent e13c268e9d
commit b2a15ceb9d
3 changed files with 15 additions and 27 deletions

View file

@ -6,6 +6,7 @@
* replaces PHP backtick operator with `exec` * replaces PHP backtick operator with `exec`
* adds PHP variant to calc folder sizes * adds PHP variant to calc folder sizes
* updates H5BP to 4.3.0
* updates jQuery to 2.1.1 * updates jQuery to 2.1.1
* updates json2.js to 2014-02-04 * updates json2.js to 2014-02-04
* updates markdown-js to 0.5.0 * updates markdown-js to 0.5.0

View file

@ -1,6 +1,6 @@
/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */
/* /*
* HTML5 Boilerplate
*
* What follows is the result of much research on cross-browser styling. * What follows is the result of much research on cross-browser styling.
* Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal, * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
* Kroc Camen, and the H5BP dev community and team. * Kroc Camen, and the H5BP dev community and team.
@ -53,10 +53,14 @@ hr {
} }
/* /*
* Remove the gap between images and the bottom of their containers: h5bp.com/i/440 * Remove the gap between images, videos, audio and canvas and the bottom of
* their containers: h5bp.com/i/440
*/ */
img { audio,
canvas,
img,
video {
vertical-align: middle; vertical-align: middle;
} }
@ -78,17 +82,6 @@ textarea {
resize: vertical; resize: vertical;
} }
/* ==========================================================================
Chrome Frame prompt
========================================================================== */
.chromeframe {
margin: 0.2em 0;
background: #ccc;
color: #000;
padding: 0.2em 0;
}
/* ========================================================================== /* ==========================================================================
Author's custom styles Author's custom styles
========================================================================== */ ========================================================================== */

View file

@ -1,4 +1,4 @@
/*! normalize.css v1.1.1 | MIT License | git.io/normalize */ /*! normalize.css v1.1.3 | MIT License | git.io/normalize */
/* ========================================================================== /* ==========================================================================
HTML5 display definitions HTML5 display definitions
@ -59,22 +59,16 @@ audio:not([controls]) {
========================================================================== */ ========================================================================== */
/** /**
* 1. Prevent system color scheme's background color being used in Firefox, IE, * 1. Correct text resizing oddly in IE 6/7 when body `font-size` is set using
* and Opera.
* 2. Prevent system color scheme's text color being used in Firefox, IE, and
* Opera.
* 3. Correct text resizing oddly in IE 6/7 when body `font-size` is set using
* `em` units. * `em` units.
* 4. Prevent iOS text size adjust after orientation change, without disabling * 2. Prevent iOS text size adjust after orientation change, without disabling
* user zoom. * user zoom.
*/ */
html { html {
background: #fff; /* 1 */ font-size: 100%; /* 1 */
color: #000; /* 2 */ -ms-text-size-adjust: 100%; /* 2 */
font-size: 100%; /* 3 */ -webkit-text-size-adjust: 100%; /* 2 */
-webkit-text-size-adjust: 100%; /* 4 */
-ms-text-size-adjust: 100%; /* 4 */
} }
/** /**