Skip to content

Commit fd0b81d

Browse files
author
mrmrs
committed
Update css
1 parent fad3ccc commit fd0b81d

File tree

2 files changed

+15
-35
lines changed

2 files changed

+15
-35
lines changed

css/tachyons.css

+13-34
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
@import './_text-align';
12
/*! TACHYONS v4.6.0 | http://tachyons.io */
23
/*
34
*
@@ -22,7 +23,7 @@
2223
*
2324
*/
2425
/* 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 */
2627
/* Document
2728
========================================================================== */
2829
/**
@@ -33,6 +34,10 @@
3334
html { line-height: 1.15; /* 1 */ -ms-text-size-adjust: 100%; /* 2 */ -webkit-text-size-adjust: 100%; /* 2 */ }
3435
/* Sections
3536
========================================================================== */
37+
/**
38+
* Remove the margin in all browsers (opinionated).
39+
*/
40+
body { margin: 0; }
3641
/**
3742
* Add the correct display in IE 9-.
3843
*/
@@ -128,9 +133,10 @@ svg:not(:root) { overflow: hidden; }
128133
/* Forms
129134
========================================================================== */
130135
/**
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.
132138
*/
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 */ }
134140
/**
135141
* Show the overflow in IE.
136142
* 1. Show the overflow in Edge.
@@ -158,6 +164,10 @@ button::-moz-focus-inner, [type="button"]::-moz-focus-inner,
158164
*/
159165
button:-moz-focusring, [type="button"]:-moz-focusring,
160166
[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; }
161171
/**
162172
* 1. Correct the text wrapping in Edge and IE.
163173
* 2. Correct the color inheritance from `fieldset` elements in IE.
@@ -1686,28 +1696,6 @@ code, .code { font-family: Consolas, monaco, monospace; }
16861696
.strike { text-decoration: line-through; }
16871697
.underline { text-decoration: underline; }
16881698
.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; }
17111699
/*
17121700
17131701
TEXT TRANSFORM
@@ -2445,9 +2433,6 @@ code, .code { font-family: Consolas, monaco, monospace; }
24452433
.strike-ns { text-decoration: line-through; }
24462434
.underline-ns { text-decoration: underline; }
24472435
.no-underline-ns { text-decoration: none; }
2448-
.tl-ns { text-align: left; }
2449-
.tr-ns { text-align: right; }
2450-
.tc-ns { text-align: center; }
24512436
.ttc-ns { text-transform: capitalize; }
24522437
.ttl-ns { text-transform: lowercase; }
24532438
.ttu-ns { text-transform: uppercase; }
@@ -2860,9 +2845,6 @@ code, .code { font-family: Consolas, monaco, monospace; }
28602845
.strike-m { text-decoration: line-through; }
28612846
.underline-m { text-decoration: underline; }
28622847
.no-underline-m { text-decoration: none; }
2863-
.tl-m { text-align: left; }
2864-
.tr-m { text-align: right; }
2865-
.tc-m { text-align: center; }
28662848
.ttc-m { text-transform: capitalize; }
28672849
.ttl-m { text-transform: lowercase; }
28682850
.ttu-m { text-transform: uppercase; }
@@ -3275,9 +3257,6 @@ code, .code { font-family: Consolas, monaco, monospace; }
32753257
.strike-l { text-decoration: line-through; }
32763258
.underline-l { text-decoration: underline; }
32773259
.no-underline-l { text-decoration: none; }
3278-
.tl-l { text-align: left; }
3279-
.tr-l { text-align: right; }
3280-
.tc-l { text-align: center; }
32813260
.ttc-l { text-transform: capitalize; }
32823261
.ttl-l { text-transform: lowercase; }
32833262
.ttu-l { text-transform: uppercase; }

css/tachyons.min.css

+2-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)