Update code comments about Grids font stack.

Closes #41
This commit is contained in:
Eric Ferraiuolo 2013-08-29 16:46:01 -04:00
parent c143808fb8
commit cf52515bed
2 changed files with 19 additions and 23 deletions

View File

@ -7,22 +7,20 @@
text-rendering: optimizespeed; /* Webkit: fixes text-rendering: optimizeLegibility */ text-rendering: optimizespeed; /* Webkit: fixes text-rendering: optimizeLegibility */
/* /*
Sets the font stack to fonts known to work properly with the above Sets the font stack to fonts known to work properly with the above letter
letter and word spacings. and word spacings. See: https://github.com/yui/pure/issues/41/
See https://github.com/yui/pure/issues/41/
The following font stack makes Pure Grid work on all known environments. The following font stack makes Pure Grids work on all known environments.
* Freesans: Ships with Ubuntu * FreeSans: Ships with many Linux distros, including Ubuntu
* Arimo: Ships with Chrome OS. Arimo has to be defined before `Helvetica, * Arimo: Ships with Chrome OS. Arimo has to be defined before Helvetica and
Arial` to get picked up by the browser, even though Helvetica or Arial Arial to get picked up by the browser, even though neither is available
isn't available in that environment. in Chrome OS.
* Droid Sans: Arch Linux with Chromium 29.x. * Droid Sans: Ships with all versions of Android.
* Helvetica, Arial, sans-serif: Common font stack on OSX and Windows.
* Helvetica, Arial, sans-serif: Common font stack on OS X and Windows.
*/ */
font-family: FreeSans, Arimo, "Droid Sans", Helvetica, Arial, sans-serif; font-family: FreeSans, Arimo, "Droid Sans", Helvetica, Arial, sans-serif;
} }

View File

@ -1,4 +1,4 @@
/*csslint regex-selectors:false, unqualified-attributes:false*/ /*csslint regex-selectors:false*/
.pure-g-r { .pure-g-r {
letter-spacing: -0.31em; letter-spacing: -0.31em;
@ -6,22 +6,20 @@
*word-spacing: -0.43em; *word-spacing: -0.43em;
/* /*
Sets the font stack to fonts known to work properly with the above Sets the font stack to fonts known to work properly with the above letter
letter and word spacings. and word spacings. See: https://github.com/yui/pure/issues/41/
See https://github.com/yui/pure/issues/41/
The following font stack makes Pure Grid work on all known environments. The following font stack makes Pure Grids work on all known environments.
* Freesans: Ships with Ubuntu * FreeSans: Ships with many Linux distros, including Ubuntu
* Arimo: Ships with Chrome OS. Arimo has to be defined before `Helvetica, * Arimo: Ships with Chrome OS. Arimo has to be defined before Helvetica and
Arial` to get picked up by the browser, even though Helvetica or Arial Arial to get picked up by the browser, even though neither is available
isn't available in that environment. in Chrome OS.
* Droid Sans: Arch Linux with Chromium 29.x. * Droid Sans: Ships with all versions of Android.
* Helvetica, Arial, sans-serif: Common font stack on OSX and Windows.
* Helvetica, Arial, sans-serif: Common font stack on OS X and Windows.
*/ */
font-family: FreeSans, Arimo, "Droid Sans", Helvetica, Arial, sans-serif; font-family: FreeSans, Arimo, "Droid Sans", Helvetica, Arial, sans-serif;
} }