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 */
/*
Sets the font stack to fonts known to work properly with the above
letter and word spacings.
See https://github.com/yui/pure/issues/41/
Sets the font stack to fonts known to work properly with the above letter
and word spacings. 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,
Arial` to get picked up by the browser, even though Helvetica or Arial
isn't available in that environment.
* Arimo: Ships with Chrome OS. Arimo has to be defined before Helvetica and
Arial to get picked up by the browser, even though neither is available
in Chrome OS.
* Droid Sans: Arch Linux with Chromium 29.x.
* Helvetica, Arial, sans-serif: Common font stack on OSX and Windows.
* Droid Sans: Ships with all versions of Android.
* Helvetica, Arial, sans-serif: Common font stack on OS X and Windows.
*/
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 {
letter-spacing: -0.31em;
@ -6,22 +6,20 @@
*word-spacing: -0.43em;
/*
Sets the font stack to fonts known to work properly with the above
letter and word spacings.
See https://github.com/yui/pure/issues/41/
Sets the font stack to fonts known to work properly with the above letter
and word spacings. 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,
Arial` to get picked up by the browser, even though Helvetica or Arial
isn't available in that environment.
* Arimo: Ships with Chrome OS. Arimo has to be defined before Helvetica and
Arial to get picked up by the browser, even though neither is available
in Chrome OS.
* Droid Sans: Arch Linux with Chromium 29.x.
* Helvetica, Arial, sans-serif: Common font stack on OSX and Windows.
* Droid Sans: Ships with all versions of Android.
* Helvetica, Arial, sans-serif: Common font stack on OS X and Windows.
*/
font-family: FreeSans, Arimo, "Droid Sans", Helvetica, Arial, sans-serif;
}