Skip to content

Commit 026eee0

Browse files
author
mrmrs
committed
Update docs
1 parent f9d80f1 commit 026eee0

File tree

8 files changed

+33
-29
lines changed

8 files changed

+33
-29
lines changed

docs/typography/font-family/index.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<title>
66
tachyons-font-family / Typography / Docs / TACHYONS
77
</title>
8-
<meta name="description" content="">
8+
<meta name="description" content="Documentation about the system fonts available for use with Tachyons">
99
<meta charset="utf-8">
1010
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
1111
<meta name="author" content="@mrmrs">
@@ -71,6 +71,7 @@
7171
</div>
7272
</header>
7373
<article class="pa3 ph5-ns">
74+
<h3 class="f6 ttu tracked mt0">Font Family</h3>
7475
<p class="measure f4 f3-ns lh-copy">
7576
There are several pre-defined classes for setting the typeface of a page or element. It is suggested
7677
that you customize or extend this module to suit your own needs. As tachyons is a toolkit for designing
@@ -85,7 +86,7 @@
8586
</p>
8687
</article>
8788
<div class="ph3 ph5-ns pt4 pb5">
88-
<h2 class="f3 bold">Examples</h2>
89+
<h3 class="f5 mb4 pb2 bb">Examples</h3>
8990
<h3 class="f5 fw4 sans-serif pt4">Default System Sans Serif</h3>
9091
<p class="system-sans-serif lh-copy measure">
9192
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod

docs/typography/font-style/index.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<title>
55
Font Style / Typography / Docs / TACHYONS
66
</title>
7-
<meta name="description" content="css">
7+
<meta name="description" content="Documentation for setting font style with the Tachyons css framework.">
88
<meta charset="utf-8">
99
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
1010
<meta name="author" content="@mrmrs">
@@ -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 f3-ns lh-copy">
7475
Single purpose classes to set the font-style of any element at any breakpoint.
7576
</p>
@@ -79,7 +80,7 @@
7980
</p>
8081
</article>
8182
<div class="ph3 ph5-ns pt4 pb5">
82-
<h2 class="f3 bold">Examples</h2>
83+
<h3 class="f5 mb4 pb2 bb">Examples</h3>
8384
<code class="f6">
8485
&lt;p class="i"&gt;&lt;/p&gt;
8586
</code>

docs/typography/font-weight/index.html

Lines changed: 4 additions & 4 deletions
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">Font Weight</h3>
7374
<p class="measure f4 f3-ns lh-copy">
7475
Single purpose classes to set the font-weight of any element at any breakpoint.
7576
</p>
@@ -83,14 +84,13 @@
8384
</p>
8485
</article>
8586
<div class="ph3 ph5-ns pt4 pb5">
86-
<h2 class="f3 bold">Examples</h2>
87-
88-
<h3 class="f5 book sans-serif pt4 caps black-100">String Values</h3>
87+
<h3 class="f5 mb4 pb2 bb">Examples</h3>
88+
<h3 class="f5 fw4 pt4">String Values</h3>
8989
<div class="cf">
9090
<div class="fl f5 f2-m f1-l normal v-mid tc"><span class="db bg-washed-blue pv3 ba b--white ph4">Aa <span class="db f6 fw4">normal</span></span></div>
9191
<div class="fl f5 f2-m f1-l b v-mid tc"><span class="db bg-washed-blue pv3 ba b--white ph4">Aa <span class="db f6 fw4">b</span></span></div>
9292
</div>
93-
<h3 class="f5 book sans-serif pt4 caps black-100">Literal Number Values</h3>
93+
<h3 class="f5 fw4 pt4">Literal Number Values</h3>
9494
<div class="dt w-100" style="table-layout: fixed;">
9595
<div class="dtc f5 f2-m f1-l fw1 v-mid tc"><span class="db bg-washed-blue pv3 ba b--white">Aa <span class="db f6 fw4">100</span></span></div>
9696
<div class="dtc f5 f2-m f1-l fw2 v-mid tc"><span class="db bg-washed-blue pv3 ba b--white">Aa <span class="db f6 fw4">200</span></span></div>

docs/typography/line-height/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ <h4 class="f6 fw6">Reference</h4>
132132
<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/line-height" class="link fw6 blue dim">MDN - Line Height</a>
133133
</div>
134134
</div>
135-
<section class="bg-white bt bb b--black-40 black-70 pv4 mb4 overflow-container">
135+
<section class="bg-white bt bb b--black-40 black-70 pv4 mb5 overflow-container">
136136
<header class="ph3 ph5-ns pt4">
137137
<h4 class="f4 mv0 fw6 dib mr4">tachyons-line-height</h4>
138138
<span class="f4 b dib pl0 ml0 mr4">v3.0.3</span>

docs/typography/text-align/index.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
</div>
7171
</header>
7272
<article class="pa3 ph5-ns">
73-
<article class="bt b--black-10 pa3 ph5-ns">
73+
<h3 class="f6 ttu tracked mt0">Text Align</h3>
7474
<p class="measure f4 f3-ns lh-copy">
7575
Designing for readability across infinite screen-sizes
7676
often times requires setting elements to have different text-alignments across breakpoints.
@@ -80,16 +80,16 @@
8080
</p>
8181
</article>
8282
<div class="ph3 ph5-ns pt4 pb5">
83-
<h2 class="f3 b">Examples</h2>
84-
<h3 class="f5 fw4 pt4 caps">Text Align Left</h3>
85-
<p class="measure bg-black-10">
83+
<h3 class="f5 mb4 pb2 bb">Examples</h3>
84+
<code class="f6">&lt;p class="tl"&gt;Aligned Left&lt;/p&gt;</code>
85+
<p class="tl measure bg-black-10">
8686
Aligned Left
8787
</p>
88-
<h3 class="f5 fw4 pt4 caps">Text Align Right</h3>
88+
<code class="f6">&lt;p class="tr"&gt;Aligned Right&lt;/p&gt;</code>
8989
<p class="tr measure bg-black-10">
9090
Aligned Right
9191
</p>
92-
<h3 class="f5 fw4 pt4 caps">Text Align Center</h3>
92+
<code class="f6">&lt;p class="tc"&gt;Aligned Center&lt;/p&gt;</code>
9393
<p class="tc measure bg-black-10">
9494
Aligned to the center
9595
</p>
@@ -108,7 +108,7 @@ <h4 class="f6 fw6">Reference</h4>
108108
<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/text-align" class="link fw6 blue dim">MDN - Text Align</a>
109109
</div>
110110
</div>
111-
<section class="bg-white bt bb b--black-40 black-70 pt4 pb5 overflow-container">
111+
<section class="bg-white bt bb b--black-40 black-70 pv4 mb5 overflow-container">
112112
<header class="ph3 ph5-ns pt4">
113113
<h4 class="f4 mv0 fw6 dib mr4">tachyons-text-align</h4>
114114
<span class="f4 b dib pl0 ml0 mr4">v3.0.1</span>

docs/typography/text-decoration/index.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,23 +71,24 @@
7171
</div>
7272
</header>
7373
<article class="pa3 ph5-ns">
74+
<h3 class="f6 ttu tracked mt0">Text Decoration</h3>
7475
<p class="measure f4 f3-ns lh-copy">
7576
Utilities for decorating text with underlines, or removing
7677
the default underlines browsers put on links.
7778
</p>
7879
</article>
7980
<div class="ph3 ph5-ns pt4 pb5">
80-
<h2 class="f3 b">Examples</h2>
81-
<h3 class="f5 fw4 pt4 ttu tracked">Text Decoration None</h3>
81+
<h3 class="f5 mb4 pb2 bb">Examples</h3>
82+
<h3 class="f5 fw4 pt4 ">Text Decoration None</h3>
8283
<a href="#" class="no-underline">Text Decoration None on a Link</a>
83-
<h3 class="f5 fw4 pt4 ttu tracked">Text Decoration Underline</h3>
84+
<h3 class="f5 fw4 pt4 ">Text Decoration Underline</h3>
8485
<p class="underline measure">
8586
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
8687
tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At
8788
vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
8889
no sea takimata sanctus est Lorem ipsum dolor sit amet.
8990
</p>
90-
<h3 class="f5 fw4 pt4 ttu tracked">Text Decoration Strikethrough</h3>
91+
<h3 class="f5 fw4 pt4 ">Text Decoration Strikethrough</h3>
9192
<p class="strike">Lorem ipsum dolor sit amet</p>
9293
<div class="mt5 cf">
9394
<div class="dib mr4">

docs/typography/vertical-align/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<title>
55
Vertical Align / Typography / Docs / TACHYONS
66
</title>
7-
<meta name="description" content="css">
7+
<meta name="description" content="Documentation for setting vertical align with the Tachyons css framework.">
88
<meta charset="utf-8">
99
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
1010
<meta name="author" content="@mrmrs">
@@ -24,8 +24,7 @@
2424
</style>
2525

2626
</head>
27-
<body class="w-100 sans-serif">
28-
27+
<body class="w-100">
2928
<header class="w-100 pa3 ph5-ns bg-white">
3029
<div class="dt mw9 center w-100">
3130
<div class="dtc v-mid tl w-50">
@@ -71,6 +70,7 @@
7170
</div>
7271
</header>
7372
<article class="pa3 ph5-ns">
73+
<h3 class="f6 ttu tracked mt0">Vertical Align</h3>
7474
<p class="measure f4 f3-ns lh-copy">
7575
Use vertical align to set typography just right. Vertical align
7676
works on text and on table cells.
@@ -81,7 +81,7 @@
8181
</p>
8282
</article>
8383
<div class="ph3 ph5-ns pt4 pb5">
84-
<h2 class="f4 bold">Examples</h2>
84+
<h3 class="f5 mb4 pb2 bb">Examples</h3>
8585
<h3 class="f5 book sans-serif pt4 caps">Inline Alignment</h3>
8686
<p class="f4 measure">
8787
Lorem ipsum dolor sit amet, consetetur sadipscing

docs/typography/white-space/index.html

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<title>
55
White Space / Typography / Docs / TACHYONS
66
</title>
7-
<meta name="description" content="css">
7+
<meta name="description" content="Documentation for adjusting white-space with the Tachyons css framework.">
88
<meta charset="utf-8">
99
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
1010
<meta name="author" content="@mrmrs">
@@ -24,8 +24,7 @@
2424
</style>
2525

2626
</head>
27-
<body class="w-100 sans-serif">
28-
27+
<body class="w-100">
2928
<header class="w-100 pa3 ph5-ns bg-white">
3029
<div class="dt mw9 center w-100">
3130
<div class="dtc v-mid tl w-50">
@@ -71,8 +70,10 @@
7170
</div>
7271
</header>
7372
<article class="pa3 ph5-ns">
73+
<h3 class="f6 ttu tracked mt0">White Space</h3>
7474
<p class="measure f4 f3-ns lh-copy">
75-
White space in css is used to control how whitespace is rendered. Creative, I know.
75+
White space in css is used to control how whitespace is rendered.
76+
Creative, I know.
7677
</p>
7778
<p class="measure f5 f4-ns lh-copy">
7879
<b>Normal</b> supresses white space characters and breaks lines based on the width of the element
@@ -83,7 +84,7 @@
8384
</p>
8485
</article>
8586
<div class="ph3 ph5-ns pt4 pb5">
86-
<h2 class="f4 bold">Examples</h2>
87+
<h3 class="f5 mb4 pb2 bb">Examples</h3>
8788
<p class="f5 f4-ns measure lh-copy">This text is formatted the same way in the source and printed three times, with the only difference being which white-space class is attached.</p>
8889
<h3 class="f5 book pt4 code">.ws-normal</h3>
8990
<p class="ws-normal measure">

0 commit comments

Comments
 (0)