Skip to content

Commit

Permalink
Merge pull request #37 from johnotander/phase-out-normalize
Browse files Browse the repository at this point in the history
Remove some styling from normalize targeted at older browsers
  • Loading branch information
johno committed Jan 7, 2015
2 parents 59cbc46 + 0c634a4 commit 484ea4e
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 157 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

A forward-thinking, lightweight, CSS microframework. Minimal by design.

__4.36kB gzipped.__
__3.92kB gzipped.__

Furtive is _truly_ mobile-first and nearly all dimensions are done in `rem`.
It also has a small footprint, cutting down on the bandwidth necessary
Expand Down
71 changes: 3 additions & 68 deletions css/furtive.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,7 @@
* @license MIT
*/

/*! normalize.css v3.0.1 | MIT License | git.io/normalize */
/**
* 1. Set default font family to sans-serif.
* 2. Prevent iOS text size adjust after orientation change, without disabling
* user zoom.
*/
html {
font-family: sans-serif;
/* 1 */
-ms-text-size-adjust: 100%;
/* 2 */
-webkit-text-size-adjust: 100%;
/* 2 */ }

/*! excerpts from normalize.css v3.0.1 | MIT License | git.io/normalize */
/**
* Remove default margin.
*/
Expand All @@ -29,46 +16,20 @@ body {
/* HTML5 display definitions
========================================================================== */
/**
* Correct `block` display not defined for any HTML5 element in IE 8/9.
* Correct `block` display not defined for `details` or `summary` in IE 10/11 and Firefox.
* Correct `block` display not defined for `main` in IE 11.
*/
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
aside, details, main, summary {
display: block; }

/**
* 1. Correct `inline-block` display not defined in IE 8/9.
* 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
*/
audio, canvas, progress, video {
display: inline-block;
/* 1 */
vertical-align: baseline;
/* 2 */ }

/**
* Prevent modern browsers from displaying `audio` without controls.
* Remove excess height in iOS 5 devices.
*/
audio:not([controls]) {
display: none;
height: 0; }

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

/* Links
========================================================================== */
/**
* Remove the gray background color from active links in IE 10.
*/
a {
background: transparent; }

/**
* Improve readability when focused and also mouse hovered in all browsers.
*/
Expand Down Expand Up @@ -103,13 +64,6 @@ h1 {
font-size: 2em;
margin: 0.67em 0; }

/**
* Address styling not present in IE 8/9.
*/
mark {
background: #ff0;
color: #000; }

/**
* Address inconsistent and variable font size in all browsers.
*/
Expand All @@ -133,12 +87,6 @@ sub {

/* Embedded content
========================================================================== */
/**
* Remove border when inside `a` element in IE 8/9/10.
*/
img {
border: 0; }

/**
* Correct overflow not hidden in IE 9/10/11.
*/
Expand Down Expand Up @@ -241,19 +189,6 @@ button::-moz-focus-inner, input::-moz-focus-inner {
input {
line-height: normal; }

/**
* It's recommended that you don't attempt to style these elements.
* Firefox's implementation doesn't respect box-sizing, padding, or width.
*
* 1. Address box sizing set to `content-box` in IE 8/9/10.
* 2. Remove excess padding in IE 8/9/10.
*/
input[type="checkbox"], input[type="radio"] {
box-sizing: border-box;
/* 1 */
padding: 0;
/* 2 */ }

/**
* Fix the cursor style for Chrome's increment/decrement buttons. For certain
* `font-size` values of the `input`, it causes the cursor style of the
Expand Down
Loading

0 comments on commit 484ea4e

Please sign in to comment.