File tree Expand file tree Collapse file tree 3 files changed +34
-6
lines changed
docs/typography/vertical-align Expand file tree Collapse file tree 3 files changed +34
-6
lines changed Original file line number Diff line number Diff line change 42
42
</ header >
43
43
44
44
< 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 ">
46
46
< h4 class ="f4 mv0 fw6 dib mr4 "> tachyons-vertical-align</ h4 >
47
47
< span class ="f4 b dib pl0 ml0 mr4 "> v2.0.2</ span >
48
48
< 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>
64
64
< dd class ="db pl0 ml0 f4 f2-ns b "> 1</ dd >
65
65
</ dl >
66
66
</ 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 >
67
75
</ article >
68
76
< div class ="ph3 ph5-ns pt4 pb5 ">
69
- < h2 class ="f3 bold "> Examples</ h2 >
77
+ < h2 class ="f4 bold "> Examples</ h2 >
70
78
< h3 class ="f5 book sans-serif pt4 caps "> Inline Alignment</ h3 >
71
- < p class ="f3 measure ">
79
+ < p class ="f4 measure ">
72
80
Lorem ipsum dolor sit amet, consetetur sadipscing
73
81
< span class ="v-sub bg-lightest-red "> Sub aligned text (v-sub)</ span >
74
82
elitr, sed diam nonumy eirmod
Original file line number Diff line number Diff line change 15
15
16
16
< %= siteHeader %>
17
17
< 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 ">
19
19
< h4 class ="f4 mv0 fw6 dib mr4 "> < %= name %> </ h4 >
20
20
< span class ="f4 b dib pl0 ml0 mr4 "> v< %= moduleVersion %> </ span >
21
21
< span class ="f4 b dib pl0 ml0 mr4 "> < %= moduleSize %> </ span >
@@ -37,11 +37,19 @@ <h4 class="f4 mv0 fw6 dib mr4"><%= name %></h4>
37
37
< dd class ="db pl0 ml0 f4 f2-ns b "> < %= moduleObj.rules.size.average %> </ dd >
38
38
</ dl >
39
39
</ 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 >
40
48
</ article >
41
49
< div class ="ph3 ph5-ns pt4 pb5 ">
42
- < h2 class ="f3 bold "> Examples</ h2 >
50
+ < h2 class ="f4 bold "> Examples</ h2 >
43
51
< h3 class ="f5 book sans-serif pt4 caps "> Inline Alignment</ h3 >
44
- < p class ="f3 measure ">
52
+ < p class ="f4 measure ">
45
53
Lorem ipsum dolor sit amet, consetetur sadipscing
46
54
< span class ="v-sub bg-lightest-red "> Sub aligned text (v-sub)</ span >
47
55
elitr, sed diam nonumy eirmod
Original file line number Diff line number Diff line change @@ -233,6 +233,18 @@ <h1 class="f5 fw6 ttu tracked">Testimonials</h1>
233
233
</ footer >
234
234
</ blockquote >
235
235
</ 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 >
236
248
</ div >
237
249
</ section >
238
250
< section class ="bg-white dt h-100 navy pv5 pv6-ns " id ="npm ">
You can’t perform that action at this time.
0 commit comments