1
1
<!DOCTYPE html>
2
+
2
3
< html lang ="en ">
3
4
< head >
4
5
< title >
5
6
< %= name %> / Typography / Docs / TACHYONS
6
7
</ title >
7
- < meta name ="description " content ="">
8
+ < meta name ="description " content ="Documentation about the system fonts available for use with Tachyons ">
8
9
< %= head %>
9
10
</ head >
10
11
< body class ="w-100 sans-serif ">
11
12
< %= siteHeader %>
12
13
< main class ="bg-white black-70 ">
13
- < article class ="bt b--black-10 pa3 ph5-ns ">
14
- < h4 class ="f4 mv0 fw6 dib mr4 "> < %= name %> </ h4 >
15
- < span class ="f4 b dib pl0 ml0 mr4 "> v< %= moduleVersion %> </ span >
16
- < span class ="f4 b dib pl0 ml0 mr4 "> < %= moduleSize %> </ span >
17
- < div >
18
- < dl class ="dib mr4 mt0 ">
19
- < dt class ="f6 db "> Declarations </ dt >
20
- < dd class ="db pl0 ml0 f4 f2-ns b "> < %= moduleObj.declarations.total %> </ dd >
21
- </ dl >
22
- < dl class ="dib mr4 ">
23
- < dt class ="f6 db pr2 "> Selectors </ dt >
24
- < dd class ="db pl0 ml0 f4 f2-ns b "> < %= moduleObj.selectors.total %> </ dd >
25
- </ dl >
26
- < dl class ="dib mr4 ">
27
- < dt class ="f6 db pr2 "> Max. Specificity Score </ dt >
28
- < dd class ="db pl0 ml0 f4 f2-ns b "> < %= moduleObj.selectors.specificity.max %> </ dd >
29
- </ dl >
30
- < dl class ="dib mr4 ">
31
- < dt class ="f6 db pr2 "> Size of Avg. Rule </ dt >
32
- < dd class ="db pl0 ml0 f4 f2-ns b "> < %= moduleObj.rules.size.average %> </ dd >
33
- </ dl >
14
+ < header class ="ph3 ph5-ns w-100 pv3 mb4 mb5-ns bt bb b--black-10 overflow-auto ">
15
+ < div class ="nowrap mw9 center ">
16
+ < a class ="f6 fw6 dim link black-70 pb2-ns mr2 mr3-m mr4-l " href ="/docs/typography/scale/ " title ="Type "> Type Scale</ a >
17
+ < a class ="f6 fw6 dim link black-70 pb2-ns mr2 mr3-m mr4-l " href ="/docs/typography/measure/ " title ="Measure "> Measure</ a >
18
+ < a class ="f6 fw6 dim link black-70 pb2-ns mr2 mr3-m mr4-l " href ="/docs/typography/line-height/ " title ="Line Height "> Line Height / Leading</ a >
19
+ < a class ="f6 fw6 dim link black-70 pb2-ns mr2 mr3-m mr4-l " href ="/docs/typography/tracking/ " title ="Tracking "> Tracking</ a >
20
+ < a class ="f6 fw6 dim link black-70 pb2-ns mr2 mr3-m mr4-l " href ="/docs/typography/font-weight/ " title ="Font Weights "> Font Weights</ a >
21
+ < a class ="f6 fw6 dim link black-70 pb2-ns mr2 mr3-m mr4-l " href ="/docs/typography/font-style/ " title ="Font style "> Font Style</ a >
22
+ < a class ="f6 fw6 dim link black-70 pb2-ns mr2 mr3-m mr4-l " href ="/docs/typography/vertical-align/ " title ="Vertical Align "> Vertical Align</ a >
23
+ < a class ="f6 fw6 dim link black-70 pb2-ns mr2 mr3-m mr4-l " href ="/docs/typography/text-align/ " title ="Text Align "> Text Align</ a >
24
+ < a class ="f6 fw6 dim link black-70 pb2-ns mr2 mr3-m mr4-l " href ="/docs/typography/text-transform " title ="Text Transform "> Text Transform</ a >
25
+ < a class ="f6 fw6 dim link black-70 pb2-ns mr2 mr3-m mr4-l " href ="/docs/typography/text-decoration " title ="Text Decoration "> Text Decoration</ a >
26
+ < a class ="f6 fw6 dim link black-70 pb2-ns mr2 mr3-m mr4-l " href ="/docs/typography/white-space " title ="White Space "> White Space</ a >
27
+ < a class ="f6 fw6 dim link black pb2-ns mr2 mr3-m mr4-l " href ="/docs/typography/font-family " title ="Font Families "> Font Families</ a >
34
28
</ div >
29
+ </ header >
30
+ < article class ="pa3 ph5-ns ">
31
+ < h3 class ="f6 ttu tracked mt0 "> Font Family</ h3 >
35
32
< p class ="measure f4 f3-ns lh-copy ">
36
33
There are several pre-defined classes for setting the typeface of a page or element. It is suggested
37
34
that you customize or extend this module to suit your own needs. As tachyons is a toolkit for designing
@@ -46,7 +43,7 @@ <h4 class="f4 mv0 fw6 dib mr4"><%= name %></h4>
46
43
</ p >
47
44
</ article >
48
45
< div class ="ph3 ph5-ns pt4 pb5 ">
49
- < h2 class ="f3 bold "> Examples</ h2 >
46
+ < h3 class ="f5 mb4 pb2 bb "> Examples</ h3 >
50
47
< h3 class ="f5 fw4 sans-serif pt4 "> Default System Sans Serif</ h3 >
51
48
< p class ="system-sans-serif lh-copy measure ">
52
49
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
@@ -160,8 +157,29 @@ <h4 class="f6 fw6">Reference</h4>
160
157
< a href ="https://developer.mozilla.org/en-US/docs/Web/CSS/font-family " class ="link fw6 blue dim "> MDN - Font Family</ a >
161
158
</ div >
162
159
</ div >
163
- < section class ="bg-white black-70 pt4 pb5 overflow-container ">
160
+ < section class ="bg-white bt bb b--black-40 black-70 pt4 pb5 overflow-container ">
164
161
< header class ="ph3 ph5-ns pt4 ">
162
+ < h4 class ="f4 mv0 fw6 dib mr4 "> < %= name %> </ h4 >
163
+ < span class ="f4 b dib pl0 ml0 mr4 "> v< %= moduleVersion %> </ span >
164
+ < span class ="f4 b dib pl0 ml0 mr4 "> < %= moduleSize %> </ span >
165
+ < div >
166
+ < dl class ="dib mr4 mt0 ">
167
+ < dt class ="f6 db "> Declarations </ dt >
168
+ < dd class ="db pl0 ml0 f4 f2-ns b "> < %= moduleObj.declarations.total %> </ dd >
169
+ </ dl >
170
+ < dl class ="dib mr4 ">
171
+ < dt class ="f6 db pr2 "> Selectors </ dt >
172
+ < dd class ="db pl0 ml0 f4 f2-ns b "> < %= moduleObj.selectors.total %> </ dd >
173
+ </ dl >
174
+ < dl class ="dib mr4 ">
175
+ < dt class ="f6 db pr2 "> Max. Specificity Score </ dt >
176
+ < dd class ="db pl0 ml0 f4 f2-ns b "> < %= moduleObj.selectors.specificity.max %> </ dd >
177
+ </ dl >
178
+ < dl class ="dib mr4 ">
179
+ < dt class ="f6 db pr2 "> Size of Avg. Rule </ dt >
180
+ < dd class ="db pl0 ml0 f4 f2-ns b "> < %= moduleObj.rules.size.average %> </ dd >
181
+ </ dl >
182
+ </ div >
165
183
< kbd > src/_font-families.css</ kbd >
166
184
</ header >
167
185
< pre class ="ph3 ph5-ns ">
0 commit comments