Skip to content

Commit 189a7b9

Browse files
author
mrmrs
committed
Update docs!
1 parent 347ff77 commit 189a7b9

File tree

2 files changed

+53
-32
lines changed

2 files changed

+53
-32
lines changed

docs/typography/line-height/index.html

+52-32
Original file line numberDiff line numberDiff line change
@@ -53,35 +53,31 @@
5353
</header>
5454

5555
<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>
7770
</div>
71+
</header>
72+
<article class="pa3 ph5-ns">
73+
<h3 class="f6 ttu tracked mt0">Line Height</h3>
7874
<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>
8177
Originally a strip of soft metal used
8278
for vertical spacing between lines of type. Now meaning the
8379
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>.
8581
</p>
8682
<p class="measure f4 lh-copy">
8783
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>
9086
</p>
9187
</article>
9288
<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>
9591
<p class="measure">
9692
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
9793
tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At
9894
vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
9995
no sea takimata sanctus est Lorem ipsum dolor sit amet.
10096
</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">&lt;p class="lh-copy"&gt;Paragraph content&lt;/p&gt;</code>
10299
<p class="measure lh-copy">
103100
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
104101
tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At
105102
vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
106103
no sea takimata sanctus est Lorem ipsum dolor sit amet.
107104
</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>
109106
<h4 class="measure ttu fw6 mt0 f2 f-subheadline-l">
110107
Lorem ipsum dolor sit amet, consetetur sadipscing elitr
111108
</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">&lt;h1 class="lh-title"&gt;Paragraph content&lt;/h1&gt;</code>
113111
<h4 class="measure lh-title ttu f2 f-subheadline-l fw6 mt0">
114112
Lorem ipsum dolor sit amet, consetetur sadipscing elitr
115113
</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">&lt;h4 class="lh-solid"&gt;Paragraph content&lt;/h4&gt;</code>
116+
<h4 class="measure lh-solid f2 f-subheadline-l fw6 mt0">
118117
Lorem ipsum dolor sit amet, consetetur sadipscing elitr
119118
</h4>
120119
<div class="mt5 cf">
@@ -132,7 +131,28 @@ <h4 class="f6 fw6">Reference</h4>
132131
<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/line-height" class="link fw6 blue dim">MDN - Line Height</a>
133132
</div>
134133
</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>
136156
<header class="ph3 ph5-ns pt4">
137157
<kbd>src/_line-height.css</kbd>
138158
</header>

docs/typography/measure/index.html

+1
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
</div>
7171
</header>
7272
<article class="pa3 ph5-ns">
73+
<h3 class="f6 ttu tracked mt0">Measure</h3>
7374
<p class="measure f4 lh-copy">
7475
Measure refers to the length of a line of text. It is one of the most important aspects
7576
of readability.

0 commit comments

Comments
 (0)