53
53
</ header >
54
54
55
55
< main class ="bg-white black-70 ">
56
- < article class ="bt b--black-10 pa3 ph5-ns ">
57
- < h4 class ="f4 mv0 fw6 dib mr4 "> tachyons-line-height</ h4 >
58
- < span class ="f4 b dib pl0 ml0 mr4 "> v3.0.3</ span >
59
- < span class ="f4 b dib pl0 ml0 mr4 "> 151 B</ span >
60
- < div >
61
- < dl class ="dib mr4 mt0 ">
62
- < dt class ="f6 db "> Declarations </ dt >
63
- < dd class ="db pl0 ml0 f4 f2-ns b "> 12</ dd >
64
- </ dl >
65
- < dl class ="dib mr4 ">
66
- < dt class ="f6 db pr2 "> Selectors </ dt >
67
- < dd class ="db pl0 ml0 f4 f2-ns b "> 12</ dd >
68
- </ dl >
69
- < dl class ="dib mr4 ">
70
- < dt class ="f6 db pr2 "> Max. Specificity Score </ dt >
71
- < dd class ="db pl0 ml0 f4 f2-ns b "> 10</ dd >
72
- </ dl >
73
- < dl class ="dib mr4 ">
74
- < dt class ="f6 db pr2 "> Size of Avg. Rule </ dt >
75
- < dd class ="db pl0 ml0 f4 f2-ns b "> 1</ dd >
76
- </ dl >
56
+ < header class ="ph3 ph5-ns w-100 pv3 mb4 mb5-ns bt bb b--black-10 overflow-auto ">
57
+ < div class ="nowrap mw9 center ">
58
+ < a class ="f6 fw6 dim link black-70 pb2-ns mr2 mr3-m mr4-l " href ="/docs/typography/scale/ " title ="Type "> Type Scale</ a >
59
+ < a class ="f6 fw6 dim link black-70 pb2-ns mr2 mr3-m mr4-l " href ="/docs/typography/measure/ " title ="Measure "> Measure</ a >
60
+ < a class ="f6 fw6 dim link black pb2-ns mr2 mr3-m mr4-l " href ="/docs/typography/line-height " title ="Line Height "> Line Height / Leading</ a >
61
+ < a class ="f6 fw6 dim link black-70 pb2-ns mr2 mr3-m mr4-l " href ="/docs/typography/tracking " title ="Tracking "> Tracking</ a >
62
+ < 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 >
63
+ < a class ="f6 fw6 dim link black-70 pb2-ns mr2 mr3-m mr4-l " href ="/docs/typography/font-style " title ="Font Families "> Font Style</ a >
64
+ < a class ="f6 fw6 dim link black-70 pb2-ns mr2 mr3-m mr4-l " href ="/docs/typography/vertical-align " title ="Font Families "> Vertical Align</ a >
65
+ < 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 >
66
+ < 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 >
67
+ < 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 >
68
+ < 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 >
69
+ < a class ="f6 fw6 dim link black-70 pb2-ns mr2 mr3-m mr4-l " href ="/docs/typography/font-family " title ="Font Families "> Font Families</ a >
77
70
</ div >
71
+ </ header >
72
+ < article class ="pa3 ph5-ns ">
73
+ < h3 class ="f6 ttu tracked mt0 "> Line Height</ h3 >
78
74
< p class ="measure f3 lh-copy ">
79
- < b class ="bold "> line-height</ b > is a css property< br > < br >
80
- < b class ="bold "> lead</ b > < i > [rhyming with red]:</ i > < br >
75
+ < b class ="fw6 "> line-height</ b > is a css property< br > < br >
76
+ < b class ="fw6 "> lead</ b > < i > [rhyming with red]:</ i > < br >
81
77
Originally a strip of soft metal used
82
78
for vertical spacing between lines of type. Now meaning the
83
79
vertical distance from the baseline of one line to the baseline of the next. Also
84
- called < b class ="bold "> leading</ b > .
80
+ called < b class ="fw6 "> leading</ b > .
85
81
</ p >
86
82
< p class ="measure f4 lh-copy ">
87
83
There are generally 3 to 4 different line-heights you will need when setting type.
@@ -90,31 +86,34 @@ <h4 class="f4 mv0 fw6 dib mr4">tachyons-line-height</h4>
90
86
</ p >
91
87
</ article >
92
88
< div class ="ph3 ph5-ns pt4 pb5 ">
93
- < h2 class ="f3 bold "> Examples</ h2 >
94
- < h3 class ="f5 book mt5 ttu tracked "> No applied line-height (default)</ h3 >
89
+ < h3 class ="f5 mb4 "> Examples</ h3 >
90
+ < h4 class ="f5 fw4 mt5 "> No applied line-height (default)</ h4 >
95
91
< p class ="measure ">
96
92
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
97
93
tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At
98
94
vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
99
95
no sea takimata sanctus est Lorem ipsum dolor sit amet.
100
96
</ p >
101
- < h3 class ="f5 book mt5 ttu tracked "> Prose Leading (1.5)</ h3 >
97
+ < h3 class ="f5 fw4 mt5 "> Prose Leading (1.5)</ h3 >
98
+ < code class ="f6 "> <p class="lh-copy">Paragraph content</p></ code >
102
99
< p class ="measure lh-copy ">
103
100
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
104
101
tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At
105
102
vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
106
103
no sea takimata sanctus est Lorem ipsum dolor sit amet.
107
104
</ p >
108
- < h3 class ="f5 book mt5 ttu tracked "> No Applied Title Leading (Default)</ h3 >
105
+ < h3 class ="f6 fw6 mt5 "> No Applied Title Leading (Default)</ h3 >
109
106
< h4 class ="measure ttu fw6 mt0 f2 f-subheadline-l ">
110
107
Lorem ipsum dolor sit amet, consetetur sadipscing elitr
111
108
</ h4 >
112
- < h3 class ="f5 book mt5 ttu tracked "> Title Leading (1.25)</ h3 >
109
+ < h3 class ="f6 fw6 mt5 "> Title Leading (1.25)</ h3 >
110
+ < code class ="f6 "> <h1 class="lh-title">Paragraph content</h1></ code >
113
111
< h4 class ="measure lh-title ttu f2 f-subheadline-l fw6 mt0 ">
114
112
Lorem ipsum dolor sit amet, consetetur sadipscing elitr
115
113
</ h4 >
116
- < h3 class ="f5 book mt5 ttu tracked "> Solid Leading (1)</ h3 >
117
- < h4 class ="measure lh-solid ttu tracked f2 f-subheadline-l fw6 mt0 ">
114
+ < h3 class ="f6 fw6 mt5 "> Solid Leading (1)</ h3 >
115
+ < code class ="f6 "> <h4 class="lh-solid">Paragraph content</h4></ code >
116
+ < h4 class ="measure lh-solid f2 f-subheadline-l fw6 mt0 ">
118
117
Lorem ipsum dolor sit amet, consetetur sadipscing elitr
119
118
</ h4 >
120
119
< div class ="mt5 cf ">
@@ -132,7 +131,28 @@ <h4 class="f6 fw6">Reference</h4>
132
131
< a href ="https://developer.mozilla.org/en-US/docs/Web/CSS/line-height " class ="link fw6 blue dim "> MDN - Line Height</ a >
133
132
</ div >
134
133
</ div >
135
- < section class ="bg-white black-70 pt4 pb5 overflow-container ">
134
+ < section class ="bg-white bt bb b--black-40 black-70 pv4 overflow-container ">
135
+ < h4 class ="f4 mv0 fw6 dib mr4 "> tachyons-line-height</ h4 >
136
+ < span class ="f4 b dib pl0 ml0 mr4 "> v3.0.3</ span >
137
+ < span class ="f4 b dib pl0 ml0 mr4 "> 151 B</ span >
138
+ < div >
139
+ < dl class ="dib mr4 mt0 ">
140
+ < dt class ="f6 db "> Declarations </ dt >
141
+ < dd class ="db pl0 ml0 f4 f2-ns b "> 12</ dd >
142
+ </ dl >
143
+ < dl class ="dib mr4 ">
144
+ < dt class ="f6 db pr2 "> Selectors </ dt >
145
+ < dd class ="db pl0 ml0 f4 f2-ns b "> 12</ dd >
146
+ </ dl >
147
+ < dl class ="dib mr4 ">
148
+ < dt class ="f6 db pr2 "> Max. Specificity Score </ dt >
149
+ < dd class ="db pl0 ml0 f4 f2-ns b "> 10</ dd >
150
+ </ dl >
151
+ < dl class ="dib mr4 ">
152
+ < dt class ="f6 db pr2 "> Size of Avg. Rule </ dt >
153
+ < dd class ="db pl0 ml0 f4 f2-ns b "> 1</ dd >
154
+ </ dl >
155
+ </ div >
136
156
< header class ="ph3 ph5-ns pt4 ">
137
157
< kbd > src/_line-height.css</ kbd >
138
158
</ header >
0 commit comments