|
| 1 | +@import './_text-align'; |
1 | 2 | /*! TACHYONS v4.6.0 | http://tachyons.io */ |
2 | 3 | /* |
3 | 4 | * |
|
22 | 23 | * |
23 | 24 | */ |
24 | 25 | /* External Library Includes */ |
25 | | -/*! normalize.css v6.0.0 | MIT License | github.com/necolas/normalize.css */ |
| 26 | +/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */ |
26 | 27 | /* Document |
27 | 28 | ========================================================================== */ |
28 | 29 | /** |
|
33 | 34 | html { line-height: 1.15; /* 1 */ -ms-text-size-adjust: 100%; /* 2 */ -webkit-text-size-adjust: 100%; /* 2 */ } |
34 | 35 | /* Sections |
35 | 36 | ========================================================================== */ |
| 37 | +/** |
| 38 | + * Remove the margin in all browsers (opinionated). |
| 39 | + */ |
| 40 | +body { margin: 0; } |
36 | 41 | /** |
37 | 42 | * Add the correct display in IE 9-. |
38 | 43 | */ |
@@ -128,9 +133,10 @@ svg:not(:root) { overflow: hidden; } |
128 | 133 | /* Forms |
129 | 134 | ========================================================================== */ |
130 | 135 | /** |
131 | | - * Remove the margin in Firefox and Safari. |
| 136 | + * 1. Change the font styles in all browsers (opinionated). |
| 137 | + * 2. Remove the margin in Firefox and Safari. |
132 | 138 | */ |
133 | | -button, input, optgroup, select, textarea { margin: 0; } |
| 139 | +button, input, optgroup, select, textarea { font-family: sans-serif; /* 1 */ font-size: 100%; /* 1 */ line-height: 1.15; /* 1 */ margin: 0; /* 2 */ } |
134 | 140 | /** |
135 | 141 | * Show the overflow in IE. |
136 | 142 | * 1. Show the overflow in Edge. |
@@ -158,6 +164,10 @@ button::-moz-focus-inner, [type="button"]::-moz-focus-inner, |
158 | 164 | */ |
159 | 165 | button:-moz-focusring, [type="button"]:-moz-focusring, |
160 | 166 | [type="reset"]:-moz-focusring, [type="submit"]:-moz-focusring { outline: 1px dotted ButtonText; } |
| 167 | +/** |
| 168 | + * Correct the padding in Firefox. |
| 169 | + */ |
| 170 | +fieldset { padding: .35em .75em .625em; } |
161 | 171 | /** |
162 | 172 | * 1. Correct the text wrapping in Edge and IE. |
163 | 173 | * 2. Correct the color inheritance from `fieldset` elements in IE. |
@@ -1686,28 +1696,6 @@ code, .code { font-family: Consolas, monaco, monospace; } |
1686 | 1696 | .strike { text-decoration: line-through; } |
1687 | 1697 | .underline { text-decoration: underline; } |
1688 | 1698 | .no-underline { text-decoration: none; } |
1689 | | -/* |
1690 | | -
|
1691 | | - TEXT ALIGN |
1692 | | - Docs: http://tachyons.io/docs/typography/text-align/ |
1693 | | -
|
1694 | | - Base |
1695 | | - t = text-align |
1696 | | -
|
1697 | | - Modifiers |
1698 | | - l = left |
1699 | | - r = right |
1700 | | - c = center |
1701 | | -
|
1702 | | - Media Query Extensions: |
1703 | | - -ns = not-small |
1704 | | - -m = medium |
1705 | | - -l = large |
1706 | | -
|
1707 | | -*/ |
1708 | | -.tl { text-align: left; } |
1709 | | -.tr { text-align: right; } |
1710 | | -.tc { text-align: center; } |
1711 | 1699 | /* |
1712 | 1700 |
|
1713 | 1701 | TEXT TRANSFORM |
@@ -2445,9 +2433,6 @@ code, .code { font-family: Consolas, monaco, monospace; } |
2445 | 2433 | .strike-ns { text-decoration: line-through; } |
2446 | 2434 | .underline-ns { text-decoration: underline; } |
2447 | 2435 | .no-underline-ns { text-decoration: none; } |
2448 | | - .tl-ns { text-align: left; } |
2449 | | - .tr-ns { text-align: right; } |
2450 | | - .tc-ns { text-align: center; } |
2451 | 2436 | .ttc-ns { text-transform: capitalize; } |
2452 | 2437 | .ttl-ns { text-transform: lowercase; } |
2453 | 2438 | .ttu-ns { text-transform: uppercase; } |
@@ -2860,9 +2845,6 @@ code, .code { font-family: Consolas, monaco, monospace; } |
2860 | 2845 | .strike-m { text-decoration: line-through; } |
2861 | 2846 | .underline-m { text-decoration: underline; } |
2862 | 2847 | .no-underline-m { text-decoration: none; } |
2863 | | - .tl-m { text-align: left; } |
2864 | | - .tr-m { text-align: right; } |
2865 | | - .tc-m { text-align: center; } |
2866 | 2848 | .ttc-m { text-transform: capitalize; } |
2867 | 2849 | .ttl-m { text-transform: lowercase; } |
2868 | 2850 | .ttu-m { text-transform: uppercase; } |
@@ -3275,9 +3257,6 @@ code, .code { font-family: Consolas, monaco, monospace; } |
3275 | 3257 | .strike-l { text-decoration: line-through; } |
3276 | 3258 | .underline-l { text-decoration: underline; } |
3277 | 3259 | .no-underline-l { text-decoration: none; } |
3278 | | - .tl-l { text-align: left; } |
3279 | | - .tr-l { text-align: right; } |
3280 | | - .tc-l { text-align: center; } |
3281 | 3260 | .ttc-l { text-transform: capitalize; } |
3282 | 3261 | .ttl-l { text-transform: lowercase; } |
3283 | 3262 | .ttu-l { text-transform: uppercase; } |
|
0 commit comments