Skip to content

Commit 63b6338

Browse files
author
mrmrs
committed
Add the new 4.3.0 css
1 parent 548016e commit 63b6338

File tree

7 files changed

+45
-9
lines changed

7 files changed

+45
-9
lines changed

css/tachyons.css

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* TACHYONS v4.2.1 | http://github.com/tachyons-css/tachyons */
1+
/* TACHYONS v4.3.0 | http://github.com/tachyons-css/tachyons */
22
/*
33
*
44
* ________ ______
@@ -303,7 +303,11 @@ img { max-width: 100%; }
303303
to that of the current text color. These classes are for the cases
304304
where you desire for the text and border colors to be different.
305305
306-
b = border
306+
Base:
307+
b = border
308+
309+
Modifiers:
310+
--color-name = each color variable name is also a border color name
307311
308312
*/
309313
.b--black { border-color: #000; }
@@ -671,6 +675,7 @@ code, .code { font-family: Consolas, monaco, monospace; }
671675
.helvetica { font-family: 'helvetica neue', helvetica, sans-serif; }
672676
.avenir { font-family: 'avenir next', avenir, sans-serif; }
673677
/* Serif Typefaces */
678+
.athelas { font-family: athelas, georgia, serif; }
674679
.georgia { font-family: georgia, serif; }
675680
.times { font-family: times, serif; }
676681
.bodoni { font-family: "Bodoni MT", serif; }
@@ -1422,8 +1427,16 @@ code, .code { font-family: Consolas, monaco, monospace; }
14221427
* */
14231428
.aspect-ratio { height: 0; position: relative; }
14241429
.aspect-ratio--16x9 { padding-bottom: 56.25%; }
1430+
.aspect-ratio--9x16 { padding-bottom: 177.77%; }
14251431
.aspect-ratio--4x3 { padding-bottom: 75%; }
1432+
.aspect-ratio--3x4 { padding-bottom: 133.33%; }
1433+
.aspect-ratio--6x4 { padding-bottom: 66.6%; }
1434+
.aspect-ratio--4x6 { padding-bottom: 150%; }
14261435
.aspect-ratio--8x5 { padding-bottom: 62.5%; }
1436+
.aspect-ratio--5x8 { padding-bottom: 160%; }
1437+
.aspect-ratio--7x5 { padding-bottom: 71.42%; }
1438+
.aspect-ratio--5x7 { padding-bottom: 140%; }
1439+
.aspect-ratio--1x1 { padding-bottom: 100%; }
14271440
.aspect-ratio--object { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; z-index: 100; }
14281441
.overflow-container { overflow-y: scroll; }
14291442
.center { margin-right: auto; margin-left: auto; }
@@ -1508,10 +1521,10 @@ code, .code { font-family: Consolas, monaco, monospace; }
15081521
.underline-hover:hover, .underline-hover:focus { text-decoration: underline; }
15091522
/* Can combine this with overflow-hidden to make background images grow on hover
15101523
* even if you are using background-size: cover */
1511-
.grow { -moz-osx-font-smoothing: grayscale; -webkit-backface-visibility: hidden; backface-visibility: hidden; -webkit-transform: translateZ( 0 ); transform: translateZ( 0 ); -webkit-transition: 0.25s -webkit-transform ease-out; transition: 0.25s -webkit-transform ease-out; transition: 0.25s transform ease-out; transition: 0.25s transform ease-out, 0.25s -webkit-transform ease-out; }
1524+
.grow { -moz-osx-font-smoothing: grayscale; -webkit-backface-visibility: hidden; backface-visibility: hidden; -webkit-transform: translateZ( 0 ); transform: translateZ( 0 ); -webkit-transition: -webkit-transform 0.25s ease-out; transition: -webkit-transform 0.25s ease-out; transition: transform 0.25s ease-out; transition: transform 0.25s ease-out, -webkit-transform 0.25s ease-out; }
15121525
.grow:hover, .grow:focus { -webkit-transform: scale( 1.05 ); transform: scale( 1.05 ); }
15131526
.grow:active { -webkit-transform: scale( .90 ); transform: scale( .90 ); }
1514-
.grow-large { -moz-osx-font-smoothing: grayscale; -webkit-backface-visibility: hidden; backface-visibility: hidden; -webkit-transform: translateZ( 0 ); transform: translateZ( 0 ); -webkit-transition: 0.25s -webkit-transform ease-in-out; transition: 0.25s -webkit-transform ease-in-out; transition: 0.25s transform ease-in-out; transition: 0.25s transform ease-in-out, 0.25s -webkit-transform ease-in-out; }
1527+
.grow-large { -moz-osx-font-smoothing: grayscale; -webkit-backface-visibility: hidden; backface-visibility: hidden; -webkit-transform: translateZ( 0 ); transform: translateZ( 0 ); -webkit-transition: -webkit-transform 0.25s ease-in-out; transition: -webkit-transform 0.25s ease-in-out; transition: transform 0.25s ease-in-out; transition: transform 0.25s ease-in-out, -webkit-transform 0.25s ease-in-out; }
15151528
.grow-large:hover, .grow-large:focus { -webkit-transform: scale( 1.2 ); transform: scale( 1.2 ); }
15161529
.grow-large:active { -webkit-transform: scale( .95 ); transform: scale( .95 ); }
15171530
/* Add pointer on hover */

css/tachyons.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/css/_border-colors.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@
99
to that of the current text color. These classes are for the cases
1010
where you desire for the text and border colors to be different.
1111
12-
b = border
12+
Base:
13+
b = border
14+
15+
Modifiers:
16+
--color-name = each color variable name is also a border color name
1317
1418
*/
1519

src/css/_font-family.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,12 @@ code, .code {
6161

6262
/* Serif Typefaces */
6363

64+
.athelas {
65+
font-family: athelas,
66+
georgia,
67+
serif;
68+
}
69+
6470
.georgia {
6571
font-family: georgia,
6672
serif;

src/css/_hovers.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
-moz-osx-font-smoothing: grayscale;
6868
backface-visibility: hidden;
6969
transform: translateZ(0);
70-
transition: 0.25s transform ease-out;
70+
transition: transform 0.25s ease-out;
7171
}
7272

7373
.grow:hover,
@@ -83,7 +83,7 @@
8383
-moz-osx-font-smoothing: grayscale;
8484
backface-visibility: hidden;
8585
transform: translateZ(0);
86-
transition: 0.25s transform ease-in-out;
86+
transition: transform 0.25s ease-in-out;
8787
}
8888

8989
.grow-large:hover,

src/css/_utilities.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,21 @@
2323
}
2424

2525
.aspect-ratio--16x9 { padding-bottom: 56.25%; }
26+
.aspect-ratio--9x16 { padding-bottom: 177.77%; }
27+
2628
.aspect-ratio--4x3 { padding-bottom: 75%; }
29+
.aspect-ratio--3x4 { padding-bottom: 133.33%; }
30+
31+
.aspect-ratio--6x4 { padding-bottom: 66.6%; }
32+
.aspect-ratio--4x6 { padding-bottom: 150%; }
33+
2734
.aspect-ratio--8x5 { padding-bottom: 62.5%; }
35+
.aspect-ratio--5x8 { padding-bottom: 160%; }
36+
37+
.aspect-ratio--7x5 { padding-bottom: 71.42%; }
38+
.aspect-ratio--5x7 { padding-bottom: 140%; }
39+
40+
.aspect-ratio--1x1 { padding-bottom: 100%; }
2841

2942
.aspect-ratio--object {
3043
position: absolute;

src/css/tachyons.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* TACHYONS v4.2.1 | http://github.com/tachyons-css/tachyons */
1+
/* TACHYONS v4.3.0 | http://github.com/tachyons-css/tachyons */
22

33
/*
44
*

0 commit comments

Comments
 (0)