15
15
< header class ="w-100 pa3 ph5-ns bg-near-white ">
16
16
< div class ="dt w-100 ">
17
17
< div class ="dtc v-mid tl w-50 ">
18
- < a href ="/ " class ="f5 f4-ns fw6 mt0 mb1 link black-50 " title ="Home ">
18
+ < a href ="/ " class ="dib f5 f4-ns fw6 mt0 mb1 link black-50 dim " title ="Home ">
19
19
Tachyons
20
20
< div class ="dib ">
21
- < small class ="nowrap f6 mt2 mt3-ns pr2 black-50 "> v4.0.1 -beta</ small >
21
+ < small class ="nowrap f6 mt2 mt3-ns pr2 black-50 fw2 "> v4.0.2 -beta</ small >
22
22
</ div >
23
23
</ a >
24
24
</ div >
25
- < div class ="db dtc-l v-mid w-100 w-50-l tr ">
25
+ < div class ="db dtc v-mid w-100 tr ">
26
+
26
27
< a title ="Documentation " href ="/docs/ "
27
- class ="f6 b dim link black-50 mr1 mr3-m mr4-l ">
28
+ class ="f6 b dim link black-50 mr1 mr3-m mr4-l dib ">
28
29
Docs
29
30
</ a >
30
31
< a title ="Tachyons on GitHub " href ="http://github.com/mrmrs/tachyons/ "
31
- class ="f6 b dim link black-50 mr1 mr3-m mr4-l ">
32
+ class ="f6 b dim link black-50 mr1 mr3-m mr4-l dib ">
32
33
GitHub
33
34
</ a >
34
35
< a title ="Tachyons Npm Modules " href ="/#npm "
35
- class ="f6 b link black-50 tc dim ">
36
+ class ="f6 b link black-50 dim dib ">
36
37
Npm
37
38
</ a >
38
39
</ div >
39
40
</ div >
40
- < nav class ="pv2 dn ">
41
- < a class ="f6 fw6 link dim dib mr3 mid-gray " href ="/docs/ "> Docs</ a >
42
- < a class ="f6 fw6 link dim dib mr3 mid-gray " href ="/docs/general "> General</ a >
43
- < a class ="f6 fw6 link dim dib mr3 mid-gray " href ="/docs/typography "> Typography</ a >
44
- < a class ="f6 fw6 link dim dib mr2 mid-gray " href ="/docs/layout "> Layout</ a >
45
- < a class ="f6 fw6 link dim dib mr2 mid-gray " href ="/docs/themes "> Themes</ a >
46
- </ nav >
47
41
</ header >
48
42
49
43
< main class ="w-100 ">
50
- < section class ="bt b--black-10 bg-black-0125 dt w-100 pv5 pv6-ns ">
44
+ < section class ="bt b--black-10 bg-black-0125 w-100 pv5 pv6-ns ">
45
+ < article class ="ph3 ph5-ns ">
46
+ < iframe src ="https://ghbtns.com/github-btn.html?user=tachyons-css&repo=tachyons&type=star&count=true " frameborder ="0 " scrolling ="0 " width ="100px " height ="20px "> </ iframe >
47
+ < iframe src ="https://ghbtns.com/github-btn.html?user=tachyons-css&repo=tachyons&type=fork&count=true " frameborder ="0 " scrolling ="0 " width ="100px " height ="20px "> </ iframe >
48
+ </ article >
49
+ < article class ="ph3 ph5-ns mb4 mb5-ns ">
50
+ < h1 > Getting Started</ h1 >
51
+ < p class ="measure lh-copy ">
52
+ Copy the line of code below and paste it in the head of the html file(s) you want to include tachyons in.
53
+ </ p >
54
+ < pre class ="pre black-70 "> < code class ="code f6 dib pa2 bg-near-white " style ="font-size: 14px; "> <link rel="stylesheet" href="https://s3-us-west-1.amazonaws.com/tachyons-css/4.0.1-beta/tachyons.min.css"></ code > </ pre >
55
+ < p class ="mt4 "> < b > or</ b > install via npm</ p >
56
+ < pre class ="pre black-70 "> < code class ="code f6 dib pa2 bg-near-white " style ="font-size: 14px; "> npm install --save-dev tachyons</ code > </ pre >
57
+ < p class ="mt4 "> < b > or</ b > grab all the source files and build+develop locally</ p >
58
+ < pre class ="pre black-70 "> < code class ="code f6 dib pa2 bg-near-white " style ="font-size: 14px; "> git clone git@github.com:tachyons-css/tachyons.git
59
+ cd tachyons
60
+ npm install && npm build
61
+ </ code > </ pre >
62
+ </ article >
51
63
< div class ="ph3 ph5-ns tl tl-ns ">
52
64
< h1 class ="f4 ttu tracked fw4 "> Principles</ h1 >
53
65
< section class ="list pln lh-copy mt0 ">
@@ -173,7 +185,7 @@ <h2 class="f4 f3-ns fw6 mb0">Responsive Grid</h2>
173
185
< div class ="ph3 ph5-ns ">
174
186
< h1 class ="f5 fw6 ttu tracked "> Testimonials</ h1 >
175
187
< div class ="cf w-100 ">
176
- < blockquote class ="fl w-100 w-50-ns mh0 ">
188
+ < blockquote class ="fl w-100 w-50-ns mh0 pr0 pr3-ns border-box ">
177
189
< p class ="f6 f5-ns measure lh-copy pr1 pr0-l ">
178
190
After I embraced the “lots of little classes” way of styling, my anger at CSS
179
191
almost completely went away and I was much more easily able to style and modify
@@ -185,29 +197,34 @@ <h1 class="f5 fw6 ttu tracked">Testimonials</h1>
185
197
</ p >
186
198
</ footer >
187
199
</ blockquote >
188
- < blockquote class ="fl w-100 w-50-ns mh0 ">
189
- < p class ="f6 f5-ns measure lh-copy pl1 pl0-l ">
190
- CSS libraries like Brent Jackson’s < a href ="http://basscss.com " class ="link dim mid-gray "> BassCSS</ a > and Adam Morse’s Tachyons are the bastions of this approach to CSS, and it’s easy to see why.
200
+ < blockquote class ="fl w-100 w-50-ns mh0 mb2 mb5-ns pl0 pl3-ns border-box ">
201
+ < p class ="f6 f5-ns measure lh-copy ">
202
+ It turns out composing utilities together like that is a really nice way to style things.
203
+ Adam Morse has taken this to its logical conclusion with Tachyons...
191
204
</ p >
192
205
< footer >
193
206
< p >
194
- < span class ="b "> Cole Peters </ span > - < i > Designer </ i >
207
+ < span class ="b "> Ben Smithett </ span > - < i > Developer </ i >
195
208
</ p >
196
209
</ footer >
197
210
</ blockquote >
198
211
</ div >
199
- < blockquote class ="mh0 mb2 mb5-ns ">
200
- < p class ="f6 f5- ns measure lh-copy ">
201
- It turns out composing utilities together like that is a really nice way to style things.
202
- Adam Morse has taken this to its logical conclusion with Tachyons...
203
- </ p >
204
- < footer >
205
- < p >
206
- < span class =" b " > Ben Smithett </ span > - < i > Developer </ i >
212
+ < div class ="cf w-100 ">
213
+ < blockquote class ="fl w-100 w-50- ns mh0 mb2 mb5-ns pr0 pr3-ns border-box ">
214
+ < p class =" f6 f5-ns measure lh-copy " >
215
+ It seems silly at first to write code that looks like inline HTML
216
+ styling but Tachyons works. Instead of wasting time hunting down
217
+ and dealing with CSS overrides, I now spend time iterating on the
218
+ design... which is what we're supposed to be doing in the first
219
+ place :)
207
220
</ p >
208
- </ footer >
209
- </ blockquote >
210
- < blockquote class ="fl w-100 w-50-ns mh0 ">
221
+ < footer >
222
+ < p >
223
+ < span class ="b "> Jason Li</ span > - < i > Illustrator & Designer</ i >
224
+ </ p >
225
+ </ footer >
226
+ </ blockquote >
227
+ < blockquote class ="fl w-100 w-50-ns mh0 pl0 pl3-ns border-box ">
211
228
< p class ="f6 f5-ns measure lh-copy pl1 pl0-l ">
212
229
I’ve found extremely low-level “frameworks” like BassCSS and Tachyons useful recently. They let you do the whole “just add and remove classes to create elements” thing but also don’t lock you into the constraints and issues of higher level frameworks like Bootstrap.
213
230
</ p >
@@ -217,45 +234,33 @@ <h1 class="f5 fw6 ttu tracked">Testimonials</h1>
217
234
</ p >
218
235
</ footer >
219
236
</ blockquote >
220
- < blockquote class ="mh0 mb2 mb5-ns ">
221
- < p class ="f6 f5-ns measure lh-copy ">
222
- It seems silly at first to write code that looks like inline HTML
223
- styling but Tachyons works. Instead of wasting time hunting down
224
- and dealing with CSS overrides, I now spend time iterating on the
225
- design... which is what we're supposed to be doing in the first
226
- place :)
227
- </ p >
228
- < footer >
229
- < p >
230
- < span class ="b "> Jason Li</ span > - < i > Illustrator & Designer</ i >
231
- </ p >
232
- </ footer >
233
- </ blockquote >
234
- < blockquote class ="ml0 mb2 mb5-ns ">
235
- < p class ="f6 f5-ns measure lh-copy ">
236
- CSS frameworks shouldn't be one-size-fits-all. Tachyons nails it
237
- with its modular approach, eliminating bloat from day one.
238
- </ p >
239
- < footer >
240
- < p >
241
- < span class ="b "> Philip Ardeljan</ span > - < i > Designer</ i >
237
+ </ div >
238
+ < div class ="cf w-100 ">
239
+ < blockquote class ="fl w-100 w-50-ns mh0 mb2 mb5-ns pr0 pr3-ns border-box ">
240
+ < p class ="f6 f5-ns measure lh-copy ">
241
+ CSS frameworks shouldn't be one-size-fits-all. Tachyons nails it
242
+ with its modular approach, eliminating bloat from day one.
242
243
</ p >
243
- </ footer >
244
- </ blockquote >
245
- < blockquote class ="ml0 mb2 mb4-ns " >
246
- < p class =" f6 f5-ns measure lh-copy " >
247
- Tachyons nails everything you need from a CSS framework.
248
- Development goes faster, designs are more consistent, and best of
249
- all it’s a ton of fun to play with.
250
- </ p >
251
- < footer >
252
- < p >
253
- < span class =" b " > Lachlan Campbell </ span > - < i > Designer / Developer </ i >
244
+ < footer >
245
+ < p >
246
+ < span class ="b " > Philip Ardeljan </ span > - < i > Designer </ i >
247
+ </ p >
248
+ </ footer >
249
+ </ blockquote >
250
+ < blockquote class =" fl w-100 w-50-ns mh0 mb2 mb5-ns pl0 pl3-ns border-box " >
251
+ < p class =" f6 f5-ns measure lh-copy " >
252
+ Tachyons nails everything you need from a CSS framework.
253
+ Development goes faster, designs are more consistent, and best of
254
+ all it’s a ton of fun to play with.
254
255
</ p >
255
- </ footer >
256
- </ blockquote >
256
+ < footer >
257
+ < p >
258
+ < span class ="b "> Lachlan Campbell </ span > - < i > Designer / Developer</ i >
259
+ </ p >
260
+ </ footer >
261
+ </ blockquote >
262
+ </ div >
257
263
</ div >
258
- </ div >
259
264
</ section >
260
265
< section class ="bg-white dt h-100 navy pv5 pv6-ns " id ="npm ">
261
266
< div class ="mw7 center ph3 ph5-ns tl tl-ns ">
@@ -580,9 +585,18 @@ <h3 class="f5 fw6 ttu tracked"><a href="#npm" class="link mid-gray">Tachyons on
580
585
</ section >
581
586
</ main >
582
587
< footer class ="bg-near-white mid-gray ph3 ph5-ns pv5 pv6-ns bt b--light-gray ">
588
+ < a href ="https://twitter.com/intent/tweet?text=Tachyons: Functional CSS for Humans.&url=http://tachyons.io " target ="_blank " class ="dn mb3 twitter bg-white link dim br2 ph2 pb1 pt0 lh-solid " style ="background-color: #55acee; ">
589
+ < svg class ="geomicon dib v-mid " xmlns ="http://www.w3.org/2000/svg " viewBox ="0 0 32 32 " width ="16 " height ="16 " fill ="#fff ">
590
+ < path d ="M2 4 C6 8 10 12 15 11 A6 6 0 0 1 22 4 A6 6 0 0 1 26 6 A8 8 0 0 0 31 4 A8 8 0 0 1 28 8 A8 8 0 0 0 32 7 A8 8 0 0 1 28 11 A18 18 0 0 1 10 30 A18 18 0 0 1 0 27 A12 12 0 0 0 8 24 A8 8 0 0 1 3 20 A8 8 0 0 0 6 19.5 A8 8 0 0 1 0 12 A8 8 0 0 0 3 13 A8 8 0 0 1 2 4 "/>
591
+ </ svg >
592
+ < span class ="dib v-mid white fw6 " style ="font-size: 12px; "> Tweet</ span >
593
+ </ a >
594
+ < article >
595
+ < iframe src ="https://ghbtns.com/github-btn.html?user=tachyons-css&repo=tachyons&type=star&count=true " frameborder ="0 " scrolling ="0 " width ="100px " height ="20px "> </ iframe >
596
+ < iframe src ="https://ghbtns.com/github-btn.html?user=tachyons-css&repo=tachyons&type=fork&count=true " frameborder ="0 " scrolling ="0 " width ="100px " height ="20px "> </ iframe >
597
+ </ article >
583
598
584
599
< p >
585
-
586
600
< a class ="black-70 link dim b dib mr3 " href ="http://tachyons-slack-invite.herokuapp.com " title ="Join our Slack Channel ">
587
601
Join our Slack Channel
588
602
</ a >
0 commit comments