Skip to content

Commit bddc8e4

Browse files
committed
Drop-in Pure v0.3.0-rc-1
1 parent f5dde1e commit bddc8e4

39 files changed

Lines changed: 3504 additions & 595 deletions

HISTORY.md

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,89 @@
11
Pure Change History
22
===================
33

4+
NEXT
5+
----
6+
7+
* (!) Pure now requires the Base module (which is Normalize.css) to be on the
8+
page. Pure has essentially always required the styles provided by
9+
Normalize.css via the Base module, and this now makes it a firm requirement.
10+
The `pure-min.css` and `pure-nr-min.css` rollup files already include the Base
11+
module.
12+
13+
**Note:** When using a [custom subset][Customize] of Pure, be sure to include
14+
the Base module.
15+
16+
* Added non-minified rollup files: `pure.css` and `pure-nr.css`. These files are
17+
created in addition to the minified rollups: `pure-min.css` and
18+
`pure-nr-min.css`. The minified rollups _should_ be used in production.
19+
([#171][] @omeid)
20+
21+
### Base
22+
23+
* (!) Removed Normalize.css from checked-in `src/`. Bower is now used to
24+
programmatically import Normalize.css into `bower_components/` if it's not
25+
already installed. ([#160][])
26+
27+
### Buttons
28+
29+
* Removed `-webkit-font-smoothing: antialiased` rule from Buttons. Pure should not
30+
dictate sub-pixel font rendering, that should be left to the person's browser
31+
settings and/or the developer. ([#170][] @dchest)
32+
33+
### Forms
34+
35+
* (!) Removed `forms-core.css`. This was a copy of Normalize.css' form related
36+
styles. Now that Pure requires the Base module (which is Normalize.css) to be
37+
on the page, the Forms Core submodule is no longer needed. ([#160][])
38+
39+
* Added `:focus` styles to `[readonly]` `<input>` elements. ([#143][])
40+
41+
### Grids
42+
43+
* Prevented grid units from falling to a new line on IE6 and IE7. Grid units now
44+
have a separate `*width` value for oldIEs. This value is `0.005%` less than
45+
the standard `width` value. This fix does not affect modern browsers. ([#154][])
46+
47+
48+
* Added a `height: auto` rule to images within a `.pure-g-r` so that their aspect
49+
ratios are maintained when the page is resized. ([#172][]: @dchest)
50+
51+
* (!) Added the following font stack to `.pure-g, .pure-g-r` in order to prevent
52+
grids from breaking in various target environments:
53+
54+
```css
55+
font-family: "Bitstream Charter", Tinos, "Droid Sans", "DejaVu Sans",
56+
Helvetica, Arial, sans-serif;
57+
```
58+
59+
This is a *breaking* change. If you are using any non-default font in your project,
60+
you will need to modify your CSS and add a `font-family` to the grid unit classes:
61+
62+
```css
63+
.pure-g [class *= "pure-u"],
64+
.pure-g-r [class *= "pure-u"] {
65+
66+
/* Add your font in here, whether it's a custom font or a normal font */
67+
font-family: "Times New Roman", serif;
68+
69+
}
70+
```
71+
72+
Refer to the [Grids Documentation][Grids] for more details on using
73+
non-default fonts with Pure Grids.
74+
([#41][] @dannyfritz, @pandeiro, and many others!)
75+
76+
77+
[#41]: https://github.com/yui/pure/issues/41
78+
[#143]: https://github.com/yui/pure/issues/143
79+
[#154]: https://github.com/yui/pure/issues/154
80+
[#160]: https://github.com/yui/pure/issues/160
81+
[#170]: https://github.com/yui/pure/issues/170
82+
[#171]: https://github.com/yui/pure/issues/171
83+
[Customize]: http://purecss.io/customize/
84+
[Grids]: http://purecss.io/grids/
85+
86+
487
0.2.1 (2013-07-17)
588
------------------
689

@@ -55,6 +138,7 @@ Pure Change History
55138
[#109]: https://github.com/yui/pure/issues/109
56139
[#115]: https://github.com/yui/pure/issues/115
57140
[#127]: https://github.com/yui/pure/issues/127
141+
[#172]: https://github.com/yui/pure/pull/172
58142

59143

60144
0.2.0 (2013-06-11)

README.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ of all the CSS work that every site needs, without making it look cookie-cutter:
4848

4949
* Easy one-click customization with the [Skin Builder][].
5050

51-
* Extremely small file size: **4.2KB minified + gzip**.
51+
* Extremely small file size: **4.3KB minified + gzip**.
5252

5353

5454
[Normalize.css]: http://necolas.github.io/normalize.css/
@@ -100,11 +100,17 @@ conventions of the files in the `build/` directory follow these rules:
100100

101101
* `*-min.css`: A minified file version of the files of the same name.
102102

103-
* `pure-min.css`: A rollup of all `[module]-min.css` files in the `build/` dir.
104-
This is a responsive roll-up of everything.
103+
* `pure.css`: A rollup of all `[module].css` files in the `build/` dir. This is
104+
a responsive roll-up of everything, non-minified.
105105

106-
* `pure-nr-min.css`: A Rollup of all modules without @media queries. This is a
107-
non-responsive roll-up of everything.
106+
* `pure-min.css`: Minified version of `pure.css` that should be used in
107+
production.
108+
109+
* `pure-nr.css`: A Rollup of all modules without @media queries. This is a
110+
non-responsive roll-up of everything, non-minified.
111+
112+
* `pure-nr-min.css`: Minified version of `pure-nr.css` that should be used in
113+
production.
108114

109115

110116
[Grunt]: http://gruntjs.com/

base-context-min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

base-context.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
Pure v0.2.1
2+
Pure v0.3.0-rc-1
33
Copyright 2013 Yahoo! Inc. All rights reserved.
44
Licensed under the BSD License.
55
https://github.com/yui/pure/blob/master/LICENSE.md
@@ -8,7 +8,6 @@ https://github.com/yui/pure/blob/master/LICENSE.md
88
normalize.css v1.1.2 | MIT License | git.io/normalize
99
Copyright (c) Nicolas Gallagher and Jonathan Neal
1010
*/
11-
/* THIS FILE IS GENERATED BY A BUILD SCRIPT - DO NOT EDIT! */
1211
.pure article,
1312
.pure aside,
1413
.pure details,

base-min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

base.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
Pure v0.2.1
2+
Pure v0.3.0-rc-1
33
Copyright 2013 Yahoo! Inc. All rights reserved.
44
Licensed under the BSD License.
55
https://github.com/yui/pure/blob/master/LICENSE.md
@@ -8,7 +8,6 @@ https://github.com/yui/pure/blob/master/LICENSE.md
88
normalize.css v1.1.2 | MIT License | git.io/normalize
99
Copyright (c) Nicolas Gallagher and Jonathan Neal
1010
*/
11-
/* THIS FILE IS GENERATED BY A BUILD SCRIPT - DO NOT EDIT! */
1211
/*! normalize.css v1.1.2 | MIT License | git.io/normalize */
1312

1413
/* ==========================================================================

bower.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "pure",
3-
"version": "0.2.1",
3+
"version": "0.3.0-rc-1",
44
"devDependencies": {
5-
"normalize-css": "1.x"
5+
"normalize-css": "1.1.2"
66
}
77
}

buttons-core-min.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
Pure v0.2.1
2+
Pure v0.3.0-rc-1
33
Copyright 2013 Yahoo! Inc. All rights reserved.
44
Licensed under the BSD License.
55
https://github.com/yui/pure/blob/master/LICENSE.md

buttons-core.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
Pure v0.2.1
2+
Pure v0.3.0-rc-1
33
Copyright 2013 Yahoo! Inc. All rights reserved.
44
Licensed under the BSD License.
55
https://github.com/yui/pure/blob/master/LICENSE.md

buttons-min.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)