h5bp updates
This commit is contained in:
@@ -1,9 +1,10 @@
|
|||||||
/* =============================================================================
|
/* =============================================================================
|
||||||
HTML5 element display
|
HTML5 display definitions
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
|
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
|
||||||
audio[controls], canvas, video { display: inline-block; *display: inline; *zoom: 1; }
|
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
|
||||||
|
audio:not([controls]) { display: none; }
|
||||||
|
|
||||||
|
|
||||||
/* =============================================================================
|
/* =============================================================================
|
||||||
@@ -106,7 +107,7 @@ nav ul, nav ol { list-style: none; margin: 0; padding: 0; }
|
|||||||
Embedded content
|
Embedded content
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
img { border: 0; -ms-interpolation-mode: bicubic; }
|
img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }
|
||||||
|
|
||||||
svg:not(:root) { overflow: hidden; }
|
svg:not(:root) { overflow: hidden; }
|
||||||
|
|
||||||
@@ -125,14 +126,16 @@ figure { margin: 0; }
|
|||||||
form { margin: 0; }
|
form { margin: 0; }
|
||||||
fieldset { border: 0; margin: 0; padding: 0; }
|
fieldset { border: 0; margin: 0; padding: 0; }
|
||||||
|
|
||||||
legend { border: 0; *margin-left: -7px; padding: 0; }
|
|
||||||
|
|
||||||
label { cursor: pointer; }
|
label { cursor: pointer; }
|
||||||
|
|
||||||
|
legend { border: 0; *margin-left: -7px; padding: 0; }
|
||||||
|
|
||||||
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
|
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
|
||||||
|
|
||||||
button, input { line-height: normal; *overflow: visible; }
|
button, input { line-height: normal; *overflow: visible; }
|
||||||
|
|
||||||
|
table button, table input { *overflow: auto; }
|
||||||
|
|
||||||
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }
|
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }
|
||||||
|
|
||||||
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; }
|
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; }
|
||||||
@@ -140,7 +143,7 @@ input[type="search"] { -moz-box-sizing: content-box; -webkit-box-sizing: content
|
|||||||
|
|
||||||
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
|
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
|
||||||
|
|
||||||
textarea { overflow: auto; vertical-align: top; }
|
textarea { overflow: auto; vertical-align: top; resize: vertical; }
|
||||||
|
|
||||||
input:valid, textarea:valid { }
|
input:valid, textarea:valid { }
|
||||||
input:invalid, textarea:invalid { background-color: #f0dddd; }
|
input:invalid, textarea:invalid { background-color: #f0dddd; }
|
||||||
@@ -532,9 +535,10 @@ img.ui-datepicker-trigger { vertical-align: middle; }
|
|||||||
Please define your styles before this section.
|
Please define your styles before this section.
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
.ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; }
|
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; }
|
||||||
.ir br { display: none; }
|
.ir br { display: none; }
|
||||||
|
|
||||||
|
[hidden] { display: none; visibility: hidden; }
|
||||||
.hidden { display: none; visibility: hidden; }
|
.hidden { display: none; visibility: hidden; }
|
||||||
|
|
||||||
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
|
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
|
||||||
@@ -573,7 +577,7 @@ img.ui-datepicker-trigger { vertical-align: middle; }
|
|||||||
|
|
||||||
@media print {
|
@media print {
|
||||||
* { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; }
|
* { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; }
|
||||||
a, a:visited { color: #444 !important; text-decoration: underline; }
|
a, a:visited { text-decoration: underline; }
|
||||||
a[href]:after { content: " (" attr(href) ")"; }
|
a[href]:after { content: " (" attr(href) ")"; }
|
||||||
abbr[title]:after { content: " (" attr(title) ")"; }
|
abbr[title]:after { content: " (" attr(title) ")"; }
|
||||||
.ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }
|
.ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }
|
||||||
|
|||||||
@@ -13,8 +13,8 @@
|
|||||||
<?php roots_footer(); ?>
|
<?php roots_footer(); ?>
|
||||||
|
|
||||||
<!--[if lt IE 7]>
|
<!--[if lt IE 7]>
|
||||||
<script src="//ajax.googleapis.com/ajax/libs/chrome-frame/1.0.2/CFInstall.min.js"></script>
|
<script src="//ajax.googleapis.com/ajax/libs/chrome-frame/1.0.3/CFInstall.min.js"></script>
|
||||||
<script>window.attachEvent("onload",function(){CFInstall.check({mode:"overlay"})})</script>
|
<script>window.attachEvent('onload',function(){CFInstall.check({mode:'overlay'})})</script>
|
||||||
<![endif]-->
|
<![endif]-->
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
Reference in New Issue
Block a user