Commit Graph

52 Commits

Author SHA1 Message Date
Nils K
6084e902e7
feat: remove font family hack (#1074) 2022-10-26 11:25:20 -07:00
Seth Bertalotto
f59a16cebe
refactor: upgrade normalize, remove bower, remove old ie hacks (#790) 2020-05-05 08:15:25 -07:00
redonkulus
de4c3136cc update github org references to pure-css/pure 2018-01-18 19:41:39 -08:00
Seth Bertalotto
2fde4e7985 Remove comment 2017-05-10 10:19:19 -07:00
leho
7c63e1185b Remove manual vendor prefixes 2016-12-11 06:09:03 -08:00
Sly Gryphon
6c2aae1b89 Fix for grid inside table in IE 10/11 (#504)
* Fix for grid inside table in IE 10/11
2016-12-05 06:00:31 -08:00
Chao
0833fe802c Preventing grids distributing verticle space
When there's a grid container of a defined height excess vertical space gets distributed across the rows rather than allowing each row to take up its natural height [see this fiddle](http://jsfiddle.net/ambekpdm/). As grids are used for horizontal positioning it's pretty counter intuitive to come across it affecting vertical distribution. This can be fixed by adding `align-content: flex-start` to the element with the `pure-g` class.

Not sure if this is something best fixed by adding this style in to Pure itself or something to highlight on the site along with the box-sizing notes. But considering it causes significantly different behaviour in browsers without flexbox I'd consider this to be the best place.
2014-12-30 13:29:05 +00:00
Eric Ferraiuolo
370d0d3218 Update URLs to point to Yahoo org on GitHub
Closes #366
2014-08-26 12:06:14 -04:00
Tilo Mitra
92862c3d71 add IE conditional comment to pull in -old-ie.css 2014-03-07 13:15:29 -05:00
Tilo Mitra
da94ef232c add viewport meta element to grids test page 2014-03-07 11:47:45 -05:00
Tilo Mitra
3bbbf47ccd add responsive grid manual test 2014-02-28 12:57:27 -05:00
Tilo Mitra
b2212f91a2 Remove grids-r.css
We'll be using [rework-pure-grids][1] to generate responsive
grids on a per-app basis. This is more useful than having
.pure-g-r inside Pure's `src/` since media queries cannot
be over-written.

[1]: https://github.com/ericf/rework-pure-grids
2013-12-23 13:37:13 -05:00
Eric Ferraiuolo
a4c0ade4b1 Generate 5ths and 24ths grid units including non-reduced fractions
Closes #144
Relates #149
2013-11-24 18:40:32 -05:00
Eric Ferraiuolo
dfff4fe238 Generate Grids Units via Grunt task 2013-11-18 14:46:19 -05:00
Eric Ferraiuolo
77c92da532 Update Grids manual test to add monospace nested grid test 2013-09-09 11:56:50 -04:00
Eric Ferraiuolo
7e0cdafddc Update HISTORY and code comments for Grids Flexbox 2013-09-05 18:14:01 -04:00
Eric Ferraiuolo
c5061a046f Add Grids manual test for wrapping grids 2013-09-05 17:51:13 -04:00
Eric Ferraiuolo
50883fc2e2 Add CSSLint flags to ignore linting flexbox rules 2013-09-05 17:50:51 -04:00
Matt Sweeney
7cc69304f9 Add flexbox support for webkit and IE. 2013-09-05 14:14:17 -07:00
Matt Sweeney
8623c984a2 Add flexbox support for webkit and IE. 2013-09-05 13:52:42 -07:00
Eric Ferraiuolo
44b5be0a46 Clean manual tests by formatting the HTML and making it valid 2013-09-03 13:18:46 -04:00
Eric Ferraiuolo
cf52515bed Update code comments about Grids font stack.
Closes #41
2013-08-29 16:46:01 -04:00
Tilo Mitra
c143808fb8 Revert "Remove "Droid Sans" from the font stack."
This reverts commit 1a24fa0baa.
Looks like Android < 4 only has 3 fonts installed -
* Droid Sans
* Droid Serif
* Droid Sans Mono

So we do need to keep Droid Sans in.
http://www.granneman.com/webdev/coding/css/fonts-and-formatting/default-fonts/#android
2013-08-29 15:45:10 -04:00
Tilo Mitra
1a24fa0baa Remove "Droid Sans" from the font stack.
Arch Linux supports Arimo so Droid Sans shouldn't be needed.
https://wiki.archlinux.org/index.php/Fonts
2013-08-29 15:39:38 -04:00
Tilo Mitra
45e8b4ffaf Update font stack.
- Remove DejaVu Sans since it doesn't work with the letter spacing.
- Replace Bitstream Charter with Freesans, a sans-serif alternative.
- Replace Tinos with Arimo, a sans-serif alternative.
2013-08-29 15:27:34 -04:00
Eric Ferraiuolo
68b66b5811 Add custom font section to Responsive Grids manual test page 2013-08-27 12:18:10 -04:00
Eric Ferraiuolo
2c58a4594d De-cruft and improve Responsive Grids manual test page 2013-08-27 11:55:21 -04:00
Eric Ferraiuolo
039b8f12f2 Merge branch 'grids-fonts'
Conflicts:
	HISTORY.md
2013-08-27 11:29:44 -04:00
Tilo Mitra
f7ded9ecb9 Update font-stack with recent findings
Based on conversations in https://github.com/yui/pure/issues/41/,
this font stack was updated with more fonts to fully cover all
target environments where grids were breaking.
2013-08-26 15:29:07 -04:00
Tilo Mitra
6794a82db8 Merge branch 'grids-tests-image' 2013-08-23 12:35:16 -04:00
Tilo Mitra
7e1d381b9c add responsive images to grids manual test 2013-08-23 12:34:13 -04:00
Dmitry Chestnykh
77d3601375 Fix image resizing to be proportional
Images inside .pure-g-r when resized didn't change their height. Fix this by adding setting their height to 'auto'.
2013-08-23 17:38:01 +02:00
Tilo Mitra
a0d940231a revamp grids manual test 2013-08-22 16:59:37 -04:00
Eric Ferraiuolo
2bc0f29de3 Specify font stacks for grids and grid units
By setting _specific_ font stacks grids, it can be assured that the
letter and word spacing will be applied correctly. The font stack for
grid units is then set back to `sans-serif`, which is also the default
font stack that Normalize.css applied to the `body`.

Closes #41
2013-08-22 16:48:38 -04:00
Tilo Mitra
f7dde71025 bump up decimal places to 4 units, remove *width for pure-u-1 2013-08-20 15:16:22 -04:00
Tilo Mitra
363df66074 add back common rules for all grid units 2013-08-05 12:35:06 -04:00
Tilo Mitra
d2db8427dc Change default classnames back to .pure-u-*
After thinking about it, it makes sense to just keep
these as .pure-u-* to preserve back-compat and so that
people don't get confused with the fact that these units
are the "default" units.
2013-08-05 12:34:58 -04:00
Tilo Mitra
82dba5c165 Remove CSSLint ignore + s/default-*/pure-d-*
The .default-* classnames should be prefixed with .pure-
However, .pure-default-x-y seems too verbose, so I changed
it to .pure-d-x-y.
2013-08-05 12:34:51 -04:00
Tilo Mitra
f56cb81fed prettify spaces and braces 2013-08-05 12:34:44 -04:00
Tilo Mitra
25497a2161 update grid-units to have IE-specific widths, and use new grid classnames 2013-08-05 12:34:38 -04:00
Tilo Mitra
7b8cab1eb7 Grid unit pure-u-1 is now display: block; width: 100%;
This commit fixes issue #94.
2013-07-10 11:59:39 -04:00
Andrew Chilton
371ce08b0f Update with typo for .pure-u-1-6 from 16.656 to 16.666 2013-06-22 23:06:11 +12:00
Eric Ferraiuolo
554266361f Improve consistency of code formatting
This re-formats the code which was formatted differently than primary
way CSS code in Pure.
2013-06-10 10:02:55 -04:00
Eric Ferraiuolo
9ec47cd9f6 Make minor tweaks to CSS files to clear basic linting issues 2013-06-05 14:04:38 -04:00
Matt Sweeney
f2cff205e2 Add dummy class to responsive units. 2013-05-30 10:50:47 -07:00
Matt Sweeney
fae5f7f169 Use *= ('one of') rather than (^=) starts with for collapsed units. 2013-05-30 10:39:14 -07:00
Tilo Mitra
6c1290e80c remove module-level HISTORY and README 2013-05-20 12:47:02 -04:00
Tilo Mitra
c0e641f7bf clean up test files 2013-05-16 14:18:18 -04:00
Eric Ferraiuolo
681ca1a93e Rename CSS classname prefix to pure 2013-05-16 13:33:57 -04:00
Eric Ferraiuolo
a19f09a17f Rename project to "Pure" 2013-05-16 13:21:35 -04:00