Skip to content

Commit

Permalink
Merge branch 'release/v1.0.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeroen Ooms committed Jan 10, 2016
2 parents f553249 + 7162d1d commit ad277bc
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 41 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ $initialize-font-size: 1em;
$initialize-line-height: 1.4;
```

Microsoft [dropped support](https://www.microsoft.com/en-us/WindowsForBusiness/End-of-IE-support) for IE8, IE9 & IE10. If you still have to support these old dinosaur browsers, just set dinosaur mode to true.
```
$initialize-dinosaur-mode: true;
```

Optional values:
```
$initialize-color: #000;
Expand All @@ -45,9 +50,4 @@ $initialize-block-margins: 0 0 0.75em;
$initialize-heading-color: #000;
$initialize-heading-font-family: sans-serif;
$initialize-heading-margins: 1em 0 0.75em;
```

If you don't have to support old dinosaur browsers like IE8 & IE9, just set dinosaur mode to false. Less code!!
```
$initialize-dinosaur-mode: false;
```
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "initialize-css",
"version": "0.4.0",
"version": "1.0.0",
"homepage": "http://jeroenoomsnl.github.io/initialize-css/",
"authors": [
"Jeroen Ooms (@jeroenooms)"
Expand Down
10 changes: 7 additions & 3 deletions dist/_initialize.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ $initialize-line-height: 1.4 !default;
//
// Options
//
$initialize-dinosaur-mode: true !default; // toggle support for IE8 & IE9
$initialize-dinosaur-mode: false !default; // toggle support for IE8, IE9 & IE10

//
// Optional values
Expand Down Expand Up @@ -119,8 +119,12 @@ template {
//
// Links
//
a {
background-color: transparent;

// Remove the gray background color from active links in IE 10.
@if $initialize-dinosaur-mode == true {
a {
background-color: transparent;
}
}

a:active,
Expand Down
20 changes: 0 additions & 20 deletions dist/initialize.css
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,8 @@ body {
text-shadow: none;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
display: block;
}
Expand All @@ -54,7 +44,6 @@ audio,
canvas,
progress,
video {
display: inline-block;
vertical-align: baseline;
}

Expand All @@ -68,10 +57,6 @@ template {
display: none;
}

a {
background-color: transparent;
}

a:active,
a:hover {
outline: 0;
Expand All @@ -95,11 +80,6 @@ h1 {
margin: 0.67em 0;
}

mark {
background: #ff0;
color: #000;
}

small {
font-size: 80%;
}
Expand Down
2 changes: 1 addition & 1 deletion dist/initialize.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "initialize-css",
"version": "0.4.0",
"version": "1.0.0",
"homepage": "http://jeroenoomsnl.github.io/initialize-css/",
"description": "Initialize.css is a complete and customizable collection of CSS best practices based on Normalize.css and HTML5 Boilerplate. Available in CSS and configurable SASS (SCSS) format.",
"author": {
Expand Down
17 changes: 10 additions & 7 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Initialize.css - A complete and customizable collection of CSS best practices</title>
<meta name="description" content="">
<meta name="description" content="Initialize.css is a complete and customizable collection of CSS best practices based on Normalize.css and HTML5 Boilerplate. Available in CSS and configurable SASS (SCSS) format">
<meta name="viewport" content="width=device-width, initial-scale=1">

<link href='http://fonts.googleapis.com/css?family=Lato:400,700' rel='stylesheet' type='text/css'>
Expand All @@ -13,15 +13,15 @@
<link rel="stylesheet" href="styles/demo.css">
</head>
<body>
<!--[if lt IE 10]>
<!--[if lte IE 10]>
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience and your life.</p>
<![endif]-->

<header class="header">
<section class="header-wrapper">
<div class="header-content">
<h1>Initialize.css</h1>
<h2>Initialize.css is a complete and customizable collection of CSS best practices based on Normalize.css and HTML5 Boilerplate. Available in CSS and configurable SASS (SCSS) format.</h2>
<h2>Initialize.css is a complete and customizable collection of CSS best practices based on Normalize.css and HTML5 Boilerplate. Available in CSS and configurable SASS (SCSS) format.</h2>
</div>

<div class="header-buttons">
Expand Down Expand Up @@ -66,6 +66,12 @@ <h2>Configure</h2>
$initialize-font-size: 1em;
$initialize-line-height: 1.4;
</pre>

<p>Microsoft <a href="https://www.microsoft.com/en-us/WindowsForBusiness/End-of-IE-support" target="_blank">dropped support</a> for IE8, IE9 &amp; IE10. If you still have to support these old dinosaur browsers, just set <em>dinosaur mode</em> to true.</p>
<pre>
$initialize-dinosaur-mode: true;
</pre>

<p>Optional values:</p>
<pre>
$initialize-color: #000;
Expand All @@ -76,10 +82,7 @@ <h2>Configure</h2>
$initialize-heading-margins: 1em 0 0.75em;
</pre>

<p>If you don't have to support old dinosaur browsers like IE8 &amp; IE9, just set <em>dinosaur mode</em> to false. Less code!!</p>
<pre>
$initialize-dinosaur-mode: false;
</pre>


</main>

Expand Down
10 changes: 7 additions & 3 deletions src/styles/initialize.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ $initialize-line-height: 1.4 !default;
//
// Options
//
$initialize-dinosaur-mode: true !default; // toggle support for IE8 & IE9
$initialize-dinosaur-mode: false !default; // toggle support for IE8, IE9 & IE10

//
// Optional values
Expand Down Expand Up @@ -119,8 +119,12 @@ template {
//
// Links
//
a {
background-color: transparent;

// Remove the gray background color from active links in IE 10.
@if $initialize-dinosaur-mode == true {
a {
background-color: transparent;
}
}

a:active,
Expand Down

0 comments on commit ad277bc

Please sign in to comment.