|
70 | 70 | </div>
|
71 | 71 | </header>
|
72 | 72 | <article class="ph3 ph5-ns">
|
73 |
| - <h3 class="f6 ttu tracked mt0">Type Scale</h3> |
74 |
| - <p class="measure f4 f3-ns lh-copy"> |
75 |
| - Often times, websites devote a non-trivial amount of css to setting |
76 |
| - font-size. They declare an unnecessary amount of different |
77 |
| - font-sizes that upon inspection, don't come close to resembling a sane type scale. |
78 |
| - </p> |
79 |
| - <p class="measure f5 f4-ns lh-copy"> |
80 |
| - To create and design an easily readable interface, you don't need |
81 |
| - more than 40 font-sizes. A simple ratio-based scale with 8 options should suffice. |
82 |
| - Using the class extension namespaces you |
83 |
| - can set the font-size for any particular breakpoint that you desire. |
84 |
| - </p> |
85 |
| - <p class="measure f5 f4-ns lh-copy"> |
86 |
| - Don't spend time constantly overriding font-sizes in your css. |
87 |
| - If you don't like a default font-size for an element, use the utilities to quickly make the text larger or smaller until it looks just right. |
88 |
| - </p> |
| 73 | + <div class="cf mw9 center"> |
| 74 | + <h3 class="w-100 fl f6 ttu tracked mt0">Type Scale</h3> |
| 75 | + <div class="fl w-100 w-50-ns"> |
| 76 | + <p class="measure f5 f4-ns lh-copy"> |
| 77 | + Often times, websites devote a non-trivial amount of css to setting |
| 78 | + font-size. They declare an unnecessary amount of different |
| 79 | + font-sizes that upon inspection, don't come close to resembling a sane type scale. |
| 80 | + </p> |
| 81 | + <p class="measure f6 f5-ns lh-copy"> |
| 82 | + To create and design an easily readable interface, you don't need |
| 83 | + more than 40 font-sizes. A simple ratio-based scale with 8 options should suffice. |
| 84 | + Using the class extension namespaces you |
| 85 | + can set the font-size for any particular breakpoint that you desire. |
| 86 | + </p> |
| 87 | + <p class="measure f6 f5-ns lh-copy"> |
| 88 | + Don't spend time constantly overriding font-sizes in your css. |
| 89 | + If you don't like a default font-size for an element, use the utilities to quickly make the text larger or smaller until it looks just right. |
| 90 | + </p> |
| 91 | + </div> |
| 92 | + <div class="fl pl4-m pl5-l w-100 w-50-ns v-top"> |
| 93 | + <h4 class="f6 f5-ns fw6 black-70 lh-title mb0 mt3 pt2">Demo on how to adjust font-size using Tachyons</h4> |
| 94 | + <div class="ba b--light-gray bg-near-white pa3 mt3-ns"> |
| 95 | + <div class="aspect-ratio aspect-ratio--8x5 ba b--black-10"> |
| 96 | + <iframe class="aspect-ratio--object" src="https://player.vimeo.com/video/183819916" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe> |
| 97 | + </div> |
| 98 | + </div> |
| 99 | + </div> |
| 100 | + </div> |
89 | 101 | </article>
|
90 |
| - <div class="ph3 ph5-ns pb5"> |
| 102 | + <div class="ph3 ph5-ns bt bn-ns b--black-10 pt4 mt4 mt0-ns pt0-ns pb5"> |
91 | 103 | <blockquote class="f5 black-70 measure lh-copy mh0 mb4 mb5-ns">
|
92 | 104 | <p class="i">
|
93 | 105 | "The simplest scale is a single note, and sticking with a single note draws more attention to other parameters, such as rhythm and inflection... In the sixteenth century, a series of common sizes developed among European typographers, and the series survived with little change and few additions for 400 years... This is the typographic equivalent of the diatonic scale."
|
|
0 commit comments