Skip to content

Commit 621a8e7

Browse files
author
mrmrs
committed
Update vertical-align docs page with deleted content.
1 parent 119c4c1 commit 621a8e7

File tree

3 files changed

+34
-6
lines changed

3 files changed

+34
-6
lines changed

docs/typography/vertical-align/index.html

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
</header>
4343

4444
<main class="">
45-
<article class="bg-near-white bt b--black-10 ph3 pt3 ph5-ns">
45+
<article class="bg-near-white bt b--black-10 pa3 ph5-ns">
4646
<h4 class="f4 mv0 fw6 dib mr4">tachyons-vertical-align</h4>
4747
<span class="f4 b dib pl0 ml0 mr4">v2.0.2</span>
4848
<span class="f4 b dib pl0 ml0 mr4">242 B</span>
@@ -64,11 +64,19 @@ <h4 class="f4 mv0 fw6 dib mr4">tachyons-vertical-align</h4>
6464
<dd class="db pl0 ml0 f4 f2-ns b">1</dd>
6565
</dl>
6666
</div>
67+
<p class="measure f4 f3-ns lh-copy">
68+
Use vertical align to set typography just right. Vertical align
69+
works on text and on table cells.
70+
</p>
71+
<p class="measure f5 f4-ns lh-copy">
72+
This documents how vertical align affects text elements. If you'd
73+
like to see how to vertically align elements - checkout the layout documentation.
74+
</p>
6775
</article>
6876
<div class="ph3 ph5-ns pt4 pb5">
69-
<h2 class="f3 bold">Examples</h2>
77+
<h2 class="f4 bold">Examples</h2>
7078
<h3 class="f5 book sans-serif pt4 caps">Inline Alignment</h3>
71-
<p class="f3 measure">
79+
<p class="f4 measure">
7280
Lorem ipsum dolor sit amet, consetetur sadipscing
7381
<span class="v-sub bg-lightest-red">Sub aligned text (v-sub)</span>
7482
elitr, sed diam nonumy eirmod

src/templates/docs/vertical-align/index.html

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
<%= siteHeader %>
1717
<main class="">
18-
<article class="bg-near-white bt b--black-10 ph3 pt3 ph5-ns">
18+
<article class="bg-near-white bt b--black-10 pa3 ph5-ns">
1919
<h4 class="f4 mv0 fw6 dib mr4"><%= name %></h4>
2020
<span class="f4 b dib pl0 ml0 mr4">v<%= moduleVersion %></span>
2121
<span class="f4 b dib pl0 ml0 mr4"><%= moduleSize %></span>
@@ -37,11 +37,19 @@ <h4 class="f4 mv0 fw6 dib mr4"><%= name %></h4>
3737
<dd class="db pl0 ml0 f4 f2-ns b"><%= moduleObj.rules.size.average %></dd>
3838
</dl>
3939
</div>
40+
<p class="measure f4 f3-ns lh-copy">
41+
Use vertical align to set typography just right. Vertical align
42+
works on text and on table cells.
43+
</p>
44+
<p class="measure f5 f4-ns lh-copy">
45+
This documents how vertical align affects text elements. If you'd
46+
like to see how to vertically align elements - checkout the layout documentation.
47+
</p>
4048
</article>
4149
<div class="ph3 ph5-ns pt4 pb5">
42-
<h2 class="f3 bold">Examples</h2>
50+
<h2 class="f4 bold">Examples</h2>
4351
<h3 class="f5 book sans-serif pt4 caps">Inline Alignment</h3>
44-
<p class="f3 measure">
52+
<p class="f4 measure">
4553
Lorem ipsum dolor sit amet, consetetur sadipscing
4654
<span class="v-sub bg-lightest-red">Sub aligned text (v-sub)</span>
4755
elitr, sed diam nonumy eirmod

src/templates/index.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,18 @@ <h1 class="f5 fw6 ttu tracked">Testimonials</h1>
233233
</footer>
234234
</blockquote>
235235
</div>
236+
<div class="cf w-100">
237+
<blockquote class="fl w-100 w-50-ns mh0 mb2 mb5-ns pr0 pr3-ns border-box">
238+
<p class="f6 f5-ns measure lh-copy">
239+
I never understood how people did font ratios and table layouts nicely with CSS until @mrmrs showed me the light.
240+
</p>
241+
<footer>
242+
<p>
243+
<span class="b">Nat</span> - <i>Ops</i>
244+
</p>
245+
</footer>
246+
</blockquote>
247+
</div>
236248
</div>
237249
</section>
238250
<section class="bg-white dt h-100 navy pv5 pv6-ns" id="npm">

0 commit comments

Comments
 (0)