diff options
| author | Darin Dimitroff <d@thecrazyones.agency> | 2016-11-22 13:07:51 +0200 |
|---|---|---|
| committer | Darin Dimitroff <d@thecrazyones.agency> | 2016-11-22 13:07:51 +0200 |
| commit | dedfd8a8098db999f81a55a845e0e4d041f9d7a8 (patch) | |
| tree | a2b93f205083ba4f1c11c9e8f3b54c384cce1bc9 /src | |
| parent | 4b9c3e021037a5df04df7e8c804d979501c136ad (diff) | |
Adds Tachyons
Diffstat (limited to 'src')
57 files changed, 4895 insertions, 4 deletions
diff --git a/src/css/imports/_background-position.css b/src/css/imports/_background-position.css new file mode 100755 index 0000000..4d850b6 --- /dev/null +++ b/src/css/imports/_background-position.css @@ -0,0 +1,126 @@ +/* + + BACKGROUND POSITION + + Base: + bg = background + + Modifiers: + -center = center center + -top = top center + -right = center right + -bottom = bottom center + -left = center left + + Media Query Extensions: + -ns = not-small + -m = medium + -l = large + + */ + +.bg-center { + background-repeat: no-repeat; + background-position: center center; +} + +.bg-top { + background-repeat: no-repeat; + background-position: top center; +} + +.bg-right { + background-repeat: no-repeat; + background-position: center right; +} + +.bg-bottom { + background-repeat: no-repeat; + background-position: bottom center; +} + +.bg-left { + background-repeat: no-repeat; + background-position: center left; +} + +@media (--breakpoint-not-small) { + .bg-center-ns { + background-repeat: no-repeat; + background-position: center center; + } + + .bg-top-ns { + background-repeat: no-repeat; + background-position: top center; + } + + .bg-right-ns { + background-repeat: no-repeat; + background-position: center right; + } + + .bg-bottom-ns { + background-repeat: no-repeat; + background-position: bottom center; + } + + .bg-left-ns { + background-repeat: no-repeat; + background-position: center left; + } +} + +@media (--breakpoint-medium) { + .bg-center-m { + background-repeat: no-repeat; + background-position: center center; + } + + .bg-top-m { + background-repeat: no-repeat; + background-position: top center; + } + + .bg-right-m { + background-repeat: no-repeat; + background-position: center right; + } + + .bg-bottom-m { + background-repeat: no-repeat; + background-position: bottom center; + } + + .bg-left-m { + background-repeat: no-repeat; + background-position: center left; + } +} + +@media (--breakpoint-large) { + .bg-center-l { + background-repeat: no-repeat; + background-position: center center; + } + + .bg-top-l { + background-repeat: no-repeat; + background-position: top center; + } + + .bg-right-l { + background-repeat: no-repeat; + background-position: center right; + } + + .bg-bottom-l { + background-repeat: no-repeat; + background-position: bottom center; + } + + .bg-left-l { + background-repeat: no-repeat; + background-position: center left; + } +} diff --git a/src/css/imports/_background-size.css b/src/css/imports/_background-size.css new file mode 100755 index 0000000..18afe5c --- /dev/null +++ b/src/css/imports/_background-size.css @@ -0,0 +1,34 @@ +/* + + BACKGROUND SIZE + Docs: http://tachyons.io/docs/themes/background-size/ + + Media Query Extensions: + -ns = not-small + -m = medium + -l = large + +*/ + +/* + Often used in combination with background image set as an inline style + on an html element. +*/ + + .cover { background-size: cover!important; } + .contain { background-size: contain!important; } + +@media (--breakpoint-not-small) { + .cover-ns { background-size: cover!important; } + .contain-ns { background-size: contain!important; } +} + +@media (--breakpoint-medium) { + .cover-m { background-size: cover!important; } + .contain-m { background-size: contain!important; } +} + +@media (--breakpoint-large) { + .cover-l { background-size: cover!important; } + .contain-l { background-size: contain!important; } +} diff --git a/src/css/imports/_border-colors.css b/src/css/imports/_border-colors.css new file mode 100755 index 0000000..4eaf69e --- /dev/null +++ b/src/css/imports/_border-colors.css @@ -0,0 +1,84 @@ +/* + + BORDER COLORS + Docs: http://tachyons.io/docs/themes/borders/ + + Border colors can be used to extend the base + border classes ba,bt,bb,br,bl found in the _borders.css file. + + The base border class by default will set the color of the border + to that of the current text color. These classes are for the cases + where you desire for the text and border colors to be different. + + Base: + b = border + + Modifiers: + --color-name = each color variable name is also a border color name + +*/ + +.b--black { border-color: var(--black); } +.b--near-black { border-color: var(--near-black); } +.b--dark-gray { border-color: var(--dark-gray); } +.b--mid-gray { border-color: var(--mid-gray); } +.b--gray { border-color: var(--gray); } +.b--silver { border-color: var(--silver); } +.b--light-silver { border-color: var(--light-silver); } +.b--light-gray { border-color: var(--light-gray); } +.b--near-white { border-color: var(--near-white); } +.b--white { border-color: var(--white); } + +.b--white-90 { border-color: var(--white-90); } +.b--white-80 { border-color: var(--white-80); } +.b--white-70 { border-color: var(--white-70); } +.b--white-60 { border-color: var(--white-60); } +.b--white-50 { border-color: var(--white-50); } +.b--white-40 { border-color: var(--white-40); } +.b--white-30 { border-color: var(--white-30); } +.b--white-20 { border-color: var(--white-20); } +.b--white-10 { border-color: var(--white-10); } +.b--white-05 { border-color: var(--white-05); } +.b--white-025 { border-color: var(--white-025); } +.b--white-0125 { border-color: var(--white-0125); } + +.b--black-90 { border-color: var(--black-90); } +.b--black-80 { border-color: var(--black-80); } +.b--black-70 { border-color: var(--black-70); } +.b--black-60 { border-color: var(--black-60); } +.b--black-50 { border-color: var(--black-50); } +.b--black-40 { border-color: var(--black-40); } +.b--black-30 { border-color: var(--black-30); } +.b--black-20 { border-color: var(--black-20); } +.b--black-10 { border-color: var(--black-10); } +.b--black-05 { border-color: var(--black-05); } +.b--black-025 { border-color: var(--black-025); } +.b--black-0125 { border-color: var(--black-0125); } + +.b--dark-red { border-color: var(--dark-red); } +.b--red { border-color: var(--red); } +.b--light-red { border-color: var(--light-red); } +.b--orange { border-color: var(--orange); } +.b--gold { border-color: var(--gold); } +.b--yellow { border-color: var(--yellow); } +.b--light-yellow { border-color: var(--light-yellow); } +.b--purple { border-color: var(--purple); } +.b--light-purple { border-color: var(--light-purple); } +.b--dark-pink { border-color: var(--dark-pink); } +.b--hot-pink { border-color: var(--hot-pink); } +.b--pink { border-color: var(--pink); } +.b--light-pink { border-color: var(--light-pink); } +.b--dark-green { border-color: var(--dark-green); } +.b--green { border-color: var(--green); } +.b--light-green { border-color: var(--light-green); } +.b--navy { border-color: var(--navy); } +.b--dark-blue { border-color: var(--dark-blue); } +.b--blue { border-color: var(--blue); } +.b--light-blue { border-color: var(--light-blue); } +.b--lightest-blue { border-color: var(--lightest-blue); } +.b--washed-blue { border-color: var(--washed-blue); } +.b--washed-green { border-color: var(--washed-green); } +.b--washed-yellow { border-color: var(--washed-yellow); } +.b--washed-red { border-color: var(--washed-red); } + +.b--transparent { border-color: var(--transparent); } diff --git a/src/css/imports/_border-radius.css b/src/css/imports/_border-radius.css new file mode 100755 index 0000000..19b873c --- /dev/null +++ b/src/css/imports/_border-radius.css @@ -0,0 +1,127 @@ +/* + + BORDER RADIUS + Docs: http://tachyons.io/docs/themes/border-radius/ + + Base: + br = border-radius + + Modifiers: + 0 = 0/none + 1 = 1st step in scale + 2 = 2nd step in scale + 3 = 3rd step in scale + 4 = 4th step in scale + + Literal values: + -100 = 100% + -pill = 9999px + + Media Query Extensions: + -ns = not-small + -m = medium + -l = large + +*/ + + .br0 { border-radius: 0; } + .br1 { border-radius: .125rem; } + .br2 { border-radius: .25rem; } + .br3 { border-radius: .5rem; } + .br4 { border-radius: 1rem; } + .br-100 { border-radius: 100%; } + .br-pill { border-radius: 9999px; } + .br--bottom { + border-top-left-radius: 0; + border-top-right-radius: 0; + } + .br--top { + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; + } + .br--right { + border-top-left-radius: 0; + border-bottom-left-radius: 0; + } + .br--left { + border-top-right-radius: 0; + border-bottom-right-radius: 0; + } + +@media (--breakpoint-not-small) { + .br0-ns { border-radius: 0; } + .br1-ns { border-radius: .125rem; } + .br2-ns { border-radius: .25rem; } + .br3-ns { border-radius: .5rem; } + .br4-ns { border-radius: 1rem; } + .br-100-ns { border-radius: 100%; } + .br-pill-ns { border-radius: 9999px; } + .br--bottom-ns { + border-top-left-radius: 0; + border-top-right-radius: 0; + } + .br--top-ns { + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; + } + .br--right-ns { + border-top-left-radius: 0; + border-bottom-left-radius: 0; + } + .br--left-ns { + border-top-right-radius: 0; + border-bottom-right-radius: 0; + } +} + +@media (--breakpoint-medium) { + .br0-m { border-radius: 0; } + .br1-m { border-radius: .125rem; } + .br2-m { border-radius: .25rem; } + .br3-m { border-radius: .5rem; } + .br4-m { border-radius: 1rem; } + .br-100-m { border-radius: 100%; } + .br-pill-m { border-radius: 9999px; } + .br--bottom-m { + border-top-left-radius: 0; + border-top-right-radius: 0; + } + .br--top-m { + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; + } + .br--right-m { + border-top-left-radius: 0; + border-bottom-left-radius: 0; + } + .br--left-m { + border-top-right-radius: 0; + border-bottom-right-radius: 0; + } +} + +@media (--breakpoint-large) { + .br0-l { border-radius: 0; } + .br1-l { border-radius: .125rem; } + .br2-l { border-radius: .25rem; } + .br3-l { border-radius: .5rem; } + .br4-l { border-radius: 1rem; } + .br-100-l { border-radius: 100%; } + .br-pill-l { border-radius: 9999px; } + .br--bottom-l { + border-radius-top-left: 0; + border-radius-top-right: 0; + } + .br--top-l { + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; + } + .br--right-l { + border-top-left-radius: 0; + border-bottom-left-radius: 0; + } + .br--left-l { + border-top-right-radius: 0; + border-bottom-right-radius: 0; + } +} diff --git a/src/css/imports/_border-style.css b/src/css/imports/_border-style.css new file mode 100755 index 0000000..b9eb61b --- /dev/null +++ b/src/css/imports/_border-style.css @@ -0,0 +1,48 @@ +/* + + BORDER STYLES + Docs: http://tachyons.io/docs/themes/borders/ + + Depends on base border module in _borders.css + + Base: + b = border-style + + Modifiers: + --none = none + --dotted = dotted + --dashed = dashed + --solid = solid + + Media Query Extensions: + -ns = not-small + -m = medium + -l = large + + */ + +.b--dotted { border-style: dotted; } +.b--dashed { border-style: dashed; } +.b--solid { border-style: solid; } +.b--none { border-style: none; } + +@media (--breakpoint-not-small) { + .b--dotted-ns { border-style: dotted; } + .b--dashed-ns { border-style: dashed; } + .b--solid-ns { border-style: solid; } + .b--none-ns { border-style: none; } +} + +@media (--breakpoint-medium) { + .b--dotted-m { border-style: dotted; } + .b--dashed-m { border-style: dashed; } + .b--solid-m { border-style: solid; } + .b--none-m { border-style: none; } +} + +@media (--breakpoint-large) { + .b--dotted-l { border-style: dotted; } + .b--dashed-l { border-style: dashed; } + .b--solid-l { border-style: solid; } + .b--none-l { border-style: none; } +} diff --git a/src/css/imports/_border-widths.css b/src/css/imports/_border-widths.css new file mode 100755 index 0000000..e3b6885 --- /dev/null +++ b/src/css/imports/_border-widths.css @@ -0,0 +1,74 @@ +/* + + BORDER WIDTHS + Docs: http://tachyons.io/docs/themes/borders/ + + Base: + bw = border-width + + Modifiers: + 0 = 0 width border + 1 = 1st step in border-width scale + 2 = 2nd step in border-width scale + 3 = 3rd step in border-width scale + 4 = 4th step in border-width scale + 5 = 5th step in border-width scale + + Media Query Extensions: + -ns = not-small + -m = medium + -l = large + +*/ + +.bw0 { border-width: 0; } +.bw1 { border-width: .125rem; } +.bw2 { border-width: .25rem; } +.bw3 { border-width: .5rem; } +.bw4 { border-width: 1rem; } +.bw5 { border-width: 2rem; } + +/* Resets */ +.bt-0 { border-top-width: 0; } +.br-0 { border-right-width: 0; } +.bb-0 { border-bottom-width: 0; } +.bl-0 { border-left-width: 0; } + +@media (--breakpoint-not-small) { + .bw0-ns { border-width: 0; } + .bw1-ns { border-width: .125rem; } + .bw2-ns { border-width: .25rem; } + .bw3-ns { border-width: .5rem; } + .bw4-ns { border-width: 1rem; } + .bw5-ns { border-width: 2rem; } + .bt-0-ns { border-top-width: 0; } + .br-0-ns { border-right-width: 0; } + .bb-0-ns { border-bottom-width: 0; } + .bl-0-ns { border-left-width: 0; } +} + +@media (--breakpoint-medium) { + .bw0-m { border-width: 0; } + .bw1-m { border-width: .125rem; } + .bw2-m { border-width: .25rem; } + .bw3-m { border-width: .5rem; } + .bw4-m { border-width: 1rem; } + .bw5-m { border-width: 2rem; } + .bt-0-m { border-top-width: 0; } + .br-0-m { border-right-width: 0; } + .bb-0-m { border-bottom-width: 0; } + .bl-0-m { border-left-width: 0; } +} + +@media (--breakpoint-large) { + .bw0-l { border-width: 0; } + .bw1-l { border-width: .125rem; } + .bw2-l { border-width: .25rem; } + .bw3-l { border-width: .5rem; } + .bw4-l { border-width: 1rem; } + .bw5-l { border-width: 2rem; } + .bt-0-l { border-top-width: 0; } + .br-0-l { border-right-width: 0; } + .bb-0-l { border-bottom-width: 0; } + .bl-0-l { border-left-width: 0; } +} diff --git a/src/css/imports/_borders.css b/src/css/imports/_borders.css new file mode 100755 index 0000000..ce49e42 --- /dev/null +++ b/src/css/imports/_borders.css @@ -0,0 +1,58 @@ +/* + + BORDERS + Docs: http://tachyons.io/docs/themes/borders/ + + Base: + b = border + + Modifiers: + a = all + t = top + r = right + b = bottom + l = left + n = none + + Media Query Extensions: + -ns = not-small + -m = medium + -l = large + +*/ + + .ba { border-style: solid; border-width: 1px; } + .bt { border-top-style: solid; border-top-width: 1px; } + .br { border-right-style: solid; border-right-width: 1px; } + .bb { border-bottom-style: solid; border-bottom-width: 1px; } + .bl { border-left-style: solid; border-left-width: 1px; } + .bn { border-style: none; border-width: 0; } + + +@media (--breakpoint-not-small) { + .ba-ns { border-style: solid; border-width: 1px; } + .bt-ns { border-top-style: solid; border-top-width: 1px; } + .br-ns { border-right-style: solid; border-right-width: 1px; } + .bb-ns { border-bottom-style: solid; border-bottom-width: 1px; } + .bl-ns { border-left-style: solid; border-left-width: 1px; } + .bn-ns { border-style: none; border-width: 0; } +} + +@media (--breakpoint-medium) { + .ba-m { border-style: solid; border-width: 1px; } + .bt-m { border-top-style: solid; border-top-width: 1px; } + .br-m { border-right-style: solid; border-right-width: 1px; } + .bb-m { border-bottom-style: solid; border-bottom-width: 1px; } + .bl-m { border-left-style: solid; border-left-width: 1px; } + .bn-m { border-style: none; border-width: 0; } +} + +@media (--breakpoint-large) { + .ba-l { border-style: solid; border-width: 1px; } + .bt-l { border-top-style: solid; border-top-width: 1px; } + .br-l { border-right-style: solid; border-right-width: 1px; } + .bb-l { border-bottom-style: solid; border-bottom-width: 1px; } + .bl-l { border-left-style: solid; border-left-width: 1px; } + .bn-l { border-style: none; border-width: 0; } +} + diff --git a/src/css/imports/_box-shadow.css b/src/css/imports/_box-shadow.css new file mode 100755 index 0000000..e744bc7 --- /dev/null +++ b/src/css/imports/_box-shadow.css @@ -0,0 +1,41 @@ +/* + + BOX-SHADOW + Docs: http://tachyons.io/docs/themes/box-shadow/ + + Media Query Extensions: + -ns = not-small + -m = medium + -l = large + + */ + +.shadow-1 { box-shadow: 0px 0px 4px 2px rgba( 0, 0, 0, 0.2 ); } +.shadow-2 { box-shadow: 0px 0px 8px 2px rgba( 0, 0, 0, 0.2 ); } +.shadow-3 { box-shadow: 2px 2px 4px 2px rgba( 0, 0, 0, 0.2 ); } +.shadow-4 { box-shadow: 2px 2px 8px 0px rgba( 0, 0, 0, 0.2 ); } +.shadow-5 { box-shadow: 4px 4px 8px 0px rgba( 0, 0, 0, 0.2 ); } + +@media (--breakpoint-not-small) { + .shadow-1-ns { box-shadow: 0px 0px 4px 2px rgba( 0, 0, 0, 0.2 ); } + .shadow-2-ns { box-shadow: 0px 0px 8px 2px rgba( 0, 0, 0, 0.2 ); } + .shadow-3-ns { box-shadow: 2px 2px 4px 2px rgba( 0, 0, 0, 0.2 ); } + .shadow-4-ns { box-shadow: 2px 2px 8px 0px rgba( 0, 0, 0, 0.2 ); } + .shadow-5-ns { box-shadow: 4px 4px 8px 0px rgba( 0, 0, 0, 0.2 ); } +} + +@media (--breakpoint-medium) { + .shadow-1-m { box-shadow: 0px 0px 4px 2px rgba( 0, 0, 0, 0.2 ); } + .shadow-2-m { box-shadow: 0px 0px 8px 2px rgba( 0, 0, 0, 0.2 ); } + .shadow-3-m { box-shadow: 2px 2px 4px 2px rgba( 0, 0, 0, 0.2 ); } + .shadow-4-m { box-shadow: 2px 2px 8px 0px rgba( 0, 0, 0, 0.2 ); } + .shadow-5-m { box-shadow: 4px 4px 8px 0px rgba( 0, 0, 0, 0.2 ); } +} + +@media (--breakpoint-large) { + .shadow-1-l { box-shadow: 0px 0px 4px 2px rgba( 0, 0, 0, 0.2 ); } + .shadow-2-l { box-shadow: 0px 0px 8px 2px rgba( 0, 0, 0, 0.2 ); } + .shadow-3-l { box-shadow: 2px 2px 4px 2px rgba( 0, 0, 0, 0.2 ); } + .shadow-4-l { box-shadow: 2px 2px 8px 0px rgba( 0, 0, 0, 0.2 ); } + .shadow-5-l { box-shadow: 4px 4px 8px 0px rgba( 0, 0, 0, 0.2 ); } +} diff --git a/src/css/imports/_box-sizing.css b/src/css/imports/_box-sizing.css new file mode 100755 index 0000000..0bae370 --- /dev/null +++ b/src/css/imports/_box-sizing.css @@ -0,0 +1,36 @@ +/* + + BOX SIZING + +*/ + +html, +body, +div, +article, +section, +main, +footer, +header, +form, +fieldset, +pre, +code, +p, +ul, +ol, +li, +dl, +dt, +dd, +textarea, +input[type="email"], +input[type="number"], +input[type="password"], +input[type="tel"], +input[type="text"], +input[type="url"], +.border-box { + box-sizing: border-box; +} + diff --git a/src/css/imports/_clears.css b/src/css/imports/_clears.css new file mode 100755 index 0000000..14d8e1d --- /dev/null +++ b/src/css/imports/_clears.css @@ -0,0 +1,40 @@ +/* + + CLEARFIX + http://tachyons.io/docs/layout/clearfix/ + +*/ + +/* Nicolas Gallaghers Clearfix solution + Ref: http://nicolasgallagher.com/micro-clearfix-hack/ */ + +.cf:before, +.cf:after { content: " "; display: table; } +.cf:after { clear: both; } +.cf { *zoom: 1; } + +.cl { clear: left; } +.cr { clear: right; } +.cb { clear: both; } +.cn { clear: none; } + +@media (--breakpoint-not-small) { + .cl-ns { clear: left; } + .cr-ns { clear: right; } + .cb-ns { clear: both; } + .cn-ns { clear: none; } +} + +@media (--breakpoint-medium) { + .cl-m { clear: left; } + .cr-m { clear: right; } + .cb-m { clear: both; } + .cn-m { clear: none; } +} + +@media (--breakpoint-large) { + .cl-l { clear: left; } + .cr-l { clear: right; } + .cb-l { clear: both; } + .cn-l { clear: none; } +} diff --git a/src/css/imports/_code.css b/src/css/imports/_code.css new file mode 100755 index 0000000..ac691f3 --- /dev/null +++ b/src/css/imports/_code.css @@ -0,0 +1,11 @@ +/* + + CODE + +*/ + +.pre { + overflow-x: auto; + overflow-y: hidden; + overflow: scroll; +} diff --git a/src/css/imports/_colors.css b/src/css/imports/_colors.css new file mode 100755 index 0000000..7280aec --- /dev/null +++ b/src/css/imports/_colors.css @@ -0,0 +1,80 @@ +/* + + Tachyons + COLOR VARIABLES + + Grayscale + - Solids + - Transparencies + Colors + +*/ + +:root { + --black: #000; + --near-black: #111; + --dark-gray:#333; + --mid-gray:#555; + --gray: #777; + --silver: #999; + --light-silver: #aaa; + --moon-gray: #ccc; + --light-gray: #eee; + --near-white: #f4f4f4; + --white: #fff; + + --transparent:transparent; + + --black-90: rgba(0,0,0,.9); + --black-80: rgba(0,0,0,.8); + --black-70: rgba(0,0,0,.7); + --black-60: rgba(0,0,0,.6); + --black-50: rgba(0,0,0,.5); + --black-40: rgba(0,0,0,.4); + --black-30: rgba(0,0,0,.3); + --black-20: rgba(0,0,0,.2); + --black-10: rgba(0,0,0,.1); + --black-05: rgba(0,0,0,.05); + --black-025: rgba(0,0,0,.025); + --black-0125: rgba(0,0,0,.0125); + + --white-90: rgba(255,255,255,.9); + --white-80: rgba(255,255,255,.8); + --white-70: rgba(255,255,255,.7); + --white-60: rgba(255,255,255,.6); + --white-50: rgba(255,255,255,.5); + --white-40: rgba(255,255,255,.4); + --white-30: rgba(255,255,255,.3); + --white-20: rgba(255,255,255,.2); + --white-10: rgba(255,255,255,.1); + --white-05: rgba(255,255,255,.05); + --white-025: rgba(255,255,255,.025); + --white-0125: rgba(255,255,255,.0125); + + --dark-red: #e7040f; + --red: #ff4136; + --light-red: #ff725c; + --orange: #ff6300; + --gold: #ffb700; + --yellow: #ffd700; + --light-yellow: #fbf1a9; + --purple: #5e2ca5; + --light-purple: #a463f2; + --dark-pink: #d5008f; + --hot-pink: #ff41b4; + --pink: #ff80cc; + --light-pink: #ffa3d7; + --dark-green: #137752; + --green: #19a974; + --light-green: #9eebcf; + --navy: #001b44; + --dark-blue: #00449e; + --blue: #357edd; + --light-blue: #96ccff; + --lightest-blue: #cdecff; + --washed-blue: #f6fffe; + --washed-green: #e8fdf5; + --washed-yellow: #fffceb; + --washed-red: #ffdfdf; + +} diff --git a/src/css/imports/_coordinates.css b/src/css/imports/_coordinates.css new file mode 100755 index 0000000..bf8e6d7 --- /dev/null +++ b/src/css/imports/_coordinates.css @@ -0,0 +1,146 @@ +/* + + COORDINATES + Docs: http://tachyons.io/docs/layout/position/ + + Use in combination with the position module. + + Base: + top + bottom + right + left + + Modifiers: + -0 = literal value 0 + -1 = literal value 1 + -2 = literal value 2 + --1 = literal value -1 + --2 = literal value -2 + + Media Query Extensions: + -ns = not-small + -m = medium + -l = large + +*/ + +.top-0 { top: 0; } +.right-0 { right: 0; } +.bottom-0 { bottom: 0; } +.left-0 { left: 0; } + +.top-1 { top: 1rem; } +.right-1 { right: 1rem; } +.bottom-1 { bottom: 1rem; } +.left-1 { left: 1rem; } + +.top-2 { top: 2rem; } +.right-2 { right: 2rem; } +.bottom-2 { bottom: 2rem; } +.left-2 { left: 2rem; } + +.top--1 { top: -1rem; } +.right--1 { right: -1rem; } +.bottom--1 { bottom: -1rem; } +.left--1 { left: -1rem; } + +.top--2 { top: -2rem; } +.right--2 { right: -2rem; } +.bottom--2 { bottom: -2rem; } +.left--2 { left: -2rem; } + + +.absolute--fill { + top: 0; + right: 0; + bottom: 0; + left: 0; +} + +@media (--breakpoint-not-small) { + .top-0-ns { top: 0; } + .left-0-ns { left: 0; } + .right-0-ns { right: 0; } + .bottom-0-ns { bottom: 0; } + .top-1-ns { top: 1rem; } + .left-1-ns { left: 1rem; } + .right-1-ns { right: 1rem; } + .bottom-1-ns { bottom: 1rem; } + .top-2-ns { top: 2rem; } + .left-2-ns { left: 2rem; } + .right-2-ns { right: 2rem; } + .bottom-2-ns { bottom: 2rem; } + .top--1-ns { top: -1rem; } + .right--1-ns { right: -1rem; } + .bottom--1-ns { bottom: -1rem; } + .left--1-ns { left: -1rem; } + .top--2-ns { top: -2rem; } + .right--2-ns { right: -2rem; } + .bottom--2-ns { bottom: -2rem; } + .left--2-ns { left: -2rem; } + .absolute--fill-ns { + top: 0; + right: 0; + bottom: 0; + left: 0; + } +} + +@media (--breakpoint-medium) { + .top-0-m { top: 0; } + .left-0-m { left: 0; } + .right-0-m { right: 0; } + .bottom-0-m { bottom: 0; } + .top-1-m { top: 1rem; } + .left-1-m { left: 1rem; } + .right-1-m { right: 1rem; } + .bottom-1-m { bottom: 1rem; } + .top-2-m { top: 2rem; } + .left-2-m { left: 2rem; } + .right-2-m { right: 2rem; } + .bottom-2-m { bottom: 2rem; } + .top--1-m { top: -1rem; } + .right--1-m { right: -1rem; } + .bottom--1-m { bottom: -1rem; } + .left--1-m { left: -1rem; } + .top--2-m { top: -2rem; } + .right--2-m { right: -2rem; } + .bottom--2-m { bottom: -2rem; } + .left--2-m { left: -2rem; } + .absolute--fill-m { + top: 0; + right: 0; + bottom: 0; + left: 0; + } +} + +@media (--breakpoint-large) { + .top-0-l { top: 0; } + .left-0-l { left: 0; } + .right-0-l { right: 0; } + .bottom-0-l { bottom: 0; } + .top-1-l { top: 1rem; } + .left-1-l { left: 1rem; } + .right-1-l { right: 1rem; } + .bottom-1-l { bottom: 1rem; } + .top-2-l { top: 2rem; } + .left-2-l { left: 2rem; } + .right-2-l { right: 2rem; } + .bottom-2-l { bottom: 2rem; } + .top--1-l { top: -1rem; } + .right--1-l { right: -1rem; } + .bottom--1-l { bottom: -1rem; } + .left--1-l { left: -1rem; } + .top--2-l { top: -2rem; } + .right--2-l { right: -2rem; } + .bottom--2-l { bottom: -2rem; } + .left--2-l { left: -2rem; } + .absolute--fill-l { + top: 0; + right: 0; + bottom: 0; + left: 0; + } +} diff --git a/src/css/imports/_debug-children.css b/src/css/imports/_debug-children.css new file mode 100755 index 0000000..10204da --- /dev/null +++ b/src/css/imports/_debug-children.css @@ -0,0 +1,14 @@ +/* + + DEBUG CHILDREN + Docs: http://tachyons.io/docs/debug/ + + Just add the debug class to any element to see outlines on its + children. + +*/ + +.debug * { outline: 1px solid gold; } +.debug-white * { outline: 1px solid white; } +.debug-black * { outline: 1px solid black; } + diff --git a/src/css/imports/_debug-grid.css b/src/css/imports/_debug-grid.css new file mode 100755 index 0000000..c5beeb8 --- /dev/null +++ b/src/css/imports/_debug-grid.css @@ -0,0 +1,26 @@ +/* + + DEBUG GRID + http://tachyons.io/docs/debug-grid/ + + Can be useful for debugging layout issues + or helping to make sure things line up perfectly. + Just tack one of these classes onto a parent element. + +*/ + +.debug-grid { + background:transparent url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTExIDc5LjE1ODMyNSwgMjAxNS8wOS8xMC0wMToxMDoyMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MTRDOTY4N0U2N0VFMTFFNjg2MzZDQjkwNkQ4MjgwMEIiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MTRDOTY4N0Q2N0VFMTFFNjg2MzZDQjkwNkQ4MjgwMEIiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTUgKE1hY2ludG9zaCkiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo3NjcyQkQ3NjY3QzUxMUU2QjJCQ0UyNDA4MTAwMjE3MSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo3NjcyQkQ3NzY3QzUxMUU2QjJCQ0UyNDA4MTAwMjE3MSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PsBS+GMAAAAjSURBVHjaYvz//z8DLsD4gcGXiYEAGBIKGBne//fFpwAgwAB98AaF2pjlUQAAAABJRU5ErkJggg==) repeat top left; +} + +.debug-grid-16 { + background:transparent url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTExIDc5LjE1ODMyNSwgMjAxNS8wOS8xMC0wMToxMDoyMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6ODYyRjhERDU2N0YyMTFFNjg2MzZDQjkwNkQ4MjgwMEIiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6ODYyRjhERDQ2N0YyMTFFNjg2MzZDQjkwNkQ4MjgwMEIiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTUgKE1hY2ludG9zaCkiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo3NjcyQkQ3QTY3QzUxMUU2QjJCQ0UyNDA4MTAwMjE3MSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo3NjcyQkQ3QjY3QzUxMUU2QjJCQ0UyNDA4MTAwMjE3MSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PvCS01IAAABMSURBVHjaYmR4/5+BFPBfAMFm/MBgx8RAGWCn1AAmSg34Q6kBDKMGMDCwICeMIemF/5QawEipAWwUhwEjMDvbAWlWkvVBwu8vQIABAEwBCph8U6c0AAAAAElFTkSuQmCC) repeat top left; +} + +.debug-grid-8-solid { + background:white url(data:image/jpeg;base64,/9j/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEdWNreQABAAQAAAAAAAD/4QMxaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLwA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/PiA8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjYtYzExMSA3OS4xNTgzMjUsIDIwMTUvMDkvMTAtMDE6MTA6MjAgICAgICAgICI+IDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+IDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE1IChNYWNpbnRvc2gpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkIxMjI0OTczNjdCMzExRTZCMkJDRTI0MDgxMDAyMTcxIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkIxMjI0OTc0NjdCMzExRTZCMkJDRTI0MDgxMDAyMTcxIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6QjEyMjQ5NzE2N0IzMTFFNkIyQkNFMjQwODEwMDIxNzEiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6QjEyMjQ5NzI2N0IzMTFFNkIyQkNFMjQwODEwMDIxNzEiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7/7gAOQWRvYmUAZMAAAAAB/9sAhAAbGhopHSlBJiZBQi8vL0JHPz4+P0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHAR0pKTQmND8oKD9HPzU/R0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0f/wAARCAAIAAgDASIAAhEBAxEB/8QAWQABAQAAAAAAAAAAAAAAAAAAAAYBAQEAAAAAAAAAAAAAAAAAAAIEEAEBAAMBAAAAAAAAAAAAAAABADECA0ERAAEDBQAAAAAAAAAAAAAAAAARITFBUWESIv/aAAwDAQACEQMRAD8AoOnTV1QTD7JJshP3vSM3P//Z) repeat top left; +} + +.debug-grid-16-solid { + background:white url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTExIDc5LjE1ODMyNSwgMjAxNS8wOS8xMC0wMToxMDoyMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTUgKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NzY3MkJEN0U2N0M1MTFFNkIyQkNFMjQwODEwMDIxNzEiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NzY3MkJEN0Y2N0M1MTFFNkIyQkNFMjQwODEwMDIxNzEiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo3NjcyQkQ3QzY3QzUxMUU2QjJCQ0UyNDA4MTAwMjE3MSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo3NjcyQkQ3RDY3QzUxMUU2QjJCQ0UyNDA4MTAwMjE3MSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pve6J3kAAAAzSURBVHjaYvz//z8D0UDsMwMjSRoYP5Gq4SPNbRjVMEQ1fCRDg+in/6+J1AJUxsgAEGAA31BAJMS0GYEAAAAASUVORK5CYII=) repeat top left; +} diff --git a/src/css/imports/_debug.css b/src/css/imports/_debug.css new file mode 100755 index 0000000..f09f2b5 --- /dev/null +++ b/src/css/imports/_debug.css @@ -0,0 +1,132 @@ +/* + + DEBUG (PESTICIDE) + Docs: http://tachyons.io/docs/debug/ + + This is a partial you have to manually include in your + build file. It places a different colored outline on + each element which can help you debug layout issues. + There is also a handy chrome extension that can + be found at http://pesticide.io + +*/ + +body { outline: 1px solid #2980B9!important; } +article { outline: 1px solid #3498DB!important; } +nav { outline: 1px solid #0088C3!important; } +aside { outline: 1px solid #33A0CE!important; } +section { outline: 1px solid #66B8DA!important; } +header { outline: 1px solid #99CFE7!important; } +footer { outline: 1px solid #CCE7F3!important; } +h1 { outline: 1px solid #162544!important; } +h2 { outline: 1px solid #314E6E!important; } +h3 { outline: 1px solid #3E5E85!important; } +h4 { outline: 1px solid #449BAF!important; } +h5 { outline: 1px solid #C7D1CB!important; } +h6 { outline: 1px solid #4371D0!important; } +main { outline: 1px solid #2F4F90!important; } +address { outline: 1px solid #1A2C51!important; } +div { outline: 1px solid #036CDB!important; } + + +p { outline: 1px solid #AC050B!important; } +hr { outline: 1px solid #FF063F!important; } +pre { outline: 1px solid #850440!important; } +blockquote { outline: 1px solid #F1B8E7!important; } +ol { outline: 1px solid #FF050C!important; } +ul { outline: 1px solid #D90416!important; } +li { outline: 1px solid #D90416!important; } +dl { outline: 1px solid #FD3427!important; } +dt { outline: 1px solid #FF0043!important; } +dd { outline: 1px solid #E80174!important; } +figure { outline: 1px solid #FF00BB!important; } +figcaption { outline: 1px solid #BF0032!important; } + + + +table { outline: 1px solid #00CC99!important; } +caption { outline: 1px solid #37FFC4!important; } +thead { outline: 1px solid #98DACA!important; } +tbody { outline: 1px solid #64A7A0!important; } +tfoot { outline: 1px solid #22746B!important; } +tr { outline: 1px solid #86C0B2!important; } +th { outline: 1px solid #A1E7D6!important; } +td { outline: 1px solid #3F5A54!important; } +col { outline: 1px solid #6C9A8F!important; } +colgroup { outline: 1px solid #6C9A9D!important; } + + +button { outline: 1px solid #DA8301!important; } +datalist { outline: 1px solid #C06000!important; } +fieldset { outline: 1px solid #D95100!important; } +form { outline: 1px solid #D23600!important; } +input { outline: 1px solid #FCA600!important; } +keygen { outline: 1px solid #B31E00!important; } +label { outline: 1px solid #EE8900!important; } +legend { outline: 1px solid #DE6D00!important; } +meter { outline: 1px solid #E8630C!important; } +optgroup { outline: 1px solid #B33600!important; } +option { outline: 1px solid #FF8A00!important; } +output { outline: 1px solid #FF9619!important; } +progress { outline: 1px solid #E57C00!important; } +select { outline: 1px solid #E26E0F!important; } +textarea { outline: 1px solid #CC5400!important; } + + + +details { outline: 1px solid #33848F!important; } +summary { outline: 1px solid #60A1A6!important; } +command { outline: 1px solid #438DA1!important; } +menu { outline: 1px solid #449DA6!important; } + + + +del { outline: 1px solid #BF0000!important; } +ins { outline: 1px solid #400000!important; } + + + +img { outline: 1px solid #22746B!important; } +iframe { outline: 1px solid #64A7A0!important; } +embed { outline: 1px solid #98DACA!important; } +object { outline: 1px solid #00CC99!important; } +param { outline: 1px solid #37FFC4!important; } +video { outline: 1px solid #6EE866!important; } +audio { outline: 1px solid #027353!important; } +source { outline: 1px solid #012426!important; } +canvas { outline: 1px solid #A2F570!important; } +track { outline: 1px solid #59A600!important; } +map { outline: 1px solid #7BE500!important; } +area { outline: 1px solid #305900!important; } + + + +a { outline: 1px solid #FF62AB!important; } +em { outline: 1px solid #800B41!important; } +strong { outline: 1px solid #FF1583!important; } +i { outline: 1px solid #803156!important; } +b { outline: 1px solid #CC1169!important; } +u { outline: 1px solid #FF0430!important; } +s { outline: 1px solid #F805E3!important; } +small { outline: 1px solid #D107B2!important; } +abbr { outline: 1px solid #4A0263!important; } +q { outline: 1px solid #240018!important; } +cite { outline: 1px solid #64003C!important; } +dfn { outline: 1px solid #B4005A!important; } +sub { outline: 1px solid #DBA0C8!important; } +sup { outline: 1px solid #CC0256!important; } +time { outline: 1px solid #D6606D!important; } +code { outline: 1px solid #E04251!important; } +kbd { outline: 1px solid #5E001F!important; } +samp { outline: 1px solid #9C0033!important; } +var { outline: 1px solid #D90047!important; } +mark { outline: 1px solid #FF0053!important; } +bdi { outline: 1px solid #BF3668!important; } +bdo { outline: 1px solid #6F1400!important; } +ruby { outline: 1px solid #FF7B93!important; } +rt { outline: 1px solid #FF2F54!important; } +rp { outline: 1px solid #803E49!important; } +span { outline: 1px solid #CC2643!important; } +br { outline: 1px solid #DB687D!important; } +wbr { outline: 1px solid #DB175B!important; } + diff --git a/src/css/imports/_display.css b/src/css/imports/_display.css new file mode 100755 index 0000000..13ef1be --- /dev/null +++ b/src/css/imports/_display.css @@ -0,0 +1,104 @@ +/* + + DISPLAY + Docs: http://tachyons.io/docs/layout/display + + Base: + d = display + + Modifiers: + n = none + b = block + ib = inline-block + it = inline-table + t = table + tc = table-cell + tr = table-row + tcol = table-column + tcolg = table-column-group + + Media Query Extensions: + -ns = not-small + -m = medium + -l = large + +*/ + +.dn { display: none; } +.di { display: inline; } +.db { display: block; } +.dib { display: inline-block; } +.dit { display: inline-table; } +.dt { display: table; } +.dtc { display: table-cell; } +.dt-row { display: table-row; } +.dt-row-group { display: table-row-group; } +.dt-column { display: table-column; } +.dt-column-group { display: table-column-group; } + +/* + This will set table to full width and then + all cells will be equal width +*/ +.dt--fixed { + table-layout: fixed; + width: 100%; +} + +@media (--breakpoint-not-small) { + .dn-ns { display: none; } + .di-ns { display: inline; } + .db-ns { display: block; } + .dib-ns { display: inline-block; } + .dit-ns { display: inline-table; } + .dt-ns { display: table; } + .dtc-ns { display: table-cell; } + .dt-row-ns { display: table-row; } + .dt-row-group-ns { display: table-row-group; } + .dt-column-ns { display: table-column; } + .dt-column-group-ns { display: table-column-group; } + + .dt--fixed-ns { + table-layout: fixed; + width: 100%; + } +} + +@media (--breakpoint-medium) { + .dn-m { display: none; } + .di-m { display: inline; } + .db-m { display: block; } + .dib-m { display: inline-block; } + .dit-m { display: inline-table; } + .dt-m { display: table; } + .dtc-m { display: table-cell; } + .dt-row-m { display: table-row; } + .dt-row-group-m { display: table-row-group; } + .dt-column-m { display: table-column; } + .dt-column-group-m { display: table-column-group; } + + .dt--fixed-m { + table-layout: fixed; + width: 100%; + } +} + +@media (--breakpoint-large) { + .dn-l { display: none; } + .di-l { display: inline; } + .db-l { display: block; } + .dib-l { display: inline-block; } + .dit-l { display: inline-table; } + .dt-l { display: table; } + .dtc-l { display: table-cell; } + .dt-row-l { display: table-row; } + .dt-row-group-l { display: table-row-group; } + .dt-column-l { display: table-column; } + .dt-column-group-l { display: table-column-group; } + + .dt--fixed-l { + table-layout: fixed; + width: 100%; + } +} + diff --git a/src/css/imports/_flexbox.css b/src/css/imports/_flexbox.css new file mode 100755 index 0000000..19409b6 --- /dev/null +++ b/src/css/imports/_flexbox.css @@ -0,0 +1,209 @@ +/* + + FLEXBOX + + Media Query Extensions: + -ns = not-small + -m = medium + -l = large + +*/ + +.flex { display: flex; } +.inline-flex { display: inline-flex; } + +/* 1. Fix for Chrome 44 bug. + * https://code.google.com/p/chromium/issues/detail?id=506893 */ +.flex-auto { + flex: 1 1 auto; + min-width: 0; /* 1 */ + min-height: 0; /* 1 */ +} + +.flex-none { flex: none; } + +.flex-column { flex-direction: column; } +.flex-row { flex-direction: row; } +.flex-wrap { flex-wrap: wrap; } + +.items-start { align-items: flex-start; } +.items-end { align-items: flex-end; } +.items-center { align-items: center; } +.items-baseline { align-items: baseline; } +.items-stretch { align-items: stretch; } + +.self-start { align-self: flex-start; } +.self-end { align-self: flex-end; } +.self-center { align-self: center; } +.self-baseline { align-self: baseline; } +.self-stretch { align-self: stretch; } + +.justify-start { justify-content: flex-start; } +.justify-end { justify-content: flex-end; } +.justify-center { justify-content: center; } +.justify-between { justify-content: space-between; } +.justify-around { justify-content: space-around; } + +.content-start { align-content: flex-start; } +.content-end { align-content: flex-end; } +.content-center { align-content: center; } +.content-between { align-content: space-between; } +.content-around { align-content: space-around; } +.content-stretch { align-content: stretch; } + +.order-0 { order: 0; } +.order-1 { order: 1; } +.order-2 { order: 2; } +.order-3 { order: 3; } +.order-4 { order: 4; } +.order-5 { order: 5; } +.order-6 { order: 6; } +.order-7 { order: 7; } +.order-8 { order: 8; } +.order-last { order: 99999; } + +@media (--breakpoint-not-small) { + .flex-ns { display: flex; } + .inline-flex-ns { display: inline-flex; } + .flex-auto-ns { + flex: 1 1 auto; + min-width: 0; /* 1 */ + min-height: 0; /* 1 */ + } + .flex-none-ns { flex: none; } + .flex-column-ns { flex-direction: column; } + .flex-row-ns { flex-direction: row; } + .flex-wrap-ns { flex-wrap: wrap; } + .items-start-ns { align-items: flex-start; } + .items-end-ns { align-items: flex-end; } + .items-center-ns { align-items: center; } + .items-baseline-ns { align-items: baseline; } + .items-stretch-ns { align-items: stretch; } + + .self-start-ns { align-self: flex-start; } + .self-end-ns { align-self: flex-end; } + .self-center-ns { align-self: center; } + .self-baseline-ns { align-self: baseline; } + .self-stretch-ns { align-self: stretch; } + + .justify-start-ns { justify-content: flex-start; } + .justify-end-ns { justify-content: flex-end; } + .justify-center-ns { justify-content: center; } + .justify-between-ns { justify-content: space-between; } + .justify-around-ns { justify-content: space-around; } + + .content-start-ns { align-content: flex-start; } + .content-end-ns { align-content: flex-end; } + .content-center-ns { align-content: center; } + .content-between-ns { align-content: space-between; } + .content-around-ns { align-content: space-around; } + .content-stretch-ns { align-content: stretch; } + + .order-0-ns { order: 0; } + .order-1-ns { order: 1; } + .order-2-ns { order: 2; } + .order-3-ns { order: 3; } + .order-4-ns { order: 4; } + .order-5-ns { order: 5; } + .order-6-ns { order: 6; } + .order-7-ns { order: 7; } + .order-8-ns { order: 8; } + .order-last-ns { order: 99999; } +} +@media (--breakpoint-medium) { + .flex-m { display: flex; } + .inline-flex-m { display: inline-flex; } + .flex-auto-m { + flex: 1 1 auto; + min-width: 0; /* 1 */ + min-height: 0; /* 1 */ + } + .flex-none-m { flex: none; } + .flex-column-m { flex-direction: column; } + .flex-row-m { flex-direction: row; } + .flex-wrap-m { flex-wrap: wrap; } + .items-start-m { align-items: flex-start; } + .items-end-m { align-items: flex-end; } + .items-center-m { align-items: center; } + .items-baseline-m { align-items: baseline; } + .items-stretch-m { align-items: stretch; } + + .self-start-m { align-self: flex-start; } + .self-end-m { align-self: flex-end; } + .self-center-m { align-self: center; } + .self-baseline-m { align-self: baseline; } + .self-stretch-m { align-self: stretch; } + + .justify-start-m { justify-content: flex-start; } + .justify-end-m { justify-content: flex-end; } + .justify-center-m { justify-content: center; } + .justify-between-m { justify-content: space-between; } + .justify-around-m { justify-content: space-around; } + + .content-start-m { align-content: flex-start; } + .content-end-m { align-content: flex-end; } + .content-center-m { align-content: center; } + .content-between-m { align-content: space-between; } + .content-around-m { align-content: space-around; } + .content-stretch-m { align-content: stretch; } + + .order-0-m { order: 0; } + .order-1-m { order: 1; } + .order-2-m { order: 2; } + .order-3-m { order: 3; } + .order-4-m { order: 4; } + .order-5-m { order: 5; } + .order-6-m { order: 6; } + .order-7-m { order: 7; } + .order-8-m { order: 8; } + .order-last-m { order: 99999; } +} + +@media (--breakpoint-large) { + .flex-l { display: flex; } + .inline-flex-l { display: inline-flex; } + .flex-auto-l { + flex: 1 1 auto; + min-width: 0; /* 1 */ + min-height: 0; /* 1 */ + } + .flex-none-l { flex: none; } + .flex-column-l { flex-direction: column; } + .flex-row-l { flex-direction: row; } + .flex-wrap-l { flex-wrap: wrap; } + .items-start-l { align-items: flex-start; } + .items-end-l { align-items: flex-end; } + .items-center-l { align-items: center; } + .items-baseline-l { align-items: baseline; } + .items-stretch-l { align-items: stretch; } + + .self-start-l { align-self: flex-start; } + .self-end-l { align-self: flex-end; } + .self-center-l { align-self: center; } + .self-baseline-l { align-self: baseline; } + .self-stretch-l { align-self: stretch; } + + .justify-start-l { justify-content: flex-start; } + .justify-end-l { justify-content: flex-end; } + .justify-center-l { justify-content: center; } + .justify-between-l { justify-content: space-between; } + .justify-around-l { justify-content: space-around; } + + .content-start-l { align-content: flex-start; } + .content-end-l { align-content: flex-end; } + .content-center-l { align-content: center; } + .content-between-l { align-content: space-between; } + .content-around-l { align-content: space-around; } + .content-stretch-l { align-content: stretch; } + + .order-0-l { order: 0; } + .order-1-l { order: 1; } + .order-2-l { order: 2; } + .order-3-l { order: 3; } + .order-4-l { order: 4; } + .order-5-l { order: 5; } + .order-6-l { order: 6; } + .order-7-l { order: 7; } + .order-8-l { order: 8; } + .order-last-l { order: 99999; } +} diff --git a/src/css/imports/_floats.css b/src/css/imports/_floats.css new file mode 100755 index 0000000..d5b3912 --- /dev/null +++ b/src/css/imports/_floats.css @@ -0,0 +1,49 @@ +/* + + FLOATS + http://tachyons.io/docs/layout/floats/ + + 1. Floated elements are automatically rendered as block level elements. + Setting floats to display inline will fix the double margin bug in + ie6. You know... just in case. + + 2. Don't forget to clearfix your floats with .cf + + Base: + f = float + + Modifiers: + l = left + r = right + n = none + + Media Query Extensions: + -ns = not-small + -m = medium + -l = large + +*/ + + + +.fl { float: left; _display: inline; } +.fr { float: right; _display: inline; } +.fn { float: none; } + +@media (--breakpoint-not-small) { + .fl-ns { float: left; _display: inline; } + .fr-ns { float: right; _display: inline; } + .fn-ns { float: none; } +} + +@media (--breakpoint-medium) { + .fl-m { float: left; _display: inline; } + .fr-m { float: right; _display: inline; } + .fn-m { float: none; } +} + +@media (--breakpoint-large) { + .fl-l { float: left; _display: inline; } + .fr-l { float: right; _display: inline; } + .fn-l { float: none; } +} diff --git a/src/css/imports/_font-family.css b/src/css/imports/_font-family.css new file mode 100755 index 0000000..eed780a --- /dev/null +++ b/src/css/imports/_font-family.css @@ -0,0 +1,100 @@ +/* + + FONT FAMILY GROUPS + Docs: http://tachyons.io/docs/typography/font-family/ + +*/ + + +.sans-serif { + font-family: -apple-system, BlinkMacSystemFont, + 'avenir next', avenir, + helvetica, 'helvetica neue', + ubuntu, + roboto, noto, + 'segoe ui', arial, + sans-serif; +} + +.serif { + font-family: georgia, + times, + serif; +} + +.system-sans-serif { + font-family: sans-serif; +} + +.system-serif { + font-family: serif; +} + + +/* Monospaced Typefaces (for code) */ + +/* From http://cssfontstack.com */ +code, .code { + font-family: Consolas, + monaco, + monospace; +} + +.courier { + font-family: 'Courier Next', + courier, + monospace; +} + + +/* Sans-Serif Typefaces */ + +.helvetica { + font-family: 'helvetica neue', helvetica, + sans-serif; +} + +.avenir { + font-family: 'avenir next', avenir, + sans-serif; +} + + +/* Serif Typefaces */ + +.athelas { + font-family: athelas, + georgia, + serif; +} + +.georgia { + font-family: georgia, + serif; +} + +.times { + font-family: times, + serif; +} + +.bodoni { + font-family: "Bodoni MT", + serif; +} + +.calisto { + font-family: "Calisto MT", + serif; +} + +.garamond { + font-family: garamond, + serif; +} + +.baskerville { + font-family: baskerville, + serif; +} + diff --git a/src/css/imports/_font-style.css b/src/css/imports/_font-style.css new file mode 100755 index 0000000..d095dfe --- /dev/null +++ b/src/css/imports/_font-style.css @@ -0,0 +1,29 @@ +/* + + FONT STYLE + Docs: http://tachyons.io/docs/typography/font-style/ + + Media Query Extensions: + -ns = not-small + -m = medium + -l = large + +*/ + +.i { font-style: italic; } +.fs-normal { font-style: normal; } + +@media (--breakpoint-not-small) { + .i-ns { font-style: italic; } + .fs-normal-ns { font-style: normal; } +} + +@media (--breakpoint-medium) { + .i-m { font-style: italic; } + .fs-normal-m { font-style: normal; } +} + +@media (--breakpoint-large) { + .i-l { font-style: italic; } + .fs-normal-l { font-style: normal; } +} diff --git a/src/css/imports/_font-weight.css b/src/css/imports/_font-weight.css new file mode 100755 index 0000000..990a05a --- /dev/null +++ b/src/css/imports/_font-weight.css @@ -0,0 +1,80 @@ +/* + + FONT WEIGHT + Docs: http://tachyons.io/docs/typography/font-weight/ + + Base + fw = font-weight + + Modifiers: + 1 = literal value 100 + 2 = literal value 200 + 3 = literal value 300 + 4 = literal value 400 + 5 = literal value 500 + 6 = literal value 600 + 7 = literal value 700 + 8 = literal value 800 + 9 = literal value 900 + + Media Query Extensions: + -ns = not-small + -m = medium + -l = large + +*/ + +.normal { font-weight: normal; } +.b { font-weight: bold; } +.fw1 { font-weight: 100; } +.fw2 { font-weight: 200; } +.fw3 { font-weight: 300; } +.fw4 { font-weight: 400; } +.fw5 { font-weight: 500; } +.fw6 { font-weight: 600; } +.fw7 { font-weight: 700; } +.fw8 { font-weight: 800; } +.fw9 { font-weight: 900; } + + +@media (--breakpoint-not-small) { + .normal-ns { font-weight: normal; } + .b-ns { font-weight: bold; } + .fw1-ns { font-weight: 100; } + .fw2-ns { font-weight: 200; } + .fw3-ns { font-weight: 300; } + .fw4-ns { font-weight: 400; } + .fw5-ns { font-weight: 500; } + .fw6-ns { font-weight: 600; } + .fw7-ns { font-weight: 700; } + .fw8-ns { font-weight: 800; } + .fw9-ns { font-weight: 900; } +} + +@media (--breakpoint-medium) { + .normal-m { font-weight: normal; } + .b-m { font-weight: bold; } + .fw1-m { font-weight: 100; } + .fw2-m { font-weight: 200; } + .fw3-m { font-weight: 300; } + .fw4-m { font-weight: 400; } + .fw5-m { font-weight: 500; } + .fw6-m { font-weight: 600; } + .fw7-m { font-weight: 700; } + .fw8-m { font-weight: 800; } + .fw9-m { font-weight: 900; } +} + +@media (--breakpoint-large) { + .normal-l { font-weight: normal; } + .b-l { font-weight: bold; } + .fw1-l { font-weight: 100; } + .fw2-l { font-weight: 200; } + .fw3-l { font-weight: 300; } + .fw4-l { font-weight: 400; } + .fw5-l { font-weight: 500; } + .fw6-l { font-weight: 600; } + .fw7-l { font-weight: 700; } + .fw8-l { font-weight: 800; } + .fw9-l { font-weight: 900; } +} diff --git a/src/css/imports/_forms.css b/src/css/imports/_forms.css new file mode 100755 index 0000000..fe0b8ab --- /dev/null +++ b/src/css/imports/_forms.css @@ -0,0 +1,16 @@ +/* + + FORMS + +*/ + +.input-reset { + -webkit-appearance: none; + -moz-appearance: none; +} + +.button-reset::-moz-focus-inner, +.input-reset::-moz-focus-inner { + border: 0; + padding: 0; +} diff --git a/src/css/imports/_heights.css b/src/css/imports/_heights.css new file mode 100755 index 0000000..44108db --- /dev/null +++ b/src/css/imports/_heights.css @@ -0,0 +1,124 @@ +/* + + HEIGHTS + Docs: http://tachyons.io/docs/layout/heights/ + + Base: + h = height + min-h = min-height + min-vh = min-height vertical screen height + vh = vertical screen height + + Modifiers + 1 = 1st step in height scale + 2 = 2nd step in height scale + 3 = 3rd step in height scale + 4 = 4th step in height scale + 5 = 5th step in height scale + + -25 = literal value 25% + -50 = literal value 50% + -75 = literal value 75% + -100 = literal value 100% + + -auto = string value of auto + -inherit = string value of inherit + + Media Query Extensions: + -ns = not-small + -m = medium + -l = large + +*/ + +/* Height Scale */ + +.h1 { height: 1rem; } +.h2 { height: 2rem; } +.h3 { height: 4rem; } +.h4 { height: 8rem; } +.h5 { height: 16rem; } + +/* Height Percentages - Based off of height of parent */ + +.h-25 { height: 25%; } +.h-50 { height: 50%; } +.h-75 { height: 75%; } +.h-100 { height: 100%; } + +.min-h-100 { min-height: 100%; } + +/* Screen Height Percentage */ + +.vh-25 { height: 25vh; } +.vh-50 { height: 50vh; } +.vh-75 { height: 75vh; } +.vh-100 { height: 100vh; } + +.min-vh-100 { min-height: 100vh; } + + +/* String Properties */ + +.h-auto { height: auto; } +.h-inherit { height: inherit; } + +@media (--breakpoint-not-small) { + .h1-ns { height: 1rem; } + .h2-ns { height: 2rem; } + .h3-ns { height: 4rem; } + .h4-ns { height: 8rem; } + .h5-ns { height: 16rem; } + .h-25-ns { height: 25%; } + .h-50-ns { height: 50%; } + .h-75-ns { height: 75%; } + .h-100-ns { height: 100%; } + .min-h-100-ns { min-height: 100%; } + .vh-25-ns { height: 25vh; } + .vh-50-ns { height: 50vh; } + .vh-75-ns { height: 75vh; } + .vh-100-ns { height: 100vh; } + .min-vh-100-ns { min-height: 100vh; } + .h-auto-ns { height: auto; } + .h-inherit-ns { height: inherit; } +} + +@media (--breakpoint-medium) { + .h1-m { height: 1rem; } + .h2-m { height: 2rem; } + .h3-m { height: 4rem; } + .h4-m { height: 8rem; } + .h5-m { height: 16rem; } + .h-25-m { height: 25%; } + .h-50-m { height: 50%; } + .h-75-m { height: 75%; } + .h-100-m { height: 100%; } + .min-h-100-ns { min-height: 100%; } + .vh-25-m { height: 25vh; } + .vh-50-m { height: 50vh; } + .vh-75-m { height: 75vh; } + .vh-100-m { height: 100vh; } + .min-vh-100-m { min-height: 100vh; } + .h-auto-m { height: auto; } + .h-inherit-m { height: inherit; } +} + +@media (--breakpoint-large) { + .h1-l { height: 1rem; } + .h2-l { height: 2rem; } + .h3-l { height: 4rem; } + .h4-l { height: 8rem; } + .h5-l { height: 16rem; } + .h-25-l { height: 25%; } + .h-50-l { height: 50%; } + .h-75-l { height: 75%; } + .h-100-l { height: 100%; } + .min-h-100-l { min-height: 100%; } + .vh-25-l { height: 25vh; } + .vh-50-l { height: 50vh; } + .vh-75-l { height: 75vh; } + .vh-100-l { height: 100vh; } + .min-vh-100-l { min-height: 100vh; } + .h-auto-l { height: auto; } + .h-inherit-l { height: inherit; } +} diff --git a/src/css/imports/_hovers.css b/src/css/imports/_hovers.css new file mode 100755 index 0000000..7e9a64e --- /dev/null +++ b/src/css/imports/_hovers.css @@ -0,0 +1,131 @@ +/* + + HOVER EFFECTS + Docs: http://tachyons.io/docs/themes/hovers/ + + - Dim + - Hide Child + - Underline text + - Grow + - Pointer + - Shadow + +*/ + +/* + + Dim element on hover by adding the dim class. + +*/ +.dim { + opacity: 1; + transition: opacity .15s ease-in; +} +.dim:hover, +.dim:focus { + opacity: .5; + transition: opacity .15s ease-in; +} +.dim:active { + opacity: .8; transition: opacity .15s ease-out; +} + +/* + + Hide child & reveal on hover: + + Put the hide-child class on a parent element and any nested element with the + child class will be hidden and displayed on hover or focus. + + <div class="hide-child"> + <div class="child"> Hidden until hover or focus </div> + <div class="child"> Hidden until hover or focus </div> + <div class="child"> Hidden until hover or focus </div> + <div class="child"> Hidden until hover or focus </div> + </div> +*/ + +.hide-child .child { + opacity: 0; + transition: opacity .15s ease-in; +} +.hide-child:hover .child, +.hide-child:focus .child, +.hide-child:active .child { + opacity: 1; + transition: opacity .15s ease-in; +} + +.underline-hover:hover, +.underline-hover:focus { + text-decoration: underline; +} + +/* Can combine this with overflow-hidden to make background images grow on hover + * even if you are using background-size: cover */ + +.grow { + -moz-osx-font-smoothing: grayscale; + backface-visibility: hidden; + transform: translateZ(0); + transition: transform 0.25s ease-out; +} + +.grow:hover, +.grow:focus { + transform: scale(1.05); +} + +.grow:active { + transform: scale(.90); +} + +.grow-large { + -moz-osx-font-smoothing: grayscale; + backface-visibility: hidden; + transform: translateZ(0); + transition: transform .25s ease-in-out; +} + +.grow-large:hover, +.grow-large:focus { + transform: scale(1.2); +} + +.grow-large:active { + transform: scale(.95); +} + +/* Add pointer on hover */ + +.pointer:hover { + cursor: pointer; +} + +/* + Add shadow on hover. + + Performant box-shadow animation pattern from + http://tobiasahlin.com/blog/how-to-animate-box-shadow/ +*/ + +.shadow-hover::after { + box-shadow: 0px 0px 8px 2px rgba( 0, 0, 0, .2 ); + opacity: 0; + transition: opacity .25s ease-in-out; +} + +.shadow-hover:hover::after, +.shadow-hover:focus::after { + opacity: 1; +} + +/* Combine with classes in skins and skins-pseudo for + * thousands of different transition possibilities. */ + +.bg-animate, +.bg-animate:hover, +.bg-animate:focus { + transition: background-color .15s ease-in-out; +} + diff --git a/src/css/imports/_images.css b/src/css/imports/_images.css new file mode 100755 index 0000000..0298cea --- /dev/null +++ b/src/css/imports/_images.css @@ -0,0 +1,11 @@ +/* + + IMAGES + Docs: http://tachyons.io/docs/elements/images/ + +*/ + +/* Responsive images! */ + +img { max-width: 100%; } + diff --git a/src/css/imports/_letter-spacing.css b/src/css/imports/_letter-spacing.css new file mode 100755 index 0000000..d226513 --- /dev/null +++ b/src/css/imports/_letter-spacing.css @@ -0,0 +1,33 @@ +/* + + LETTER SPACING + Docs: http://tachyons.io/docs/typography/tracking/ + + Media Query Extensions: + -ns = not-small + -m = medium + -l = large + +*/ + +.tracked { letter-spacing: .1em; } +.tracked-tight { letter-spacing: -.05em; } +.tracked-mega { letter-spacing: .25em; } + +@media (--breakpoint-not-small) { + .tracked-ns { letter-spacing: .1em; } + .tracked-tight-ns { letter-spacing: -.05em; } + .tracked-mega-ns { letter-spacing: .25em; } +} + +@media (--breakpoint-medium) { + .tracked-m { letter-spacing: .1em; } + .tracked-tight-m { letter-spacing: -.05em; } + .tracked-mega-m { letter-spacing: .25em; } +} + +@media (--breakpoint-large) { + .tracked-l { letter-spacing: .1em; } + .tracked-tight-l { letter-spacing: -.05em; } + .tracked-mega-l { letter-spacing: .25em; } +} diff --git a/src/css/imports/_line-height.css b/src/css/imports/_line-height.css new file mode 100755 index 0000000..afbef0d --- /dev/null +++ b/src/css/imports/_line-height.css @@ -0,0 +1,34 @@ +/* + + LINE HEIGHT / LEADING + Docs: http://tachyons.io/docs/typography/line-height + + Media Query Extensions: + -ns = not-small + -m = medium + -l = large + +*/ + + .lh-solid { line-height: 1; } + .lh-title { line-height: 1.25; } + .lh-copy { line-height: 1.5; } + +@media (--breakpoint-not-small) { + .lh-solid-ns { line-height: 1; } + .lh-title-ns { line-height: 1.25; } + .lh-copy-ns { line-height: 1.5; } +} + +@media (--breakpoint-medium) { + .lh-solid-m { line-height: 1; } + .lh-title-m { line-height: 1.25; } + .lh-copy-m { line-height: 1.5; } +} + +@media (--breakpoint-large) { + .lh-solid-l { line-height: 1; } + .lh-title-l { line-height: 1.25; } + .lh-copy-l { line-height: 1.5; } +} + diff --git a/src/css/imports/_links.css b/src/css/imports/_links.css new file mode 100755 index 0000000..6c9a2c8 --- /dev/null +++ b/src/css/imports/_links.css @@ -0,0 +1,27 @@ +/* + + LINKS + Docs: http://tachyons.io/docs/elements/links/ + +*/ + +.link { + text-decoration: none; + transition: color .15s ease-in; +} + +.link:link, +.link:visited { + transition: color .15s ease-in; +} +.link:hover { + transition: color .15s ease-in; +} +.link:active { + transition: color .15s ease-in; +} +.link:focus { + transition: color .15s ease-in; + outline: 1px dotted currentColor; +} + diff --git a/src/css/imports/_lists.css b/src/css/imports/_lists.css new file mode 100755 index 0000000..88ca28d --- /dev/null +++ b/src/css/imports/_lists.css @@ -0,0 +1,8 @@ +/* + + LISTS + http://tachyons.io/docs/elements/lists/ + +*/ + +.list { list-style-type: none; } diff --git a/src/css/imports/_max-widths.css b/src/css/imports/_max-widths.css new file mode 100755 index 0000000..e4175fa --- /dev/null +++ b/src/css/imports/_max-widths.css @@ -0,0 +1,98 @@ +/* + + MAX WIDTHS + Docs: http://tachyons.io/docs/layout/max-widths/ + + Base: + mw = max-width + + Modifiers + 1 = 1st step in width scale + 2 = 2nd step in width scale + 3 = 3rd step in width scale + 4 = 4th step in width scale + 5 = 5th step in width scale + 6 = 6st step in width scale + 7 = 7nd step in width scale + 8 = 8rd step in width scale + 9 = 9th step in width scale + + -100 = literal value 100% + + -none = string value none + + + Media Query Extensions: + -ns = not-small + -m = medium + -l = large + +*/ + +/* Max Width Percentages */ + +.mw-100 { max-width: 100%; } + +/* Max Width Scale */ + +.mw1 { max-width: 1rem; } +.mw2 { max-width: 2rem; } +.mw3 { max-width: 4rem; } +.mw4 { max-width: 8rem; } +.mw5 { max-width: 16rem; } +.mw6 { max-width: 32rem; } +.mw7 { max-width: 48rem; } +.mw8 { max-width: 64rem; } +.mw9 { max-width: 96rem; } + +/* Max Width String Properties */ + +.mw-none { max-width: none; } + +@media (--breakpoint-not-small) { + .mw-100-ns { max-width: 100%; } + + .mw1-ns { max-width: 1rem; } + .mw2-ns { max-width: 2rem; } + .mw3-ns { max-width: 4rem; } + .mw4-ns { max-width: 8rem; } + .mw5-ns { max-width: 16rem; } + .mw6-ns { max-width: 32rem; } + .mw7-ns { max-width: 48rem; } + .mw8-ns { max-width: 64rem; } + .mw9-ns { max-width: 96rem; } + + .mw-none-ns { max-width: none; } +} + +@media (--breakpoint-medium) { + .mw-100-m { max-width: 100%; } + + .mw1-m { max-width: 1rem; } + .mw2-m { max-width: 2rem; } + .mw3-m { max-width: 4rem; } + .mw4-m { max-width: 8rem; } + .mw5-m { max-width: 16rem; } + .mw6-m { max-width: 32rem; } + .mw7-m { max-width: 48rem; } + .mw8-m { max-width: 64rem; } + .mw9-m { max-width: 96rem; } + + .mw-none-m { max-width: none; } +} + +@media (--breakpoint-large) { + .mw-100-l { max-width: 100%; } + + .mw1-l { max-width: 1rem; } + .mw2-l { max-width: 2rem; } + .mw3-l { max-width: 4rem; } + .mw4-l { max-width: 8rem; } + .mw5-l { max-width: 16rem; } + .mw6-l { max-width: 32rem; } + .mw7-l { max-width: 48rem; } + .mw8-l { max-width: 64rem; } + .mw9-l { max-width: 96rem; } + + .mw-none-l { max-width: none; } +} diff --git a/src/css/imports/_media-queries.css b/src/css/imports/_media-queries.css new file mode 100755 index 0000000..d8a4c93 --- /dev/null +++ b/src/css/imports/_media-queries.css @@ -0,0 +1,36 @@ +/* + + CUSTOM MEDIA QUERIES + + Media query values can be changed to fit your own content. + There are no magic bullets when it comes to media query width values. + They should be declared in em units - and they should be set to meet + the needs of your content. You can also add additional media queries, + or remove some of the existing ones. + + These media queries can be referenced like so: + + @media (--breakpoint-not-small) { + .medium-and-larger-specific-style { + background-color: red; + } + } + + @media (--breakpoint-medium) { + .medium-screen-specific-style { + background-color: red; + } + } + + @media (--breakpoint-large) { + .large-and-larger-screen-specific-style { + background-color: red; + } + } + +*/ + +/* Media Queries */ +@custom-media --breakpoint-not-small screen and (min-width: 30em); +@custom-media --breakpoint-medium screen and (min-width: 30em) and (max-width: 60em); +@custom-media --breakpoint-large screen and (min-width: 60em); diff --git a/src/css/imports/_module-template.css b/src/css/imports/_module-template.css new file mode 100755 index 0000000..0447e0c --- /dev/null +++ b/src/css/imports/_module-template.css @@ -0,0 +1,22 @@ +/* + + MODULE NAME + + Use this scaffolding to create or extend your own modules with tachyons + style architecture. + +*/ + + +@media (--breakpoint-not-small) { + +} + +@media (--breakpoint-medium) { + +} + +@media (--breakpoint-large) { + +} + diff --git a/src/css/imports/_normalize.css b/src/css/imports/_normalize.css new file mode 100755 index 0000000..f1f7770 --- /dev/null +++ b/src/css/imports/_normalize.css @@ -0,0 +1,422 @@ +/* normalize.css v4.1.1 | MIT License | github.com/necolas/normalize.css */ + +/** + * 1. Change the default font family in all browsers (opinionated). + * 2. Correct the line height in all browsers. + * 3. Prevent adjustments of font size after orientation changes in IE and iOS. + */ + +html { + font-family: sans-serif; /* 1 */ + line-height: 1.15; /* 2 */ + -ms-text-size-adjust: 100%; /* 3 */ + -webkit-text-size-adjust: 100%; /* 3 */ +} + +/** + * Remove the margin in all browsers (opinionated). + */ + +body { + margin: 0; +} + +/* HTML5 display definitions + ========================================================================== */ + +/** + * Add the correct display in IE 9-. + * 1. Add the correct display in Edge, IE, and Firefox. + * 2. Add the correct display in IE. + */ + +article, +aside, +details, /* 1 */ +figcaption, +figure, +footer, +header, +main, /* 2 */ +menu, +nav, +section, +summary { /* 1 */ + display: block; +} + +/** + * Add the correct display in IE 9-. + */ + +audio, +canvas, +progress, +video { + display: inline-block; +} + +/** + * Add the correct display in iOS 4-7. + */ + +audio:not([controls]) { + display: none; + height: 0; +} + +/** + * Add the correct vertical alignment in Chrome, Firefox, and Opera. + */ + +progress { + vertical-align: baseline; +} + +/** + * Add the correct display in IE 10-. + * 1. Add the correct display in IE. + */ + +template, /* 1 */ +[hidden] { + display: none; +} + +/* Links + ========================================================================== */ + +/** + * 1. Remove the gray background on active links in IE 10. + * 2. Remove gaps in links underline in iOS 8+ and Safari 8+. + */ + +a { + background-color: transparent; /* 1 */ + -webkit-text-decoration-skip: objects; /* 2 */ +} + +/** + * Remove the outline on focused links when they are also active or hovered + * in all browsers (opinionated). + */ + +a:active, +a:hover { + outline-width: 0; +} + +/* Text-level semantics + ========================================================================== */ + +/** + * 1. Remove the bottom border in Firefox 39-. + * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. + */ + +abbr[title] { + border-bottom: none; /* 1 */ + text-decoration: underline; /* 2 */ + text-decoration: underline dotted; /* 2 */ +} + +/** + * Prevent the duplicate application of `bolder` by the next rule in Safari 6. + */ + +b, +strong { + font-weight: inherit; +} + +/** + * Add the correct font weight in Chrome, Edge, and Safari. + */ + +b, +strong { + font-weight: bolder; +} + +/** + * Add the correct font style in Android 4.3-. + */ + +dfn { + font-style: italic; +} + +/** + * Correct the font size and margin on `h1` elements within `section` and + * `article` contexts in Chrome, Firefox, and Safari. + */ + +h1 { + font-size: 2em; + margin: 0.67em 0; +} + +/** + * Add the correct background and color in IE 9-. + */ + +mark { + background-color: #ffd700; + color: #000; +} + +/** + * Add the correct font size in all browsers. + */ + +small { + font-size: 80%; +} + +/** + * Prevent `sub` and `sup` elements from affecting the line height in + * all browsers. + */ + +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} + +sub { + bottom: -0.25em; +} + +sup { + top: -0.5em; +} + +/* Embedded content + ========================================================================== */ + +/** + * Remove the border on images inside links in IE 10-. + */ + +img { + border-style: none; +} + +/** + * Hide the overflow in IE. + */ + +svg:not(:root) { + overflow: hidden; +} + +/* Grouping content + ========================================================================== */ + +/** + * 1. Correct the inheritance and scaling of font size in all browsers. + * 2. Correct the odd `em` font sizing in all browsers. + */ + +code, +kbd, +pre, +samp { + font-family: monospace, monospace; /* 1 */ + font-size: 1em; /* 2 */ +} + +/** + * Add the correct margin in IE 8. + */ + +figure { + margin: 1em 40px; +} + +/** + * 1. Add the correct box sizing in Firefox. + * 2. Show the overflow in Edge and IE. + */ + +hr { + box-sizing: content-box; /* 1 */ + height: 0; /* 1 */ + overflow: visible; /* 2 */ +} + +/* Forms + ========================================================================== */ + +/** + * 1. Change font properties to `inherit` in all browsers (opinionated). + * 2. Remove the margin in Firefox and Safari. + */ + +button, +input, +optgroup, +select, +textarea { + font: inherit; /* 1 */ + margin: 0; /* 2 */ +} + +/** + * Restore the font weight unset by the previous rule. + */ + +optgroup { + font-weight: bold; +} + +/** + * Show the overflow in IE. + * 1. Show the overflow in Edge. + */ + +button, +input { /* 1 */ + overflow: visible; +} + +/** + * Remove the inheritance of text transform in Edge, Firefox, and IE. + * 1. Remove the inheritance of text transform in Firefox. + */ + +button, +select { /* 1 */ + text-transform: none; +} + +/** + * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video` + * controls in Android 4. + * 2. Correct the inability to style clickable types in iOS and Safari. + */ + +button, +html [type="button"], /* 1 */ +[type="reset"], +[type="submit"] { + -webkit-appearance: button; /* 2 */ +} + +/** + * Remove the inner border and padding in Firefox. + */ + +button::-moz-focus-inner, +[type="button"]::-moz-focus-inner, +[type="reset"]::-moz-focus-inner, +[type="submit"]::-moz-focus-inner { + border-style: none; + padding: 0; +} + +/** + * Restore the focus styles unset by the previous rule. + */ + +button:-moz-focusring, +[type="button"]:-moz-focusring, +[type="reset"]:-moz-focusring, +[type="submit"]:-moz-focusring { + outline: 1px dotted ButtonText; +} + +/** + * Change the border, margin, and padding in all browsers (opinionated). + */ + +fieldset { + border: 1px solid #c0c0c0; + margin: 0 2px; + padding: 0.35em 0.625em 0.75em; +} + +/** + * 1. Correct the text wrapping in Edge and IE. + * 2. Correct the color inheritance from `fieldset` elements in IE. + * 3. Remove the padding so developers are not caught out when they zero out + * `fieldset` elements in all browsers. + */ + +legend { + box-sizing: border-box; /* 1 */ + color: inherit; /* 2 */ + display: table; /* 1 */ + max-width: 100%; /* 1 */ + padding: 0; /* 3 */ + white-space: normal; /* 1 */ +} + +/** + * Remove the default vertical scrollbar in IE. + */ + +textarea { + overflow: auto; +} + +/** + * 1. Add the correct box sizing in IE 10-. + * 2. Remove the padding in IE 10-. + */ + +[type="checkbox"], +[type="radio"] { + box-sizing: border-box; /* 1 */ + padding: 0; /* 2 */ +} + +/** + * Correct the cursor style of increment and decrement buttons in Chrome. + */ + +[type="number"]::-webkit-inner-spin-button, +[type="number"]::-webkit-outer-spin-button { + height: auto; +} + +/** + * 1. Correct the odd appearance in Chrome and Safari. + * 2. Correct the outline style in Safari. + */ + +[type="search"] { + -webkit-appearance: textfield; /* 1 */ + outline-offset: -2px; /* 2 */ +} + +/** + * Remove the inner padding and cancel buttons in Chrome and Safari on OS X. + */ + +[type="search"]::-webkit-search-cancel-button, +[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} + +/** + * Correct the text style of placeholders in Chrome, Edge, and Safari. + */ + +::-webkit-input-placeholder { + color: inherit; + opacity: 0.54; +} + +/** + * 1. Correct the inability to style clickable types in iOS and Safari. + * 2. Change font properties to `inherit` in Safari. + */ + +::-webkit-file-upload-button { + -webkit-appearance: button; /* 1 */ + font: inherit; /* 2 */ +} diff --git a/src/css/imports/_opacity.css b/src/css/imports/_opacity.css new file mode 100755 index 0000000..3f2a39b --- /dev/null +++ b/src/css/imports/_opacity.css @@ -0,0 +1,20 @@ +/* + + OPACITY + Docs: http://tachyons.io/docs/themes/opacity/ + +*/ + +.o-100 { opacity: 1; } +.o-90 { opacity: .9; } +.o-80 { opacity: .8; } +.o-70 { opacity: .7; } +.o-60 { opacity: .6; } +.o-50 { opacity: .5; } +.o-40 { opacity: .4; } +.o-30 { opacity: .3; } +.o-20 { opacity: .2; } +.o-10 { opacity: .1; } +.o-05 { opacity: .05; } +.o-025 { opacity: .025; } +.o-0 { opacity: 0; } diff --git a/src/css/imports/_outlines.css b/src/css/imports/_outlines.css new file mode 100755 index 0000000..9a292fd --- /dev/null +++ b/src/css/imports/_outlines.css @@ -0,0 +1,32 @@ +/* + + OUTLINES + + Media Query Extensions: + -ns = not-small + -m = medium + -l = large + +*/ + +.outline { outline: 1px solid; } +.outline-transparent { outline: 1px solid transparent; } +.outline-0 { outline: 0; } + +@media (--breakpoint-not-small) { + .outline-ns { outline: 1px solid; } + .outline-transparent-ns { outline: 1px solid transparent; } + .outline-0-ns { outline: 0; } +} + +@media (--breakpoint-medium) { + .outline-m { outline: 1px solid; } + .outline-transparent-m { outline: 1px solid transparent; } + .outline-0-m { outline: 0; } +} + +@media (--breakpoint-medium) { + .outline-l { outline: 1px solid; } + .outline-transparent-l { outline: 1px solid transparent; } + .outline-0-l { outline: 0; } +} diff --git a/src/css/imports/_overflow.css b/src/css/imports/_overflow.css new file mode 100755 index 0000000..82ca8eb --- /dev/null +++ b/src/css/imports/_overflow.css @@ -0,0 +1,75 @@ +/* + + OVERFLOW + + Media Query Extensions: + -ns = not-small + -m = medium + -l = large + + */ + +.overflow-visible { overflow: visible; } +.overflow-hidden { overflow: hidden; } +.overflow-scroll { overflow: scroll; } +.overflow-auto { overflow: auto; } + +.overflow-x-visible { overflow-x: visible; } +.overflow-x-hidden { overflow-x: hidden; } +.overflow-x-scroll { overflow-x: scroll; } +.overflow-x-auto { overflow-x: auto; } + +.overflow-y-visible { overflow-y: visible; } +.overflow-y-hidden { overflow-y: hidden; } +.overflow-y-scroll { overflow-y: scroll; } +.overflow-y-auto { overflow-y: auto; } + +@media (--breakpoint-not-small) { + .overflow-visible-ns { overflow: visible; } + .overflow-hidden-ns { overflow: hidden; } + .overflow-scroll-ns { overflow: scroll; } + .overflow-auto-ns { overflow: auto; } + .overflow-x-visible-ns { overflow-x: visible; } + .overflow-x-hidden-ns { overflow-x: hidden; } + .overflow-x-scroll-ns { overflow-x: scroll; } + .overflow-x-auto-ns { overflow-x: auto; } + + .overflow-y-visible-ns { overflow-y: visible; } + .overflow-y-hidden-ns { overflow-y: hidden; } + .overflow-y-scroll-ns { overflow-y: scroll; } + .overflow-y-auto-ns { overflow-y: auto; } +} + +@media (--breakpoint-medium) { + .overflow-visible-m { overflow: visible; } + .overflow-hidden-m { overflow: hidden; } + .overflow-scroll-m { overflow: scroll; } + .overflow-auto-m { overflow: auto; } + + .overflow-x-visible-m { overflow-x: visible; } + .overflow-x-hidden-m { overflow-x: hidden; } + .overflow-x-scroll-m { overflow-x: scroll; } + .overflow-x-auto-m { overflow-x: auto; } + + .overflow-y-visible-m { overflow-y: visible; } + .overflow-y-hidden-m { overflow-y: hidden; } + .overflow-y-scroll-m { overflow-y: scroll; } + .overflow-y-auto-m { overflow-y: auto; } +} + +@media (--breakpoint-large) { + .overflow-visible-l { overflow: visible; } + .overflow-hidden-l { overflow: hidden; } + .overflow-scroll-l { overflow: scroll; } + .overflow-auto-l { overflow: auto; } + + .overflow-x-visible-l { overflow-x: visible; } + .overflow-x-hidden-l { overflow-x: hidden; } + .overflow-x-scroll-l { overflow-x: scroll; } + .overflow-x-auto-l { overflow-x: auto; } + + .overflow-y-visible-l { overflow-y: visible; } + .overflow-y-hidden-l { overflow-y: hidden; } + .overflow-y-scroll-l { overflow-y: scroll; } + .overflow-y-auto-l { overflow-y: auto; } +} diff --git a/src/css/imports/_position.css b/src/css/imports/_position.css new file mode 100755 index 0000000..eaccbdf --- /dev/null +++ b/src/css/imports/_position.css @@ -0,0 +1,37 @@ +/* + + POSITIONING + Docs: http://tachyons.io/docs/layout/position/ + + Media Query Extensions: + -ns = not-small + -m = medium + -l = large + +*/ + +.static { position: static; } +.relative { position: relative; } +.absolute { position: absolute; } +.fixed { position: fixed; } + +@media (--breakpoint-not-small) { + .static-ns { position: static; } + .relative-ns { position: relative; } + .absolute-ns { position: absolute; } + .fixed-ns { position: fixed; } +} + +@media (--breakpoint-medium) { + .static-m { position: static; } + .relative-m { position: relative; } + .absolute-m { position: absolute; } + .fixed-m { position: fixed; } +} + +@media (--breakpoint-large) { + .static-l { position: static; } + .relative-l { position: relative; } + .absolute-l { position: absolute; } + .fixed-l { position: fixed; } +} diff --git a/src/css/imports/_skins-pseudo.css b/src/css/imports/_skins-pseudo.css new file mode 100755 index 0000000..44f1f02 --- /dev/null +++ b/src/css/imports/_skins-pseudo.css @@ -0,0 +1,159 @@ +/* + + SKINS:PSEUDO + + Customize the color of an element when + it is focused or hovered over. + + */ + +.hover-black:hover, +.hover-black:focus { color: var(--black); } +.hover-near-black:hover, +.hover-near-black:focus { color: var(--near-black); } +.hover-dark-gray:hover, +.hover-dark-gray:focus { color: var(--dark-gray); } +.hover-mid-gray:hover, +.hover-mid-gray:focus { color: var(--mid-gray); } +.hover-gray:hover, +.hover-gray:focus { color: var(--gray); } +.hover-silver:hover, +.hover-silver:focus { color: var(--silver); } +.hover-light-silver:hover, +.hover-light-silver:focus { color: var(--light-silver); } +.hover-moon-gray:hover, +.hover-moon-gray:focus { color: var(--moon-gray); } +.hover-light-gray:hover, +.hover-light-gray:focus { color: var(--light-gray); } +.hover-near-white:hover, +.hover-near-white:focus { color: var(--near-white); } +.hover-white:hover, +.hover-white:focus { color: var(--white); } + +.hover-bg-black:hover, +.hover-bg-black:focus { background-color: var(--black); } +.hover-bg-near-black:hover, +.hover-bg-near-black:focus { background-color: var(--near-black); } +.hover-bg-dark-gray:hover, +.hover-bg-dark-gray:focus { background-color: var(--dark-gray); } +.hover-bg-dark-gray:focus, +.hover-bg-mid-gray:hover { background-color: var(--mid-gray); } +.hover-bg-gray:hover, +.hover-bg-gray:focus { background-color: var(--gray); } +.hover-bg-silver:hover, +.hover-bg-silver:focus { background-color: var(--silver); } +.hover-bg-light-silver:hover, +.hover-bg-light-silver:focus { background-color: var(--light-silver); } +.hover-bg-moon-gray:hover, +.hover-bg-moon-gray:focus { background-color: var(--moon-gray); } +.hover-bg-light-gray:hover, +.hover-bg-light-gray:focus { background-color: var(--light-gray); } +.hover-bg-near-white:hover, +.hover-bg-near-white:focus { background-color: var(--near-white); } +.hover-bg-white:hover, +.hover-bg-white:focus { background-color: var(--white); } +.hover-bg-transparent:hover, +.hover-bg-transparent:focus { background-color: var(--transparent); } + +.hover-dark-red:hover, +.hover-dark-red:focus { color: var(--dark-red); } +.hover-red:hover, +.hover-red:focus { color: var(--red); } +.hover-light-red:hover, +.hover-light-red:focus { color: var(--light-red); } +.hover-orange:hover, +.hover-orange:focus { color: var(--orange); } +.hover-gold:hover, +.hover-gold:focus { color: var(--gold); } +.hover-yellow:hover, +.hover-yellow:focus { color: var(--yellow); } +.hover-light-yellow:hover, +.hover-light-yellow:focus { color: var(--light-yellow); } +.hover-purple:hover, +.hover-purple:focus { color: var(--purple); } +.hover-light-purple:hover, +.hover-light-purple:focus { color: var(--light-purple); } +.hover-dark-pink:hover, +.hover-dark-pink:focus { color: var(--dark-pink); } +.hover-hot-pink:hover, +.hover-hot-pink:focus { color: var(--hot-pink); } +.hover-pink:hover, +.hover-pink:focus { color: var(--pink); } +.hover-light-pink:hover, +.hover-light-pink:focus { color: var(--light-pink); } +.hover-dark-green:hover, +.hover-dark-green:focus { color: var(--dark-green); } +.hover-green:hover, +.hover-green:focus { color: var(--green); } +.hover-light-green:hover, +.hover-light-green:focus { color: var(--light-green); } +.hover-navy:hover, +.hover-navy:focus { color: var(--navy); } +.hover-dark-blue:hover, +.hover-dark-blue:focus { color: var(--dark-blue); } +.hover-blue:hover, +.hover-blue:focus { color: var(--blue); } +.hover-light-blue:hover, +.hover-light-blue:focus { color: var(--light-blue); } +.hover-lightest-blue:hover, +.hover-lightest-blue:focus { color: var(--lightest-blue); } +.hover-washed-blue:hover, +.hover-washed-blue:focus { color: var(--washed-blue); } +.hover-washed-green:hover, +.hover-washed-green:focus { color: var(--washed-green); } +.hover-washed-yellow:hover, +.hover-washed-yellow:focus { color: var(--washed-yellow); } +.hover-washed-red:hover, +.hover-washed-red:focus { color: var(--washed-red); } + +.hover-bg-dark-red:hover, +.hover-bg-dark-red:focus { background-color: var(--dark-red); } +.hover-bg-red:hover, +.hover-bg-red:focus { background-color: var(--red); } +.hover-bg-light-red:hover, +.hover-bg-light-red:focus { background-color: var(--light-red); } +.hover-bg-orange:hover, +.hover-bg-orange:focus { background-color: var(--orange); } +.hover-bg-gold:hover, +.hover-bg-gold:focus { background-color: var(--gold); } +.hover-bg-yellow:hover, +.hover-bg-yellow:focus { background-color: var(--yellow); } +.hover-bg-light-yellow:hover, +.hover-bg-light-yellow:focus { background-color: var(--light-yellow); } +.hover-bg-purple:hover, +.hover-bg-purple:focus { background-color: var(--purple); } +.hover-bg-light-purple:hover, +.hover-bg-light-purple:focus { background-color: var(--light-purple); } +.hover-bg-dark-pink:hover, +.hover-bg-dark-pink:focus { background-color: var(--dark-pink); } +.hover-bg-hot-pink:hover, +.hover-bg-hot-pink:focus { background-color: var(--hot-pink); } +.hover-bg-pink:hover, +.hover-bg-pink:focus { background-color: var(--pink); } +.hover-bg-light-pink:hover, +.hover-bg-light-pink:focus { background-color: var(--light-pink); } +.hover-bg-dark-green:hover, +.hover-bg-dark-green:focus { background-color: var(--dark-green); } +.hover-bg-green:hover, +.hover-bg-green:focus { background-color: var(--green); } +.hover-bg-light-green:hover, +.hover-bg-light-green:focus { background-color: var(--light-green); } +.hover-bg-navy:hover, +.hover-bg-navy:focus { background-color: var(--navy); } +.hover-bg-dark-blue:hover, +.hover-bg-dark-blue:focus { background-color: var(--dark-blue); } +.hover-bg-blue:hover, +.hover-bg-blue:focus { background-color: var(--blue); } +.hover-bg-light-blue:hover, +.hover-bg-light-blue:focus { background-color: var(--light-blue); } +.hover-bg-lightest-blue:hover, +.hover-bg-lightest-blue:focus { background-color: var(--lightest-blue); } +.hover-bg-washed-blue:hover, +.hover-bg-washed-blue:focus { background-color: var(--washed-blue); } +.hover-bg-washed-green:hover, +.hover-bg-washed-green:focus { background-color: var(--washed-green); } +.hover-bg-washed-yellow:hover, +.hover-bg-washed-yellow:focus { background-color: var(--washed-yellow); } +.hover-bg-washed-red:hover, +.hover-bg-washed-red:focus { background-color: var(--washed-red); } + diff --git a/src/css/imports/_skins.css b/src/css/imports/_skins.css new file mode 100755 index 0000000..9c1dcff --- /dev/null +++ b/src/css/imports/_skins.css @@ -0,0 +1,134 @@ +/* + + SKINS + Docs: http://tachyons.io/docs/themes/skins/ + + Classes for setting foreground and background colors on elements. + If you haven't declared a border color, but set border on an element, it will + be set to the current text color. + +*/ + +/* Text colors */ + +.black-90 { color: var(--black-90); } +.black-80 { color: var(--black-80); } +.black-70 { color: var(--black-70); } +.black-60 { color: var(--black-60); } +.black-50 { color: var(--black-50); } +.black-40 { color: var(--black-40); } +.black-30 { color: var(--black-30); } +.black-20 { color: var(--black-20); } +.black-10 { color: var(--black-10); } +.black-05 { color: var(--black-05); } + +.white-90 { color: var(--white-90); } +.white-80 { color: var(--white-80); } +.white-70 { color: var(--white-70); } +.white-60 { color: var(--white-60); } +.white-50 { color: var(--white-50); } +.white-40 { color: var(--white-40); } +.white-30 { color: var(--white-30); } +.white-20 { color: var(--white-20); } +.white-10 { color: var(--white-10); } + +.black { color: var(--black); } +.near-black { color: var(--near-black); } +.dark-gray { color: var(--dark-gray); } +.mid-gray { color: var(--mid-gray); } +.gray { color: var(--gray); } +.silver { color: var(--silver); } +.light-silver { color: var(--light-silver); } +.moon-gray { color: var(--moon-gray); } +.light-gray { color: var(--light-gray); } +.near-white { color: var(--near-white); } +.white { color: var(--white); } + +.dark-red { color: var(--dark-red); } +.red { color: var(--red); } +.light-red { color: var(--light-red); } +.orange { color: var(--orange); } +.gold { color: var(--gold); } +.yellow { color: var(--yellow); } +.light-yellow { color: var(--light-yellow); } +.purple { color: var(--purple); } +.light-purple { color: var(--light-purple); } +.dark-pink { color: var(--dark-pink); } +.hot-pink { color: var(--hot-pink); } +.pink { color: var(--pink); } +.light-pink { color: var(--light-pink); } +.dark-green { color: var(--dark-green); } +.green { color: var(--green); } +.light-green { color: var(--light-green); } +.navy { color: var(--navy); } +.dark-blue { color: var(--dark-blue); } +.blue { color: var(--blue); } +.light-blue { color: var(--light-blue); } +.lightest-blue { color: var(--lightest-blue); } +.washed-blue { color: var(--washed-blue); } +.washed-green { color: var(--washed-green); } +.washed-yellow { color: var(--washed-yellow); } +.washed-red { color: var(--washed-red); } + +.bg-black-90 { background-color: var(--black-90); } +.bg-black-80 { background-color: var(--black-80); } +.bg-black-70 { background-color: var(--black-70); } +.bg-black-60 { background-color: var(--black-60); } +.bg-black-50 { background-color: var(--black-50); } +.bg-black-40 { background-color: var(--black-40); } +.bg-black-30 { background-color: var(--black-30); } +.bg-black-20 { background-color: var(--black-20); } +.bg-black-10 { background-color: var(--black-10); } +.bg-black-05 { background-color: var(--black-05); } +.bg-white-90 { background-color: var(--white-90); } +.bg-white-80 { background-color: var(--white-80); } +.bg-white-70 { background-color: var(--white-70); } +.bg-white-60 { background-color: var(--white-60); } +.bg-white-50 { background-color: var(--white-50); } +.bg-white-40 { background-color: var(--white-40); } +.bg-white-30 { background-color: var(--white-30); } +.bg-white-20 { background-color: var(--white-20); } +.bg-white-10 { background-color: var(--white-10); } + + + +/* Background colors */ + +.bg-black { background-color: var(--black); } +.bg-near-black { background-color: var(--near-black); } +.bg-dark-gray { background-color: var(--dark-gray); } +.bg-mid-gray { background-color: var(--mid-gray); } +.bg-gray { background-color: var(--gray); } +.bg-silver { background-color: var(--silver); } +.bg-light-silver { background-color: var(--light-silver); } +.bg-moon-gray { background-color: var(--moon-gray); } +.bg-light-gray { background-color: var(--light-gray); } +.bg-near-white { background-color: var(--near-white); } +.bg-white { background-color: var(--white); } +.bg-transparent { background-color: var(--transparent); } + +.bg-dark-red { background-color: var(--dark-red); } +.bg-red { background-color: var(--red); } +.bg-light-red { background-color: var(--light-red); } +.bg-orange { background-color: var(--orange); } +.bg-gold { background-color: var(--gold); } +.bg-yellow { background-color: var(--yellow); } +.bg-light-yellow { background-color: var(--light-yellow); } +.bg-purple { background-color: var(--purple); } +.bg-light-purple { background-color: var(--light-purple); } +.bg-dark-pink { background-color: var(--dark-pink); } +.bg-hot-pink { background-color: var(--hot-pink); } +.bg-pink { background-color: var(--pink); } +.bg-light-pink { background-color: var(--light-pink); } +.bg-dark-green { background-color: var(--dark-green); } +.bg-green { background-color: var(--green); } +.bg-light-green { background-color: var(--light-green); } +.bg-navy { background-color: var(--navy); } +.bg-dark-blue { background-color: var(--dark-blue); } +.bg-blue { background-color: var(--blue); } +.bg-light-blue { background-color: var(--light-blue); } +.bg-lightest-blue { background-color: var(--lightest-blue); } +.bg-washed-blue { background-color: var(--washed-blue); } +.bg-washed-green { background-color: var(--washed-green); } +.bg-washed-yellow { background-color: var(--washed-yellow); } +.bg-washed-red { background-color: var(--washed-red); } diff --git a/src/css/imports/_spacing.css b/src/css/imports/_spacing.css new file mode 100755 index 0000000..8057126 --- /dev/null +++ b/src/css/imports/_spacing.css @@ -0,0 +1,952 @@ +/* Variables */ + +:root { + --spacing-none: 0; + --spacing-extra-small: .25rem; + --spacing-small: .5rem; + --spacing-medium: 1rem; + --spacing-large: 2rem; + --spacing-extra-large: 4rem; + --spacing-extra-extra-large: 8rem; + --spacing-extra-extra-extra-large: 16rem; +} + +/* + SPACING + Docs: http://tachyons.io/docs/layout/spacing/ + + An eight step powers of two scale ranging from 0 to 16rem. + + Base: + p = padding + m = margin + + Modifiers: + a = all + h = horizontal + v = vertical + t = top + r = right + b = bottom + l = left + + 0 = none + 1 = 1st step in spacing scale + 2 = 2nd step in spacing scale + 3 = 3rd step in spacing scale + 4 = 4th step in spacing scale + 5 = 5th step in spacing scale + 6 = 6th step in spacing scale + 7 = 7th step in spacing scale + + Media Query Extensions: + -ns = not-small + -m = medium + -l = large + +*/ + + +.pa0 { padding: var(--spacing-none); } +.pa1 { padding: var(--spacing-extra-small); } +.pa2 { padding: var(--spacing-small); } +.pa3 { padding: var(--spacing-medium); } +.pa4 { padding: var(--spacing-large); } +.pa5 { padding: var(--spacing-extra-large); } +.pa6 { padding: var(--spacing-extra-extra-large); } +.pa7 { padding: var(--spacing-extra-extra-extra-large); } + +.pl0 { padding-left: var(--spacing-none); } +.pl1 { padding-left: var(--spacing-extra-small); } +.pl2 { padding-left: var(--spacing-small); } +.pl3 { padding-left: var(--spacing-medium); } +.pl4 { padding-left: var(--spacing-large); } +.pl5 { padding-left: var(--spacing-extra-large); } +.pl6 { padding-left: var(--spacing-extra-extra-large); } +.pl7 { padding-left: var(--spacing-extra-extra-extra-large); } + +.pr0 { padding-right: var(--spacing-none); } +.pr1 { padding-right: var(--spacing-extra-small); } +.pr2 { padding-right: var(--spacing-small); } +.pr3 { padding-right: var(--spacing-medium); } +.pr4 { padding-right: var(--spacing-large); } +.pr5 { padding-right: var(--spacing-extra-large); } +.pr6 { padding-right: var(--spacing-extra-extra-large); } +.pr7 { padding-right: var(--spacing-extra-extra-extra-large); } + +.pb0 { padding-bottom: var(--spacing-none); } +.pb1 { padding-bottom: var(--spacing-extra-small); } +.pb2 { padding-bottom: var(--spacing-small); } +.pb3 { padding-bottom: var(--spacing-medium); } +.pb4 { padding-bottom: var(--spacing-large); } +.pb5 { padding-bottom: var(--spacing-extra-large); } +.pb6 { padding-bottom: var(--spacing-extra-extra-large); } +.pb7 { padding-bottom: var(--spacing-extra-extra-extra-large); } + +.pt0 { padding-top: var(--spacing-none); } +.pt1 { padding-top: var(--spacing-extra-small); } +.pt2 { padding-top: var(--spacing-small); } +.pt3 { padding-top: var(--spacing-medium); } +.pt4 { padding-top: var(--spacing-large); } +.pt5 { padding-top: var(--spacing-extra-large); } +.pt6 { padding-top: var(--spacing-extra-extra-large); } +.pt7 { padding-top: var(--spacing-extra-extra-extra-large); } + +.pv0 { + padding-top: var(--spacing-none); + padding-bottom: var(--spacing-none); +} +.pv1 { + padding-top: var(--spacing-extra-small); + padding-bottom: var(--spacing-extra-small); +} +.pv2 { + padding-top: var(--spacing-small); + padding-bottom: var(--spacing-small); +} +.pv3 { + padding-top: var(--spacing-medium); + padding-bottom: var(--spacing-medium); +} +.pv4 { + padding-top: var(--spacing-large); + padding-bottom: var(--spacing-large); +} +.pv5 { + padding-top: var(--spacing-extra-large); + padding-bottom: var(--spacing-extra-large); +} +.pv6 { + padding-top: var(--spacing-extra-extra-large); + padding-bottom: var(--spacing-extra-extra-large); +} + +.pv7 { + padding-top: var(--spacing-extra-extra-extra-large); + padding-bottom: var(--spacing-extra-extra-extra-large); +} + +.ph0 { + padding-left: var(--spacing-none); + padding-right: var(--spacing-none); +} + +.ph1 { + padding-left: var(--spacing-extra-small); + padding-right: var(--spacing-extra-small); +} + +.ph2 { + padding-left: var(--spacing-small); + padding-right: var(--spacing-small); +} + +.ph3 { + padding-left: var(--spacing-medium); + padding-right: var(--spacing-medium); +} + +.ph4 { + padding-left: var(--spacing-large); + padding-right: var(--spacing-large); +} + +.ph5 { + padding-left: var(--spacing-extra-large); + padding-right: var(--spacing-extra-large); +} + +.ph6 { + padding-left: var(--spacing-extra-extra-large); + padding-right: var(--spacing-extra-extra-large); +} + +.ph7 { + padding-left: var(--spacing-extra-extra-extra-large); + padding-right: var(--spacing-extra-extra-extra-large); +} + +.ma0 { margin: var(--spacing-none); } +.ma1 { margin: var(--spacing-extra-small); } +.ma2 { margin: var(--spacing-small); } +.ma3 { margin: var(--spacing-medium); } +.ma4 { margin: var(--spacing-large); } +.ma5 { margin: var(--spacing-extra-large); } +.ma6 { margin: var(--spacing-extra-extra-large); } +.ma7 { margin: var(--spacing-extra-extra-extra-large); } + +.ml0 { margin-left: var(--spacing-none); } +.ml1 { margin-left: var(--spacing-extra-small); } +.ml2 { margin-left: var(--spacing-small); } +.ml3 { margin-left: var(--spacing-medium); } +.ml4 { margin-left: var(--spacing-large); } +.ml5 { margin-left: var(--spacing-extra-large); } +.ml6 { margin-left: var(--spacing-extra-extra-large); } +.ml7 { margin-left: var(--spacing-extra-extra-extra-large); } + +.mr0 { margin-right: var(--spacing-none); } +.mr1 { margin-right: var(--spacing-extra-small); } +.mr2 { margin-right: var(--spacing-small); } +.mr3 { margin-right: var(--spacing-medium); } +.mr4 { margin-right: var(--spacing-large); } +.mr5 { margin-right: var(--spacing-extra-large); } +.mr6 { margin-right: var(--spacing-extra-extra-large); } +.mr7 { margin-right: var(--spacing-extra-extra-extra-large); } + +.mb0 { margin-bottom: var(--spacing-none); } +.mb1 { margin-bottom: var(--spacing-extra-small); } +.mb2 { margin-bottom: var(--spacing-small); } +.mb3 { margin-bottom: var(--spacing-medium); } +.mb4 { margin-bottom: var(--spacing-large); } +.mb5 { margin-bottom: var(--spacing-extra-large); } +.mb6 { margin-bottom: var(--spacing-extra-extra-large); } +.mb7 { margin-bottom: var(--spacing-extra-extra-extra-large); } + +.mt0 { margin-top: var(--spacing-none); } +.mt1 { margin-top: var(--spacing-extra-small); } +.mt2 { margin-top: var(--spacing-small); } +.mt3 { margin-top: var(--spacing-medium); } +.mt4 { margin-top: var(--spacing-large); } +.mt5 { margin-top: var(--spacing-extra-large); } +.mt6 { margin-top: var(--spacing-extra-extra-large); } +.mt7 { margin-top: var(--spacing-extra-extra-extra-large); } + +.mv0 { + margin-top: var(--spacing-none); + margin-bottom: var(--spacing-none); +} +.mv1 { + margin-top: var(--spacing-extra-small); + margin-bottom: var(--spacing-extra-small); +} +.mv2 { + margin-top: var(--spacing-small); + margin-bottom: var(--spacing-small); +} +.mv3 { + margin-top: var(--spacing-medium); + margin-bottom: var(--spacing-medium); +} +.mv4 { + margin-top: var(--spacing-large); + margin-bottom: var(--spacing-large); +} +.mv5 { + margin-top: var(--spacing-extra-large); + margin-bottom: var(--spacing-extra-large); +} +.mv6 { + margin-top: var(--spacing-extra-extra-large); + margin-bottom: var(--spacing-extra-extra-large); +} +.mv7 { + margin-top: var(--spacing-extra-extra-extra-large); + margin-bottom: var(--spacing-extra-extra-extra-large); +} + +.mh0 { + margin-left: var(--spacing-none); + margin-right: var(--spacing-none); +} +.mh1 { + margin-left: var(--spacing-extra-small); + margin-right: var(--spacing-extra-small); +} +.mh2 { + margin-left: var(--spacing-small); + margin-right: var(--spacing-small); +} +.mh3 { + margin-left: var(--spacing-medium); + margin-right: var(--spacing-medium); +} +.mh4 { + margin-left: var(--spacing-large); + margin-right: var(--spacing-large); +} +.mh5 { + margin-left: var(--spacing-extra-large); + margin-right: var(--spacing-extra-large); +} +.mh6 { + margin-left: var(--spacing-extra-extra-large); + margin-right: var(--spacing-extra-extra-large); +} +.mh7 { + margin-left: var(--spacing-extra-extra-extra-large); + margin-right: var(--spacing-extra-extra-extra-large); +} + +@media (--breakpoint-not-small) { + .pa0-ns { padding: var(--spacing-none); } + .pa1-ns { padding: var(--spacing-extra-small); } + .pa2-ns { padding: var(--spacing-small); } + .pa3-ns { padding: var(--spacing-medium); } + .pa4-ns { padding: var(--spacing-large); } + .pa5-ns { padding: var(--spacing-extra-large); } + .pa6-ns { padding: var(--spacing-extra-extra-large); } + .pa7-ns { padding: var(--spacing-extra-extra-extra-large); } + + .pl0-ns { padding-left: var(--spacing-none); } + .pl1-ns { padding-left: var(--spacing-extra-small); } + .pl2-ns { padding-left: var(--spacing-small); } + .pl3-ns { padding-left: var(--spacing-medium); } + .pl4-ns { padding-left: var(--spacing-large); } + .pl5-ns { padding-left: var(--spacing-extra-large); } + .pl6-ns { padding-left: var(--spacing-extra-extra-large); } + .pl7-ns { padding-left: var(--spacing-extra-extra-extra-large); } + + .pr0-ns { padding-right: var(--spacing-none); } + .pr1-ns { padding-right: var(--spacing-extra-small); } + .pr2-ns { padding-right: var(--spacing-small); } + .pr3-ns { padding-right: var(--spacing-medium); } + .pr4-ns { padding-right: var(--spacing-large); } + .pr5-ns { padding-right: var(--spacing-extra-large); } + .pr6-ns { padding-right: var(--spacing-extra-extra-large); } + .pr7-ns { padding-right: var(--spacing-extra-extra-extra-large); } + + .pb0-ns { padding-bottom: var(--spacing-none); } + .pb1-ns { padding-bottom: var(--spacing-extra-small); } + .pb2-ns { padding-bottom: var(--spacing-small); } + .pb3-ns { padding-bottom: var(--spacing-medium); } + .pb4-ns { padding-bottom: var(--spacing-large); } + .pb5-ns { padding-bottom: var(--spacing-extra-large); } + .pb6-ns { padding-bottom: var(--spacing-extra-extra-large); } + .pb7-ns { padding-bottom: var(--spacing-extra-extra-extra-large); } + + .pt0-ns { padding-top: var(--spacing-none); } + .pt1-ns { padding-top: var(--spacing-extra-small); } + .pt2-ns { padding-top: var(--spacing-small); } + .pt3-ns { padding-top: var(--spacing-medium); } + .pt4-ns { padding-top: var(--spacing-large); } + .pt5-ns { padding-top: var(--spacing-extra-large); } + .pt6-ns { padding-top: var(--spacing-extra-extra-large); } + .pt7-ns { padding-top: var(--spacing-extra-extra-extra-large); } + + .pv0-ns { + padding-top: var(--spacing-none); + padding-bottom: var(--spacing-none); + } + .pv1-ns { + padding-top: var(--spacing-extra-small); + padding-bottom: var(--spacing-extra-small); + } + .pv2-ns { + padding-top: var(--spacing-small); + padding-bottom: var(--spacing-small); + } + .pv3-ns { + padding-top: var(--spacing-medium); + padding-bottom: var(--spacing-medium); + } + .pv4-ns { + padding-top: var(--spacing-large); + padding-bottom: var(--spacing-large); + } + .pv5-ns { + padding-top: var(--spacing-extra-large); + padding-bottom: var(--spacing-extra-large); + } + .pv6-ns { + padding-top: var(--spacing-extra-extra-large); + padding-bottom: var(--spacing-extra-extra-large); + } + .pv7-ns { + padding-top: var(--spacing-extra-extra-extra-large); + padding-bottom: var(--spacing-extra-extra-extra-large); + } + .ph0-ns { + padding-left: var(--spacing-none); + padding-right: var(--spacing-none); + } + .ph1-ns { + padding-left: var(--spacing-extra-small); + padding-right: var(--spacing-extra-small); + } + .ph2-ns { + padding-left: var(--spacing-small); + padding-right: var(--spacing-small); + } + .ph3-ns { + padding-left: var(--spacing-medium); + padding-right: var(--spacing-medium); + } + .ph4-ns { + padding-left: var(--spacing-large); + padding-right: var(--spacing-large); + } + .ph5-ns { + padding-left: var(--spacing-extra-large); + padding-right: var(--spacing-extra-large); + } + .ph6-ns { + padding-left: var(--spacing-extra-extra-large); + padding-right: var(--spacing-extra-extra-large); + } + .ph7-ns { + padding-left: var(--spacing-extra-extra-extra-large); + padding-right: var(--spacing-extra-extra-extra-large); + } + + .ma0-ns { margin: var(--spacing-none); } + .ma1-ns { margin: var(--spacing-extra-small); } + .ma2-ns { margin: var(--spacing-small); } + .ma3-ns { margin: var(--spacing-medium); } + .ma4-ns { margin: var(--spacing-large); } + .ma5-ns { margin: var(--spacing-extra-large); } + .ma6-ns { margin: var(--spacing-extra-extra-large); } + .ma7-ns { margin: var(--spacing-extra-extra-extra-large); } + + .ml0-ns { margin-left: var(--spacing-none); } + .ml1-ns { margin-left: var(--spacing-extra-small); } + .ml2-ns { margin-left: var(--spacing-small); } + .ml3-ns { margin-left: var(--spacing-medium); } + .ml4-ns { margin-left: var(--spacing-large); } + .ml5-ns { margin-left: var(--spacing-extra-large); } + .ml6-ns { margin-left: var(--spacing-extra-extra-large); } + .ml7-ns { margin-left: var(--spacing-extra-extra-extra-large); } + + .mr0-ns { margin-right: var(--spacing-none); } + .mr1-ns { margin-right: var(--spacing-extra-small); } + .mr2-ns { margin-right: var(--spacing-small); } + .mr3-ns { margin-right: var(--spacing-medium); } + .mr4-ns { margin-right: var(--spacing-large); } + .mr5-ns { margin-right: var(--spacing-extra-large); } + .mr6-ns { margin-right: var(--spacing-extra-extra-large); } + .mr7-ns { margin-right: var(--spacing-extra-extra-extra-large); } + + .mb0-ns { margin-bottom: var(--spacing-none); } + .mb1-ns { margin-bottom: var(--spacing-extra-small); } + .mb2-ns { margin-bottom: var(--spacing-small); } + .mb3-ns { margin-bottom: var(--spacing-medium); } + .mb4-ns { margin-bottom: var(--spacing-large); } + .mb5-ns { margin-bottom: var(--spacing-extra-large); } + .mb6-ns { margin-bottom: var(--spacing-extra-extra-large); } + .mb7-ns { margin-bottom: var(--spacing-extra-extra-extra-large); } + + .mt0-ns { margin-top: var(--spacing-none); } + .mt1-ns { margin-top: var(--spacing-extra-small); } + .mt2-ns { margin-top: var(--spacing-small); } + .mt3-ns { margin-top: var(--spacing-medium); } + .mt4-ns { margin-top: var(--spacing-large); } + .mt5-ns { margin-top: var(--spacing-extra-large); } + .mt6-ns { margin-top: var(--spacing-extra-extra-large); } + .mt7-ns { margin-top: var(--spacing-extra-extra-extra-large); } + + .mv0-ns { + margin-top: var(--spacing-none); + margin-bottom: var(--spacing-none); + } + .mv1-ns { + margin-top: var(--spacing-extra-small); + margin-bottom: var(--spacing-extra-small); + } + .mv2-ns { + margin-top: var(--spacing-small); + margin-bottom: var(--spacing-small); + } + .mv3-ns { + margin-top: var(--spacing-medium); + margin-bottom: var(--spacing-medium); + } + .mv4-ns { + margin-top: var(--spacing-large); + margin-bottom: var(--spacing-large); + } + .mv5-ns { + margin-top: var(--spacing-extra-large); + margin-bottom: var(--spacing-extra-large); + } + .mv6-ns { + margin-top: var(--spacing-extra-extra-large); + margin-bottom: var(--spacing-extra-extra-large); + } + .mv7-ns { + margin-top: var(--spacing-extra-extra-extra-large); + margin-bottom: var(--spacing-extra-extra-extra-large); + } + + .mh0-ns { + margin-left: var(--spacing-none); + margin-right: var(--spacing-none); + } + .mh1-ns { + margin-left: var(--spacing-extra-small); + margin-right: var(--spacing-extra-small); + } + .mh2-ns { + margin-left: var(--spacing-small); + margin-right: var(--spacing-small); + } + .mh3-ns { + margin-left: var(--spacing-medium); + margin-right: var(--spacing-medium); + } + .mh4-ns { + margin-left: var(--spacing-large); + margin-right: var(--spacing-large); + } + .mh5-ns { + margin-left: var(--spacing-extra-large); + margin-right: var(--spacing-extra-large); + } + .mh6-ns { + margin-left: var(--spacing-extra-extra-large); + margin-right: var(--spacing-extra-extra-large); + } + .mh7-ns { + margin-left: var(--spacing-extra-extra-extra-large); + margin-right: var(--spacing-extra-extra-extra-large); + } + +} + +@media (--breakpoint-medium) { + .pa0-m { padding: var(--spacing-none); } + .pa1-m { padding: var(--spacing-extra-small); } + .pa2-m { padding: var(--spacing-small); } + .pa3-m { padding: var(--spacing-medium); } + .pa4-m { padding: var(--spacing-large); } + .pa5-m { padding: var(--spacing-extra-large); } + .pa6-m { padding: var(--spacing-extra-extra-large); } + .pa7-m { padding: var(--spacing-extra-extra-extra-large); } + + .pl0-m { padding-left: var(--spacing-none); } + .pl1-m { padding-left: var(--spacing-extra-small); } + .pl2-m { padding-left: var(--spacing-small); } + .pl3-m { padding-left: var(--spacing-medium); } + .pl4-m { padding-left: var(--spacing-large); } + .pl5-m { padding-left: var(--spacing-extra-large); } + .pl6-m { padding-left: var(--spacing-extra-extra-large); } + .pl7-m { padding-left: var(--spacing-extra-extra-extra-large); } + + .pr0-m { padding-right: var(--spacing-none); } + .pr1-m { padding-right: var(--spacing-extra-small); } + .pr2-m { padding-right: var(--spacing-small); } + .pr3-m { padding-right: var(--spacing-medium); } + .pr4-m { padding-right: var(--spacing-large); } + .pr5-m { padding-right: var(--spacing-extra-large); } + .pr6-m { padding-right: var(--spacing-extra-extra-large); } + .pr7-m { padding-right: var(--spacing-extra-extra-extra-large); } + + .pb0-m { padding-bottom: var(--spacing-none); } + .pb1-m { padding-bottom: var(--spacing-extra-small); } + .pb2-m { padding-bottom: var(--spacing-small); } + .pb3-m { padding-bottom: var(--spacing-medium); } + .pb4-m { padding-bottom: var(--spacing-large); } + .pb5-m { padding-bottom: var(--spacing-extra-large); } + .pb6-m { padding-bottom: var(--spacing-extra-extra-large); } + .pb7-m { padding-bottom: var(--spacing-extra-extra-extra-large); } + + .pt0-m { padding-top: var(--spacing-none); } + .pt1-m { padding-top: var(--spacing-extra-small); } + .pt2-m { padding-top: var(--spacing-small); } + .pt3-m { padding-top: var(--spacing-medium); } + .pt4-m { padding-top: var(--spacing-large); } + .pt5-m { padding-top: var(--spacing-extra-large); } + .pt6-m { padding-top: var(--spacing-extra-extra-large); } + .pt7-m { padding-top: var(--spacing-extra-extra-extra-large); } + + .pv0-m { + padding-top: var(--spacing-none); + padding-bottom: var(--spacing-none); + } + .pv1-m { + padding-top: var(--spacing-extra-small); + padding-bottom: var(--spacing-extra-small); + } + .pv2-m { + padding-top: var(--spacing-small); + padding-bottom: var(--spacing-small); + } + .pv3-m { + padding-top: var(--spacing-medium); + padding-bottom: var(--spacing-medium); + } + .pv4-m { + padding-top: var(--spacing-large); + padding-bottom: var(--spacing-large); + } + .pv5-m { + padding-top: var(--spacing-extra-large); + padding-bottom: var(--spacing-extra-large); + } + .pv6-m { + padding-top: var(--spacing-extra-extra-large); + padding-bottom: var(--spacing-extra-extra-large); + } + .pv7-m { + padding-top: var(--spacing-extra-extra-extra-large); + padding-bottom: var(--spacing-extra-extra-extra-large); + } + + .ph0-m { + padding-left: var(--spacing-none); + padding-right: var(--spacing-none); + } + .ph1-m { + padding-left: var(--spacing-extra-small); + padding-right: var(--spacing-extra-small); + } + .ph2-m { + padding-left: var(--spacing-small); + padding-right: var(--spacing-small); + } + .ph3-m { + padding-left: var(--spacing-medium); + padding-right: var(--spacing-medium); + } + .ph4-m { + padding-left: var(--spacing-large); + padding-right: var(--spacing-large); + } + .ph5-m { + padding-left: var(--spacing-extra-large); + padding-right: var(--spacing-extra-large); + } + .ph6-m { + padding-left: var(--spacing-extra-extra-large); + padding-right: var(--spacing-extra-extra-large); + } + .ph7-m { + padding-left: var(--spacing-extra-extra-extra-large); + padding-right: var(--spacing-extra-extra-extra-large); + } + + .ma0-m { margin: var(--spacing-none); } + .ma1-m { margin: var(--spacing-extra-small); } + .ma2-m { margin: var(--spacing-small); } + .ma3-m { margin: var(--spacing-medium); } + .ma4-m { margin: var(--spacing-large); } + .ma5-m { margin: var(--spacing-extra-large); } + .ma6-m { margin: var(--spacing-extra-extra-large); } + .ma7-m { margin: var(--spacing-extra-extra-extra-large); } + + .ml0-m { margin-left: var(--spacing-none); } + .ml1-m { margin-left: var(--spacing-extra-small); } + .ml2-m { margin-left: var(--spacing-small); } + .ml3-m { margin-left: var(--spacing-medium); } + .ml4-m { margin-left: var(--spacing-large); } + .ml5-m { margin-left: var(--spacing-extra-large); } + .ml6-m { margin-left: var(--spacing-extra-extra-large); } + .ml7-m { margin-left: var(--spacing-extra-extra-extra-large); } + + .mr0-m { margin-right: var(--spacing-none); } + .mr1-m { margin-right: var(--spacing-extra-small); } + .mr2-m { margin-right: var(--spacing-small); } + .mr3-m { margin-right: var(--spacing-medium); } + .mr4-m { margin-right: var(--spacing-large); } + .mr5-m { margin-right: var(--spacing-extra-large); } + .mr6-m { margin-right: var(--spacing-extra-extra-large); } + .mr7-m { margin-right: var(--spacing-extra-extra-extra-large); } + + .mb0-m { margin-bottom: var(--spacing-none); } + .mb1-m { margin-bottom: var(--spacing-extra-small); } + .mb2-m { margin-bottom: var(--spacing-small); } + .mb3-m { margin-bottom: var(--spacing-medium); } + .mb4-m { margin-bottom: var(--spacing-large); } + .mb5-m { margin-bottom: var(--spacing-extra-large); } + .mb6-m { margin-bottom: var(--spacing-extra-extra-large); } + .mb7-m { margin-bottom: var(--spacing-extra-extra-extra-large); } + + .mt0-m { margin-top: var(--spacing-none); } + .mt1-m { margin-top: var(--spacing-extra-small); } + .mt2-m { margin-top: var(--spacing-small); } + .mt3-m { margin-top: var(--spacing-medium); } + .mt4-m { margin-top: var(--spacing-large); } + .mt5-m { margin-top: var(--spacing-extra-large); } + .mt6-m { margin-top: var(--spacing-extra-extra-large); } + .mt7-m { margin-top: var(--spacing-extra-extra-extra-large); } + + .mv0-m { + margin-top: var(--spacing-none); + margin-bottom: var(--spacing-none); + } + .mv1-m { + margin-top: var(--spacing-extra-small); + margin-bottom: var(--spacing-extra-small); + } + .mv2-m { + margin-top: var(--spacing-small); + margin-bottom: var(--spacing-small); + } + .mv3-m { + margin-top: var(--spacing-medium); + margin-bottom: var(--spacing-medium); + } + .mv4-m { + margin-top: var(--spacing-large); + margin-bottom: var(--spacing-large); + } + .mv5-m { + margin-top: var(--spacing-extra-large); + margin-bottom: var(--spacing-extra-large); + } + .mv6-m { + margin-top: var(--spacing-extra-extra-large); + margin-bottom: var(--spacing-extra-extra-large); + } + .mv7-m { + margin-top: var(--spacing-extra-extra-extra-large); + margin-bottom: var(--spacing-extra-extra-extra-large); + } + + .mh0-m { + margin-left: var(--spacing-none); + margin-right: var(--spacing-none); + } + .mh1-m { + margin-left: var(--spacing-extra-small); + margin-right: var(--spacing-extra-small); + } + .mh2-m { + margin-left: var(--spacing-small); + margin-right: var(--spacing-small); + } + .mh3-m { + margin-left: var(--spacing-medium); + margin-right: var(--spacing-medium); + } + .mh4-m { + margin-left: var(--spacing-large); + margin-right: var(--spacing-large); + } + .mh5-m { + margin-left: var(--spacing-extra-large); + margin-right: var(--spacing-extra-large); + } + .mh6-m { + margin-left: var(--spacing-extra-extra-large); + margin-right: var(--spacing-extra-extra-large); + } + .mh7-m { + margin-left: var(--spacing-extra-extra-extra-large); + margin-right: var(--spacing-extra-extra-extra-large); + } + +} + +@media (--breakpoint-large) { + .pa0-l { padding: var(--spacing-none); } + .pa1-l { padding: var(--spacing-extra-small); } + .pa2-l { padding: var(--spacing-small); } + .pa3-l { padding: var(--spacing-medium); } + .pa4-l { padding: var(--spacing-large); } + .pa5-l { padding: var(--spacing-extra-large); } + .pa6-l { padding: var(--spacing-extra-extra-large); } + .pa7-l { padding: var(--spacing-extra-extra-extra-large); } + + .pl0-l { padding-left: var(--spacing-none); } + .pl1-l { padding-left: var(--spacing-extra-small); } + .pl2-l { padding-left: var(--spacing-small); } + .pl3-l { padding-left: var(--spacing-medium); } + .pl4-l { padding-left: var(--spacing-large); } + .pl5-l { padding-left: var(--spacing-extra-large); } + .pl6-l { padding-left: var(--spacing-extra-extra-large); } + .pl7-l { padding-left: var(--spacing-extra-extra-extra-large); } + + .pr0-l { padding-right: var(--spacing-none); } + .pr1-l { padding-right: var(--spacing-extra-small); } + .pr2-l { padding-right: var(--spacing-small); } + .pr3-l { padding-right: var(--spacing-medium); } + .pr4-l { padding-right: var(--spacing-large); } + .pr5-l { padding-right: var(--spacing-extra-large); } + .pr6-l { padding-right: var(--spacing-extra-extra-large); } + .pr7-l { padding-right: var(--spacing-extra-extra-extra-large); } + + .pb0-l { padding-bottom: var(--spacing-none); } + .pb1-l { padding-bottom: var(--spacing-extra-small); } + .pb2-l { padding-bottom: var(--spacing-small); } + .pb3-l { padding-bottom: var(--spacing-medium); } + .pb4-l { padding-bottom: var(--spacing-large); } + .pb5-l { padding-bottom: var(--spacing-extra-large); } + .pb6-l { padding-bottom: var(--spacing-extra-extra-large); } + .pb7-l { padding-bottom: var(--spacing-extra-extra-extra-large); } + + .pt0-l { padding-top: var(--spacing-none); } + .pt1-l { padding-top: var(--spacing-extra-small); } + .pt2-l { padding-top: var(--spacing-small); } + .pt3-l { padding-top: var(--spacing-medium); } + .pt4-l { padding-top: var(--spacing-large); } + .pt5-l { padding-top: var(--spacing-extra-large); } + .pt6-l { padding-top: var(--spacing-extra-extra-large); } + .pt7-l { padding-top: var(--spacing-extra-extra-extra-large); } + + .pv0-l { + padding-top: var(--spacing-none); + padding-bottom: var(--spacing-none); + } + .pv1-l { + padding-top: var(--spacing-extra-small); + padding-bottom: var(--spacing-extra-small); + } + .pv2-l { + padding-top: var(--spacing-small); + padding-bottom: var(--spacing-small); + } + .pv3-l { + padding-top: var(--spacing-medium); + padding-bottom: var(--spacing-medium); + } + .pv4-l { + padding-top: var(--spacing-large); + padding-bottom: var(--spacing-large); + } + .pv5-l { + padding-top: var(--spacing-extra-large); + padding-bottom: var(--spacing-extra-large); + } + .pv6-l { + padding-top: var(--spacing-extra-extra-large); + padding-bottom: var(--spacing-extra-extra-large); + } + .pv7-l { + padding-top: var(--spacing-extra-extra-extra-large); + padding-bottom: var(--spacing-extra-extra-extra-large); + } + + .ph0-l { + padding-left: var(--spacing-none); + padding-right: var(--spacing-none); + } + .ph1-l { + padding-left: var(--spacing-extra-small); + padding-right: var(--spacing-extra-small); + } + .ph2-l { + padding-left: var(--spacing-small); + padding-right: var(--spacing-small); + } + .ph3-l { + padding-left: var(--spacing-medium); + padding-right: var(--spacing-medium); + } + .ph4-l { + padding-left: var(--spacing-large); + padding-right: var(--spacing-large); + } + .ph5-l { + padding-left: var(--spacing-extra-large); + padding-right: var(--spacing-extra-large); + } + .ph6-l { + padding-left: var(--spacing-extra-extra-large); + padding-right: var(--spacing-extra-extra-large); + } + .ph7-l { + padding-left: var(--spacing-extra-extra-extra-large); + padding-right: var(--spacing-extra-extra-extra-large); + } + + .ma0-l { margin: var(--spacing-none); } + .ma1-l { margin: var(--spacing-extra-small); } + .ma2-l { margin: var(--spacing-small); } + .ma3-l { margin: var(--spacing-medium); } + .ma4-l { margin: var(--spacing-large); } + .ma5-l { margin: var(--spacing-extra-large); } + .ma6-l { margin: var(--spacing-extra-extra-large); } + .ma7-l { margin: var(--spacing-extra-extra-extra-large); } + + .ml0-l { margin-left: var(--spacing-none); } + .ml1-l { margin-left: var(--spacing-extra-small); } + .ml2-l { margin-left: var(--spacing-small); } + .ml3-l { margin-left: var(--spacing-medium); } + .ml4-l { margin-left: var(--spacing-large); } + .ml5-l { margin-left: var(--spacing-extra-large); } + .ml6-l { margin-left: var(--spacing-extra-extra-large); } + .ml7-l { margin-left: var(--spacing-extra-extra-extra-large); } + + .mr0-l { margin-right: var(--spacing-none); } + .mr1-l { margin-right: var(--spacing-extra-small); } + .mr2-l { margin-right: var(--spacing-small); } + .mr3-l { margin-right: var(--spacing-medium); } + .mr4-l { margin-right: var(--spacing-large); } + .mr5-l { margin-right: var(--spacing-extra-large); } + .mr6-l { margin-right: var(--spacing-extra-extra-large); } + .mr7-l { margin-right: var(--spacing-extra-extra-extra-large); } + + .mb0-l { margin-bottom: var(--spacing-none); } + .mb1-l { margin-bottom: var(--spacing-extra-small); } + .mb2-l { margin-bottom: var(--spacing-small); } + .mb3-l { margin-bottom: var(--spacing-medium); } + .mb4-l { margin-bottom: var(--spacing-large); } + .mb5-l { margin-bottom: var(--spacing-extra-large); } + .mb6-l { margin-bottom: var(--spacing-extra-extra-large); } + .mb7-l { margin-bottom: var(--spacing-extra-extra-extra-large); } + + .mt0-l { margin-top: var(--spacing-none); } + .mt1-l { margin-top: var(--spacing-extra-small); } + .mt2-l { margin-top: var(--spacing-small); } + .mt3-l { margin-top: var(--spacing-medium); } + .mt4-l { margin-top: var(--spacing-large); } + .mt5-l { margin-top: var(--spacing-extra-large); } + .mt6-l { margin-top: var(--spacing-extra-extra-large); } + .mt7-l { margin-top: var(--spacing-extra-extra-extra-large); } + + .mv0-l { + margin-top: var(--spacing-none); + margin-bottom: var(--spacing-none); + } + .mv1-l { + margin-top: var(--spacing-extra-small); + margin-bottom: var(--spacing-extra-small); + } + .mv2-l { + margin-top: var(--spacing-small); + margin-bottom: var(--spacing-small); + } + .mv3-l { + margin-top: var(--spacing-medium); + margin-bottom: var(--spacing-medium); + } + .mv4-l { + margin-top: var(--spacing-large); + margin-bottom: var(--spacing-large); + } + .mv5-l { + margin-top: var(--spacing-extra-large); + margin-bottom: var(--spacing-extra-large); + } + .mv6-l { + margin-top: var(--spacing-extra-extra-large); + margin-bottom: var(--spacing-extra-extra-large); + } + .mv7-l { + margin-top: var(--spacing-extra-extra-extra-large); + margin-bottom: var(--spacing-extra-extra-extra-large); + } + + .mh0-l { + margin-left: var(--spacing-none); + margin-right: var(--spacing-none); + } + .mh1-l { + margin-left: var(--spacing-extra-small); + margin-right: var(--spacing-extra-small); + } + .mh2-l { + margin-left: var(--spacing-small); + margin-right: var(--spacing-small); + } + .mh3-l { + margin-left: var(--spacing-medium); + margin-right: var(--spacing-medium); + } + .mh4-l { + margin-left: var(--spacing-large); + margin-right: var(--spacing-large); + } + .mh5-l { + margin-left: var(--spacing-extra-large); + margin-right: var(--spacing-extra-large); + } + .mh6-l { + margin-left: var(--spacing-extra-extra-large); + margin-right: var(--spacing-extra-extra-large); + } + .mh7-l { + margin-left: var(--spacing-extra-extra-extra-large); + margin-right: var(--spacing-extra-extra-extra-large); + } +} + diff --git a/src/css/imports/_styles.css b/src/css/imports/_styles.css new file mode 100755 index 0000000..56beaae --- /dev/null +++ b/src/css/imports/_styles.css @@ -0,0 +1,8 @@ +/* + + STYLES + + Add custom styles here. + +*/ + diff --git a/src/css/imports/_tables.css b/src/css/imports/_tables.css new file mode 100755 index 0000000..d1f145a --- /dev/null +++ b/src/css/imports/_tables.css @@ -0,0 +1,35 @@ +/* + + TABLES + Docs: http://tachyons.io/docs/elements/tables/ + +*/ + +.collapse { + border-collapse: collapse; + border-spacing: 0; +} + +.striped--light-silver:nth-child(odd) { + background-color: var(--light-silver); +} + +.striped--moon-gray:nth-child(odd) { + background-color: var(--moon-gray); +} + +.striped--light-gray:nth-child(odd) { + background-color: var(--light-gray); +} + +.striped--near-white:nth-child(odd) { + background-color: var(--near-white); +} + +.stripe-light:nth-child(odd) { + background-color: var(--white-10); +} + +.stripe-dark:nth-child(odd) { + background-color: var(--black-10); +} diff --git a/src/css/imports/_text-align.css b/src/css/imports/_text-align.css new file mode 100755 index 0000000..b1e8bca --- /dev/null +++ b/src/css/imports/_text-align.css @@ -0,0 +1,42 @@ +/* + + TEXT ALIGN + Docs: http://tachyons.io/docs/typography/text-align/ + + Base + t = text-align + + Modifiers + l = left + r = right + c = center + + Media Query Extensions: + -ns = not-small + -m = medium + -l = large + +*/ + +.tl { text-align: left; } +.tr { text-align: right; } +.tc { text-align: center; } + +@media (--breakpoint-not-small) { + .tl-ns { text-align: left; } + .tr-ns { text-align: right; } + .tc-ns { text-align: center; } +} + +@media (--breakpoint-medium) { + .tl-m { text-align: left; } + .tr-m { text-align: right; } + .tc-m { text-align: center; } +} + +@media (--breakpoint-large) { + .tl-l { text-align: left; } + .tr-l { text-align: right; } + .tc-l { text-align: center; } +} + diff --git a/src/css/imports/_text-decoration.css b/src/css/imports/_text-decoration.css new file mode 100755 index 0000000..574de27 --- /dev/null +++ b/src/css/imports/_text-decoration.css @@ -0,0 +1,35 @@ +/* + + TEXT DECORATION + Docs: http://tachyons.io/docs/typography/text-decoration/ + + + Media Query Extensions: + -ns = not-small + -m = medium + -l = large + +*/ + +.strike { text-decoration: line-through; } +.underline { text-decoration: underline; } +.no-underline { text-decoration: none; } + + +@media (--breakpoint-not-small) { + .strike-ns { text-decoration: line-through; } + .underline-ns { text-decoration: underline; } + .no-underline-ns { text-decoration: none; } +} + +@media (--breakpoint-medium) { + .strike-m { text-decoration: line-through; } + .underline-m { text-decoration: underline; } + .no-underline-m { text-decoration: none; } +} + +@media (--breakpoint-large) { + .strike-l { text-decoration: line-through; } + .underline-l { text-decoration: underline; } + .no-underline-l { text-decoration: none; } +} diff --git a/src/css/imports/_text-transform.css b/src/css/imports/_text-transform.css new file mode 100755 index 0000000..50ae73e --- /dev/null +++ b/src/css/imports/_text-transform.css @@ -0,0 +1,46 @@ +/* + + TEXT TRANSFORM + Docs: http://tachyons.io/docs/typography/text-transform/ + + Base: + tt = text-transform + + Modifiers + c = capitalize + l = lowercase + u = uppercase + n = none + + Media Query Extensions: + -ns = not-small + -m = medium + -l = large + +*/ + +.ttc { text-transform: capitalize; } +.ttl { text-transform: lowercase; } +.ttu { text-transform: uppercase; } +.ttn { text-transform: none; } + +@media (--breakpoint-not-small) { + .ttc-ns { text-transform: capitalize; } + .ttl-ns { text-transform: lowercase; } + .ttu-ns { text-transform: uppercase; } + .ttn-ns { text-transform: none; } +} + +@media (--breakpoint-medium) { + .ttc-m { text-transform: capitalize; } + .ttl-m { text-transform: lowercase; } + .ttu-m { text-transform: uppercase; } + .ttn-m { text-transform: none; } +} + +@media (--breakpoint-large) { + .ttc-l { text-transform: capitalize; } + .ttl-l { text-transform: lowercase; } + .ttu-l { text-transform: uppercase; } + .ttn-l { text-transform: none; } +} diff --git a/src/css/imports/_type-scale.css b/src/css/imports/_type-scale.css new file mode 100755 index 0000000..31f1018 --- /dev/null +++ b/src/css/imports/_type-scale.css @@ -0,0 +1,90 @@ +/* + + TYPE SCALE + Docs: http://tachyons.io/docs/typography/scale/ + + Base: + f = font-size + + Modifiers + 1 = 1st step in size scale + 2 = 2nd step in size scale + 3 = 3rd step in size scale + 4 = 4th step in size scale + 5 = 5th step in size scale + 6 = 6th step in size scale + + Media Query Extensions: + -ns = not-small + -m = medium + -l = large +*/ + +/* + * For Hero/Marketing Titles + * + * These generally are too large for mobile + * so be careful using them on smaller screens. + * */ + +.f-6, +.f-headline { + font-size: 6rem; +} +.f-5, +.f-subheadline { + font-size: 5rem; +} + + +/* Type Scale */ + +.f1 { font-size: 3rem; } +.f2 { font-size: 2.25rem; } +.f3 { font-size: 1.5rem; } +.f4 { font-size: 1.25rem; } +.f5 { font-size: 1rem; } +.f6 { font-size: .875rem; } + +@media (--breakpoint-not-small) { + .f-6-ns, + .f-headline-ns { font-size: 6rem; } + .f-5-ns, + .f-subheadline-ns { font-size: 5rem; } + .f1-ns { font-size: 3rem; } + .f2-ns { font-size: 2.25rem; } + .f3-ns { font-size: 1.5rem; } + .f4-ns { font-size: 1.25rem; } + .f5-ns { font-size: 1rem; } + .f6-ns { font-size: .875rem; } +} + +@media (--breakpoint-medium) { + .f-6-m, + .f-headline-m { font-size: 6rem; } + .f-5-m, + .f-subheadline-m { font-size: 5rem; } + .f1-m { font-size: 3rem; } + .f2-m { font-size: 2.25rem; } + .f3-m { font-size: 1.5rem; } + .f4-m { font-size: 1.25rem; } + .f5-m { font-size: 1rem; } + .f6-m { font-size: .875rem; } +} + +@media (--breakpoint-large) { + .f-6-l, + .f-headline-l { + font-size: 6rem; + } + .f-5-l, + .f-subheadline-l { + font-size: 5rem; + } + .f1-l { font-size: 3rem; } + .f2-l { font-size: 2.25rem; } + .f3-l { font-size: 1.5rem; } + .f4-l { font-size: 1.25rem; } + .f5-l { font-size: 1rem; } + .f6-l { font-size: .875rem; } +} diff --git a/src/css/imports/_typography.css b/src/css/imports/_typography.css new file mode 100755 index 0000000..4a41038 --- /dev/null +++ b/src/css/imports/_typography.css @@ -0,0 +1,122 @@ +/* + + TYPOGRAPHY + http://tachyons.io/docs/typography/measure/ + + Media Query Extensions: + -ns = not-small + -m = medium + -l = large + +*/ + + + +/* Measure is limited to ~66 characters */ +.measure { + max-width: 30em; +} + +/* Measure is limited to ~80 characters */ +.measure-wide { + max-width: 34em; +} + +/* Measure is limited to ~45 characters */ +.measure-narrow { + max-width: 20em; +} + +/* Book paragraph style - paragraphs are indented with no vertical spacing. */ +.indent { + text-indent: 1em; + margin-top: 0; + margin-bottom: 0; +} + +.small-caps { + font-variant: small-caps; +} + +/* Combine this class with a width to truncate text (or just leave as is to truncate at width of containing element. */ + +.truncate { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +@media (--breakpoint-not-small) { + .measure-ns { + max-width: 30em; + } + .measure-wide-ns { + max-width: 34em; + } + .measure-narrow-ns { + max-width: 20em; + } + .indent-ns { + text-indent: 1em; + margin-top: 0; + margin-bottom: 0; + } + .small-caps-ns { + font-variant: small-caps; + } + .truncate-ns { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + } +} + +@media (--breakpoint-medium) { + .measure-m { + max-width: 30em; + } + .measure-wide-m { + max-width: 34em; + } + .measure-narrow-m { + max-width: 20em; + } + .indent-m { + text-indent: 1em; + margin-top: 0; + margin-bottom: 0; + } + .small-caps-m { + font-variant: small-caps; + } + .truncate-m { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + } +} + +@media (--breakpoint-large) { + .measure-l { + max-width: 30em; + } + .measure-wide-l { + max-width: 34em; + } + .measure-narrow-l { + max-width: 20em; + } + .indent-l { + text-indent: 1em; + margin-top: 0; + margin-bottom: 0; + } + .small-caps-l { + font-variant: small-caps; + } + .truncate-l { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + } +} diff --git a/src/css/imports/_utilities.css b/src/css/imports/_utilities.css new file mode 100755 index 0000000..73c6b5d --- /dev/null +++ b/src/css/imports/_utilities.css @@ -0,0 +1,60 @@ +/* + + UTILITIES + +*/ + +/* This is for fluid media that is embedded from third party sites like youtube, vimeo etc. + * Wrap the outer element in aspect-ratio and then extend it with the desired ratio i.e + * Make sure there are no height and width attributes on the embedded media. + * Adapted from: https://github.com/suitcss/components-flex-embed + * + * Example: + * + * <div class="aspect-ratio aspect-ratio--16x9"> + * <iframe class="aspect-ratio--object"></iframe> + * </div> + * + * */ + +.aspect-ratio { + height: 0; + position: relative; +} + +.aspect-ratio--16x9 { padding-bottom: 56.25%; } +.aspect-ratio--9x16 { padding-bottom: 177.77%; } + +.aspect-ratio--4x3 { padding-bottom: 75%; } +.aspect-ratio--3x4 { padding-bottom: 133.33%; } + +.aspect-ratio--6x4 { padding-bottom: 66.6%; } +.aspect-ratio--4x6 { padding-bottom: 150%; } + +.aspect-ratio--8x5 { padding-bottom: 62.5%; } +.aspect-ratio--5x8 { padding-bottom: 160%; } + +.aspect-ratio--7x5 { padding-bottom: 71.42%; } +.aspect-ratio--5x7 { padding-bottom: 140%; } + +.aspect-ratio--1x1 { padding-bottom: 100%; } + +.aspect-ratio--object { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + width: 100%; + height: 100%; + z-index: 100; +} + +.overflow-container { + overflow-y: scroll; +} + +.center { + margin-right: auto; + margin-left: auto; +} diff --git a/src/css/imports/_vertical-align.css b/src/css/imports/_vertical-align.css new file mode 100755 index 0000000..83f9114 --- /dev/null +++ b/src/css/imports/_vertical-align.css @@ -0,0 +1,36 @@ +/* + + VERTICAL ALIGN + + Media Query Extensions: + -ns = not-small + -m = medium + -l = large + +*/ + +.v-base { vertical-align: baseline; } +.v-mid { vertical-align: middle; } +.v-top { vertical-align: top; } +.v-btm { vertical-align: bottom; } + +@media (--breakpoint-not-small) { + .v-base-ns { vertical-align: baseline; } + .v-mid-ns { vertical-align: middle; } + .v-top-ns { vertical-align: top; } + .v-btm-ns { vertical-align: bottom; } +} + +@media (--breakpoint-medium) { + .v-base-m { vertical-align: baseline; } + .v-mid-m { vertical-align: middle; } + .v-top-m { vertical-align: top; } + .v-btm-m { vertical-align: bottom; } +} + +@media (--breakpoint-large) { + .v-base-l { vertical-align: baseline; } + .v-mid-l { vertical-align: middle; } + .v-top-l { vertical-align: top; } + .v-btm-l { vertical-align: bottom; } +} diff --git a/src/css/imports/_visibility.css b/src/css/imports/_visibility.css new file mode 100755 index 0000000..f5a8c44 --- /dev/null +++ b/src/css/imports/_visibility.css @@ -0,0 +1,51 @@ +/* + + VISIBILITY + + Media Query Extensions: + -ns = not-small + -m = medium + -l = large + +*/ + + +/* + Text that is hidden but accessible + Ref: http://snook.ca/archives/html_and_css/hiding-content-for-accessibility +*/ + +.clip { + position: fixed !important; + _position: absolute !important; + clip: rect(1px 1px 1px 1px); /* IE6, IE7 */ + clip: rect(1px, 1px, 1px, 1px); +} + +@media (--breakpoint-not-small) { + .clip-ns { + position: fixed !important; + _position: absolute !important; + clip: rect(1px 1px 1px 1px); /* IE6, IE7 */ + clip: rect(1px, 1px, 1px, 1px); + } +} + +@media (--breakpoint-medium) { + .clip-m { + position: fixed !important; + _position: absolute !important; + clip: rect(1px 1px 1px 1px); /* IE6, IE7 */ + clip: rect(1px, 1px, 1px, 1px); + } +} + +@media (--breakpoint-large) { + .clip-l { + position: fixed !important; + _position: absolute !important; + clip: rect(1px 1px 1px 1px); /* IE6, IE7 */ + clip: rect(1px, 1px, 1px, 1px); + } +} + diff --git a/src/css/imports/_white-space.css b/src/css/imports/_white-space.css new file mode 100755 index 0000000..3902f1f --- /dev/null +++ b/src/css/imports/_white-space.css @@ -0,0 +1,34 @@ +/* + + WHITE SPACE + + Media Query Extensions: + -ns = not-small + -m = medium + -l = large + +*/ + + +.ws-normal { white-space: normal; } +.nowrap { white-space: nowrap; } +.pre { white-space: pre; } + +@media (--breakpoint-not-small) { + .ws-normal-ns { white-space: normal; } + .nowrap-ns { white-space: nowrap; } + .pre-ns { white-space: pre; } +} + +@media (--breakpoint-medium) { + .ws-normal-m { white-space: normal; } + .nowrap-m { white-space: nowrap; } + .pre-m { white-space: pre; } +} + +@media (--breakpoint-large) { + .ws-normal-l { white-space: normal; } + .nowrap-l { white-space: nowrap; } + .pre-l { white-space: pre; } +} + diff --git a/src/css/imports/_widths.css b/src/css/imports/_widths.css new file mode 100755 index 0000000..54c0c7c --- /dev/null +++ b/src/css/imports/_widths.css @@ -0,0 +1,139 @@ +/* + + WIDTHS + Docs: http://tachyons.io/docs/layout/widths/ + + Base: + w = width + + Modifiers + 1 = 1st step in width scale + 2 = 2nd step in width scale + 3 = 3rd step in width scale + 4 = 4th step in width scale + 5 = 5th step in width scale + + -10 = literal value 10% + -20 = literal value 20% + -25 = literal value 25% + -33 = literal value 33% + -34 = literal value 34% + -40 = literal value 40% + -50 = literal value 50% + -60 = literal value 60% + -75 = literal value 75% + -80 = literal value 80% + -100 = literal value 100% + + -third = 100% / 3 (Not supported in opera mini or IE8) + -auto = string value auto + + + Media Query Extensions: + -ns = not-small + -m = medium + -l = large + +*/ + +/* Width Scale */ + +.w1 { width: 1rem; } +.w2 { width: 2rem; } +.w3 { width: 4rem; } +.w4 { width: 8rem; } +.w5 { width: 16rem; } + +.w-10 { width: 10%; } +.w-20 { width: 20%; } +.w-25 { width: 25%; } +.w-30 { width: 30%; } +.w-33 { width: 33%; } +.w-34 { width: 34%; } +.w-40 { width: 40%; } +.w-50 { width: 50%; } +.w-60 { width: 60%; } +.w-70 { width: 70%; } +.w-75 { width: 75%; } +.w-80 { width: 80%; } +.w-90 { width: 90%; } +.w-100 { width: 100%; } + +.w-third { width: calc(100% / 3); } +.w-two-thirds { width: calc(100% / 1.5); } +.w-auto { width: auto; } + +@media (--breakpoint-not-small) { + .w1-ns { width: 1rem; } + .w2-ns { width: 2rem; } + .w3-ns { width: 4rem; } + .w4-ns { width: 8rem; } + .w5-ns { width: 16rem; } + .w-10-ns { width: 10%; } + .w-20-ns { width: 20%; } + .w-25-ns { width: 25%; } + .w-30-ns { width: 30%; } + .w-33-ns { width: 33%; } + .w-34-ns { width: 34%; } + .w-40-ns { width: 40%; } + .w-50-ns { width: 50%; } + .w-60-ns { width: 60%; } + .w-70-ns { width: 70%; } + .w-75-ns { width: 75%; } + .w-80-ns { width: 80%; } + .w-90-ns { width: 90%; } + .w-100-ns { width: 100%; } + .w-third-ns { width: calc(100% / 3); } + .w-two-thirds-ns { width: calc(100% / 1.5); } + .w-auto-ns { width: auto; } +} + +@media (--breakpoint-medium) { + .w1-m { width: 1rem; } + .w2-m { width: 2rem; } + .w3-m { width: 4rem; } + .w4-m { width: 8rem; } + .w5-m { width: 16rem; } + .w-10-m { width: 10%; } + .w-20-m { width: 20%; } + .w-25-m { width: 25%; } + .w-30-m { width: 30%; } + .w-33-m { width: 33%; } + .w-34-m { width: 34%; } + .w-40-m { width: 40%; } + .w-50-m { width: 50%; } + .w-60-m { width: 60%; } + .w-70-m { width: 70%; } + .w-75-m { width: 75%; } + .w-80-m { width: 80%; } + .w-90-m { width: 90%; } + .w-100-m { width: 100%; } + .w-third-m { width: calc(100% / 3); } + .w-two-thirds-m { width: calc(100% / 1.5); } + .w-auto-m { width: auto; } +} + +@media (--breakpoint-large) { + .w1-l { width: 1rem; } + .w2-l { width: 2rem; } + .w3-l { width: 4rem; } + .w4-l { width: 8rem; } + .w5-l { width: 16rem; } + .w-10-l { width: 10%; } + .w-20-l { width: 20%; } + .w-25-l { width: 25%; } + .w-30-l { width: 30%; } + .w-33-l { width: 33%; } + .w-34-l { width: 34%; } + .w-40-l { width: 40%; } + .w-50-l { width: 50%; } + .w-60-l { width: 60%; } + .w-70-l { width: 70%; } + .w-75-l { width: 75%; } + .w-80-l { width: 80%; } + .w-90-l { width: 90%; } + .w-100-l { width: 100%; } + .w-third-l { width: calc(100% / 3); } + .w-two-thirds-l { width: calc(100% / 1.5); } + .w-auto-l { width: auto; } +} diff --git a/src/css/imports/_word-break.css b/src/css/imports/_word-break.css new file mode 100755 index 0000000..bc88931 --- /dev/null +++ b/src/css/imports/_word-break.css @@ -0,0 +1,36 @@ +/* + + WORD BREAK + + Base: + word = word-break + + Media Query Extensions: + -ns = not-small + -m = medium + -l = large + +*/ + +.word-normal { word-break: normal; } +.word-wrap { word-break: break-all; } +.word-nowrap { word-break: keep-all; } + +@media (--breakpoint-not-small) { + .word-normal-ns { word-break: normal; } + .word-wrap-ns { word-break: break-all; } + .word-nowrap-ns { word-break: keep-all; } +} + +@media (--breakpoint-medium) { + .word-normal-m { word-break: normal; } + .word-wrap-m { word-break: break-all; } + .word-nowrap-m { word-break: keep-all; } +} + +@media (--breakpoint-large) { + .word-normal-l { word-break: normal; } + .word-wrap-l { word-break: break-all; } + .word-nowrap-l { word-break: keep-all; } +} + diff --git a/src/css/imports/_z-index.css b/src/css/imports/_z-index.css new file mode 100755 index 0000000..9f4d863 --- /dev/null +++ b/src/css/imports/_z-index.css @@ -0,0 +1,53 @@ +/* + + Z-INDEX + + Base + z = z-index + + Modifiers + -0 = literal value 0 + -1 = literal value 1 + -2 = literal value 2 + -3 = literal value 3 + -4 = literal value 4 + -5 = literal value 5 + -999 = literal value 999 + -9999 = literal value 9999 + + -max = largest accepted z-index value as integer + + -inherit = string value inherit + -initial = string value initial + -unset = string value unset + + MDN: https://developer.mozilla.org/en/docs/Web/CSS/z-index + Spec: http://www.w3.org/TR/CSS2/zindex.html + Articles: + https://philipwalton.com/articles/what-no-one-told-you-about-z-index/ + + Tips on extending: + There might be a time worth using negative z-index values. + Or if you are using tachyons with another project, you might need to + adjust these values to suit your needs. + +*/ + +.z-0 { z-index: 0; } +.z-1 { z-index: 1; } +.z-2 { z-index: 2; } +.z-3 { z-index: 3; } +.z-4 { z-index: 4; } +.z-5 { z-index: 5; } + +.z-999 { z-index: 999; } +.z-9999 { z-index: 9999; } + +.z-max { + z-index: 2147483647; +} + +.z-inherit { z-index: inherit; } +.z-initial { z-index: initial; } +.z-unset { z-index: unset; } + diff --git a/src/css/imports/reset.css b/src/css/imports/reset.css deleted file mode 100644 index 74d7658..0000000 --- a/src/css/imports/reset.css +++ /dev/null @@ -1,3 +0,0 @@ -body { - font-size: 16px; -} diff --git a/src/css/main.css b/src/css/main.css index ebf0749..98cfc95 100644 --- a/src/css/main.css +++ b/src/css/main.css @@ -1 +1,89 @@ -@import "imports/reset.css"; +/*! TACHYONS v4.5.5 | http://tachyons.io */ + +/* + * + * ________ ______ + * ___ __/_____ _________ /______ ______________________ + * __ / _ __ `/ ___/_ __ \_ / / / __ \_ __ \_ ___/ + * _ / / /_/ // /__ _ / / / /_/ // /_/ / / / /(__ ) + * /_/ \__,_/ \___/ /_/ /_/_\__, / \____//_/ /_//____/ + * /____/ + * + * TABLE OF CONTENTS + * + * 1. External Library Includes + * - Normalize.css | http://normalize.css.github.io + * 2. Tachyons Modules + * 3. Variables + * - Media Queries + * - Colors + * 4. Debugging + * - Debug all + * - Debug children + * + */ + + +/* External Library Includes */ +@import './imports/_normalize'; + +/* Modules */ +@import './imports/_box-sizing'; +@import './imports/_images'; +@import './imports/_background-size'; +@import './imports/_background-position'; +@import './imports/_outlines'; +@import './imports/_borders'; +@import './imports/_border-colors'; +@import './imports/_border-radius'; +@import './imports/_border-style'; +@import './imports/_border-widths'; +@import './imports/_box-shadow'; +@import './imports/_code'; +@import './imports/_coordinates'; +@import './imports/_clears'; +@import './imports/_display'; +@import './imports/_flexbox'; +@import './imports/_floats'; +@import './imports/_font-family'; +@import './imports/_font-style'; +@import './imports/_font-weight'; +@import './imports/_forms'; +@import './imports/_heights'; +@import './imports/_letter-spacing'; +@import './imports/_line-height'; +@import './imports/_links'; +@import './imports/_lists'; +@import './imports/_max-widths'; +@import './imports/_widths'; +@import './imports/_overflow'; +@import './imports/_position'; +@import './imports/_opacity'; +@import './imports/_skins'; +@import './imports/_skins-pseudo'; +@import './imports/_spacing'; +@import './imports/_tables'; +@import './imports/_text-decoration'; +@import './imports/_text-align'; +@import './imports/_text-transform'; +@import './imports/_type-scale'; +@import './imports/_typography'; +@import './imports/_utilities'; +@import './imports/_visibility'; +@import './imports/_white-space'; +@import './imports/_vertical-align'; +@import './imports/_hovers'; +@import './imports/_z-index'; +@import './imports/_styles'; + +/* Variables */ +/* Importing here will allow you to override any variables in the modules */ +@import './imports/_colors'; +@import './imports/_media-queries'; + +/* Debugging */ +@import './imports/_debug-children'; +@import './imports/_debug-grid'; + +/* Uncomment out the line below to help debug layout issues */ +/* @import './imports/_debug'; */ |
