Skip to content

Commit 20995a1

Browse files
author
mrmrs
committed
Add compiled css
1 parent 5da9e52 commit 20995a1

File tree

2 files changed

+109
-52
lines changed

2 files changed

+109
-52
lines changed

css/tachyons.css

+108-51
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
/*
2-
3-
TACHYONS
4-
5-
*/
6-
/* Variables */
1+
/* TACHYONS v4.0.0-beta.34| github.com/tachyons-css/tachyons */
2+
/* External Library Includes */
73
/*! normalize.css v4.1.1 | MIT License | github.com/necolas/normalize.css */
84
/**
95
* 1. Change the default font family in all browsers (opinionated).
@@ -202,42 +198,7 @@ textarea { overflow: auto; }
202198
* 2. Change font properties to `inherit` in Safari.
203199
*/
204200
::-webkit-file-upload-button { -webkit-appearance: button; /* 1 */ font: inherit; /* 2 */ }
205-
/*
206-
207-
CUSTOM MEDIA QUERIES
208-
209-
Media query values can be changed to fit your own content.
210-
There are no magic bullets when it comes to media query width values.
211-
They should be declared in em units - and they should be set to meet
212-
the needs of your content.
213-
214-
These media queries can be referenced like so:
215-
216-
@media (--breakpoint-not-small) {
217-
.medium-and-larger-specific-style {
218-
background-color: red;
219-
}
220-
}
221-
222-
@media (--breakpoint-medium) {
223-
.medium-screen-specific-style {
224-
background-color: red;
225-
}
226-
}
227-
228-
@media (--breakpoint-large) {
229-
.large-screen-specific-style {
230-
background-color: red;
231-
}
232-
}
233-
234-
@media (--breakpoint-extra-large) {
235-
.extra-large-screen-specific-style {
236-
background-color: red;
237-
}
238-
}
239-
240-
*/
201+
/* Variables */
241202
/*
242203
243204
Tachyons
@@ -252,8 +213,9 @@ textarea { overflow: auto; }
252213
Box Sizing
253214
*/
254215
html, body, div, article, section, main, footer, header, form, fieldset, pre,
255-
code, p, ul, ol, li, dl, dt, dd, textarea, input[type="text"], input[type="tel"],
256-
input[type="email"], input[type="url"], input[type="password"], .border-box { box-sizing: border-box; }
216+
code, p, ul, ol, li, dl, dt, dd, textarea, input[type="email"],
217+
input[type="number"], input[type="password"], input[type="tel"],
218+
input[type="text"], input[type="url"], .border-box { box-sizing: border-box; }
257219
/*
258220
259221
BACKGROUND SIZE
@@ -425,6 +387,21 @@ input[type="email"], input[type="url"], input[type="password"], .border-box { bo
425387
.bw3 { border-width: .5rem; }
426388
.bw4 { border-width: 1rem; }
427389
.bw5 { border-width: 2rem; }
390+
/*
391+
392+
BOX-SHADOW
393+
394+
Media Query Extensions:
395+
-ns = not-small
396+
-m = medium
397+
-l = large
398+
399+
*/
400+
.shadow-1 { box-shadow: 0px 0px 4px 2px rgba( 0, 0, 0, 0.2 ); }
401+
.shadow-2 { box-shadow: 0px 0px 8px 2px rgba( 0, 0, 0, 0.2 ); }
402+
.shadow-3 { box-shadow: 2px 2px 4px 2px rgba( 0, 0, 0, 0.2 ); }
403+
.shadow-4 { box-shadow: 2px 2px 8px 0px rgba( 0, 0, 0, 0.2 ); }
404+
.shadow-5 { box-shadow: 4px 4px 8px 0px rgba( 0, 0, 0, 0.2 ); }
428405
/*
429406
430407
CODE
@@ -756,6 +733,7 @@ code, .code { font-family: Consolas, monaco, monospace; }
756733
.o-10 { opacity: .1; }
757734
.o-05 { opacity: .05; }
758735
.o-025 { opacity: .025; }
736+
.o-0 { opacity: 0; }
759737
/*
760738
761739
COLOR VARIABLES
@@ -1087,18 +1065,31 @@ code, .code { font-family: Consolas, monaco, monospace; }
10871065
.measure-narrow { max-width: 20em; }
10881066
/* Book paragraph style - paragraphs are indented with no vertical spacing. */
10891067
.indent { text-indent: 1em; margin-top: 0; margin-bottom: 0; }
1090-
/* Combine this class with a width to truncate text */
1068+
.small-caps { font-variant: small-caps; }
1069+
/* Combine this class with a width to truncate text (or just leave as is to truncate at width of containing element. */
10911070
.truncate { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
10921071
/*
10931072
10941073
UTILITIES
10951074
10961075
*/
1076+
/* This is for fluid media that is embedded from third party sites like youtube, vimeo etc.
1077+
* Wrap the outer element in aspect-ratio and then extend it with the desired ratio i.e
1078+
* Make sure there are no height and width attributes on the embedded media.
1079+
* Adapted from: https://github.com/suitcss/components-flex-embed
1080+
*
1081+
* Example:
1082+
*
1083+
* <div class="aspect-ratio aspect-ratio--16x9">
1084+
* <iframe class="aspect-ratio--object"></iframe>
1085+
* </div>
1086+
*
1087+
* */
10971088
.aspect-ratio { height: 0; position: relative; }
10981089
.aspect-ratio--16x9 { padding-bottom: 56.25%; }
10991090
.aspect-ratio--4x3 { padding-bottom: 75%; }
11001091
.aspect-ratio--8x5 { padding-bottom: 62.5%; }
1101-
.aspect-ratio--object { bottom: 0; height: 100%; left: 0; position: absolute; right: 0; top: 0; width: 100%; z-index: 100; }
1092+
.aspect-ratio--object { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; z-index: 100; }
11021093
.overflow-container { overflow-y: scroll; }
11031094
.center { margin-right: auto; margin-left: auto; }
11041095
/*
@@ -1148,7 +1139,7 @@ code, .code { font-family: Consolas, monaco, monospace; }
11481139
.dim:active { opacity: .8; transition: opacity .15s ease-out; }
11491140
/*
11501141
1151-
Hide child on hover:
1142+
Hide child & reveal on hover:
11521143
11531144
Put the hide-child class on a parent element and any nested element with the
11541145
child class will be hidden and displayed on hover or focus.
@@ -1163,13 +1154,61 @@ code, .code { font-family: Consolas, monaco, monospace; }
11631154
.hide-child .child { opacity: 0; transition: opacity .15s ease-in; }
11641155
.hide-child:hover .child, .hide-child:focus .child, .hide-child:active .child { opacity: 1; transition: opacity .15s ease-in; }
11651156
.underline-hover:hover, .underline-hover:focus { text-decoration: underline; }
1157+
/* Can combine this with overflow-hidden to make background images grow on hover
1158+
* even if you are using background-size: cover */
1159+
.grow { transition: transform .2s; }
1160+
.grow:hover { transform: scale( 1.05 ); }
1161+
.grow-large { transition: transform .2s; }
1162+
.grow-large:hover { transform: scale( 1.2 ); }
1163+
/* Add pointer on hover */
1164+
.pointer:hover { cursor: pointer; }
11661165
/*
11671166
11681167
STYLES
11691168
11701169
Add custom styles here.
11711170
11721171
*/
1172+
/* Import media queries at end as this will allow you to customize them
1173+
* and override what is currently declared in each module.
1174+
*/
1175+
/*
1176+
1177+
CUSTOM MEDIA QUERIES
1178+
1179+
Media query values can be changed to fit your own content.
1180+
There are no magic bullets when it comes to media query width values.
1181+
They should be declared in em units - and they should be set to meet
1182+
the needs of your content.
1183+
1184+
These media queries can be referenced like so:
1185+
1186+
@media (--breakpoint-not-small) {
1187+
.medium-and-larger-specific-style {
1188+
background-color: red;
1189+
}
1190+
}
1191+
1192+
@media (--breakpoint-medium) {
1193+
.medium-screen-specific-style {
1194+
background-color: red;
1195+
}
1196+
}
1197+
1198+
@media (--breakpoint-large) {
1199+
.large-screen-specific-style {
1200+
background-color: red;
1201+
}
1202+
}
1203+
1204+
@media (--breakpoint-extra-large) {
1205+
.extra-large-screen-specific-style {
1206+
background-color: red;
1207+
}
1208+
}
1209+
1210+
*/
1211+
/* DEBUGGING */
11731212
/*
11741213
11751214
DEBUG CHILDREN
@@ -1179,9 +1218,9 @@ code, .code { font-family: Consolas, monaco, monospace; }
11791218
11801219
*/
11811220
.debug * { outline: 1px solid gold; }
1182-
/* Uncomment out this line if you want to debug your layout */
1221+
/* Uncomment out this line and rebuild if you want to debug your layout.*/
11831222
/* @import './_debug'; */
1184-
@media screen and (min-width: 48em) {
1223+
@media screen and (min-width: 30em) {
11851224
.bg-cv-ns { background-size: cover; }
11861225
.bg-cn-ns { background-size: contain; }
11871226
.ba-ns { border-style: solid; border-width: 1px; }
@@ -1208,6 +1247,11 @@ code, .code { font-family: Consolas, monaco, monospace; }
12081247
.bw3-ns { border-width: .5rem; }
12091248
.bw4-ns { border-width: 1rem; }
12101249
.bw5-ns { border-width: 2rem; }
1250+
.shadow-1-ns { box-shadow: 0px 0px 4px 2px rgba( 0, 0, 0, 0.2 ); }
1251+
.shadow-2-ns { box-shadow: 0px 0px 8px 2px rgba( 0, 0, 0, 0.2 ); }
1252+
.shadow-3-ns { box-shadow: 2px 2px 4px 2px rgba( 0, 0, 0, 0.2 ); }
1253+
.shadow-4-ns { box-shadow: 2px 2px 8px 0px rgba( 0, 0, 0, 0.2 ); }
1254+
.shadow-5-ns { box-shadow: 4px 4px 8px 0px rgba( 0, 0, 0, 0.2 ); }
12111255
.top-0-ns { top: 0; }
12121256
.left-0-ns { left: 0; }
12131257
.right-0-ns { right: 0; }
@@ -1456,6 +1500,7 @@ code, .code { font-family: Consolas, monaco, monospace; }
14561500
.measure-wide-ns { max-width: 34em; }
14571501
.measure-narrow-ns { max-width: 20em; }
14581502
.indent-ns { text-indent: 1em; margin-top: 0; margin-bottom: 0; }
1503+
.small-caps-ns { font-variant: small-caps; }
14591504
.truncate-ns { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
14601505
.clip-ns { position: fixed !important; position: absolute !important; clip: rect( 1px 1px 1px 1px ); /* IE6, IE7 */ clip: rect( 1px, 1px, 1px, 1px ); }
14611506
.ws-normal-ns { white-space: normal; }
@@ -1470,7 +1515,7 @@ code, .code { font-family: Consolas, monaco, monospace; }
14701515
.v-top-ns { vertical-align: top; }
14711516
.v-btm-ns { vertical-align: bottom; }
14721517
}
1473-
@media screen and (min-width: 48em) and (max-width: 64em) {
1518+
@media screen and (min-width: 30em) and (max-width: 60em) {
14741519
.bg-cv-m { background-size: cover; }
14751520
.bg-cn-m { background-size: contain; }
14761521
.ba-m { border-style: solid; border-width: 1px; }
@@ -1497,6 +1542,11 @@ code, .code { font-family: Consolas, monaco, monospace; }
14971542
.bw3-m { border-width: .5rem; }
14981543
.bw4-m { border-width: 1rem; }
14991544
.bw5-m { border-width: 2rem; }
1545+
.shadow-1-m { box-shadow: 0px 0px 4px 2px rgba( 0, 0, 0, 0.2 ); }
1546+
.shadow-2-m { box-shadow: 0px 0px 8px 2px rgba( 0, 0, 0, 0.2 ); }
1547+
.shadow-3-m { box-shadow: 2px 2px 4px 2px rgba( 0, 0, 0, 0.2 ); }
1548+
.shadow-4-m { box-shadow: 2px 2px 8px 0px rgba( 0, 0, 0, 0.2 ); }
1549+
.shadow-5-m { box-shadow: 4px 4px 8px 0px rgba( 0, 0, 0, 0.2 ); }
15001550
.top-0-m { top: 0; }
15011551
.left-0-m { left: 0; }
15021552
.right-0-m { right: 0; }
@@ -1745,6 +1795,7 @@ code, .code { font-family: Consolas, monaco, monospace; }
17451795
.measure-wide-m { max-width: 34em; }
17461796
.measure-narrow-m { max-width: 20em; }
17471797
.indent-m { text-indent: 1em; margin-top: 0; margin-bottom: 0; }
1798+
.small-caps-m { font-variant: small-caps; }
17481799
.truncate-m { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
17491800
.clip-m { position: fixed !important; position: absolute !important; clip: rect( 1px 1px 1px 1px ); /* IE6, IE7 */ clip: rect( 1px, 1px, 1px, 1px ); }
17501801
.ws-normal-m { white-space: normal; }
@@ -1759,7 +1810,7 @@ code, .code { font-family: Consolas, monaco, monospace; }
17591810
.v-top-m { vertical-align: top; }
17601811
.v-btm-m { vertical-align: bottom; }
17611812
}
1762-
@media screen and (min-width: 64em) {
1813+
@media screen and (min-width: 60em) {
17631814
.bg-cv-l { background-size: cover; }
17641815
.bg-cn-l { background-size: contain; }
17651816
.ba-l { border-style: solid; border-width: 1px; }
@@ -1786,6 +1837,11 @@ code, .code { font-family: Consolas, monaco, monospace; }
17861837
.bw3-l { border-width: .5rem; }
17871838
.bw4-l { border-width: 1rem; }
17881839
.bw5-l { border-width: 2rem; }
1840+
.shadow-1-l { box-shadow: 0px 0px 4px 2px rgba( 0, 0, 0, 0.2 ); }
1841+
.shadow-2-l { box-shadow: 0px 0px 8px 2px rgba( 0, 0, 0, 0.2 ); }
1842+
.shadow-3-l { box-shadow: 2px 2px 4px 2px rgba( 0, 0, 0, 0.2 ); }
1843+
.shadow-4-l { box-shadow: 2px 2px 8px 0px rgba( 0, 0, 0, 0.2 ); }
1844+
.shadow-5-l { box-shadow: 4px 4px 8px 0px rgba( 0, 0, 0, 0.2 ); }
17891845
.top-0-l { top: 0; }
17901846
.left-0-l { left: 0; }
17911847
.right-0-l { right: 0; }
@@ -2034,6 +2090,7 @@ code, .code { font-family: Consolas, monaco, monospace; }
20342090
.measure-wide-l { max-width: 34em; }
20352091
.measure-narrow-l { max-width: 20em; }
20362092
.indent-l { text-indent: 1em; margin-top: 0; margin-bottom: 0; }
2093+
.small-caps-l { font-variant: small-caps; }
20372094
.truncate-l { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
20382095
.clip-l { position: fixed !important; position: absolute !important; clip: rect( 1px 1px 1px 1px ); /* IE6, IE7 */ clip: rect( 1px, 1px, 1px, 1px ); }
20392096
.ws-normal-l { white-space: normal; }

0 commit comments

Comments
 (0)