Skip to content

Commit

Permalink
Updated CSS with new features from Normalize.css
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Ferdinandi committed Oct 21, 2013
1 parent 0173cfc commit 7fbfe71
Showing 1 changed file with 19 additions and 7 deletions.
26 changes: 19 additions & 7 deletions kraken.css
Original file line number Diff line number Diff line change
Expand Up @@ -80,30 +80,42 @@ html {
}

/* Display audio, canvas, and video elements as inline block elements. */
audio, canvas, video {
audio,
canvas,
video {
display: inline-block;
*display: inline;
*zoom: 1;
}

/* Prevent modern browsers from displaying audio without controls. */
audio:not([controls]) {
display: none;
height: 0;
}

/* Prevent img and video elements from spilling
* outside of the page on smaller screens. */
img, video {
img,
video {
max-width: 100%;
height: auto;
}

/* Prevent iframe, object, and embed elements from
* spilling outside of the page on smaller screens. */
iframe, object, embed {
iframe,
object,
embed {
max-width: 100%;
}

/* Address [hidden] styling not present in IE 8/9.
* Hide the template element in IE, Safari, and Firefox < 22. */
[hidden],
template {
display: none;
visibility: hidden;
}

/* Prevents IE from making scaled images look like crap */
img {
-ms-interpolation-mode: bicubic;
Expand All @@ -118,7 +130,8 @@ button:focus {
}

/* Improve readability when focused and also mouse hovered in all browsers. */
a:hover, a:active {
a:hover,
a:active {
outline: 0;
}

Expand Down Expand Up @@ -826,7 +839,6 @@ select:focus {
.row:before, .row:after {
display: table;
content: "";
*zoom: 1;
}

.group:after,
Expand Down

0 comments on commit 7fbfe71

Please sign in to comment.