Last active
August 29, 2015 14:07
-
-
Save widescreenBob/735f28a54a345db56adc to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.2.19) | |
// Compass (v0.12.6) | |
// Breakpoint (v2.0.7) | |
// Singularity Extras (v0.0.3) | |
// Singularity.gs (v1.1.2) | |
// Toolkit (v1.3.8) | |
// ---- | |
@import "breakpoint" | |
@import "compass" | |
@import "singularitygs" | |
@import "singularitygs" | |
@import "singularity-extras" | |
@import "toolkit" | |
//Typography mixins | |
$sans-serif: Arial, sans-serif | |
$base-font-size: 16 | |
//=========================== | |
// From project Gpb | |
//=========================== | |
=link($link-color: $link, $link-hover: $link-hover, $underline: no) | |
text-decoration: none | |
color: $link-color | |
&:link, | |
&:visited | |
text-decoration: none | |
color: $link-color | |
@if $underline == no | |
&.active, | |
&:hover, | |
&:focus | |
color: $link-hover | |
@if $underline == yes | |
&.active, | |
&:hover, | |
&:focus | |
text-decoration: underline | |
color: $link-hover | |
//=========================== | |
// From project NFL | |
//=========================== | |
=font-smoothing($value: antialiased) | |
@if $value == antialiased | |
-webkit-font-smoothing: antialiased | |
-moz-osx-font-smoothing: grayscale | |
@if $value == subpixel | |
-webkit-font-smoothing: subpixel-antialiased | |
-moz-osx-font-smoothing: auto | |
=body-font | |
font-family: $sans-serif | |
=thick | |
font-weight: bold | |
=thin | |
font-weight: normal | |
=italic | |
font-style: italic | |
=caps | |
text-transform: uppercase | |
=fontFace($family, $src, $weight: normal, $style: normal) | |
@font-face | |
font-family: $family | |
src: url("#{$base}/fonts/#{$src}.eot") | |
// IE9 compat | |
src: url("#{$base}/fonts/#{$src}.eot?#iefix") format("embedded-opentype"), url("#{$base}/fonts/#{$src}.woff") format("woff"), url("#{$base}/fonts/#{$src}.ttf") format("truetype"), url("#{$base}/fonts/#{$src}.svg") format("svg") | |
// legacy iOS | |
font-style: $style | |
font-weight: $weight | |
//=========================== | |
// From Project Warroom | |
//=========================== | |
=font-size($font-size: $base-font-size) | |
font-size: $font-size +px | |
font-size: $font-size/$base-font-size +rem | |
=w100 | |
font-style: normal | |
font-weight: 100 | |
=w300 | |
font-style: normal | |
font-weight: 300 | |
=w400 | |
font-style: normal | |
font-weight: 400 | |
=w500 | |
font-style: normal | |
font-weight: 500 | |
=w700 | |
font-style: normal | |
font-weight: 700 | |
=w800 | |
font-style: normal | |
font-weight: 800 | |
=w900 | |
font-style: normal | |
font-weight: 900 | |
=normal | |
font-style: normal | |
font-weight: 100 | |
=align($align) | |
@if $align == center | |
text-align: center | |
@if $align == left | |
text-align: left | |
@if $align == right | |
text-align: right | |
@if $align == top | |
vertical-align: top | |
@if $align == bottom | |
vertical-align: bottom | |
@if $align == middle | |
vertical-align: middle |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*, *:after, *:before { | |
-webkit-box-sizing: border-box; | |
-moz-box-sizing: border-box; | |
box-sizing: border-box; | |
*behavior: url('//../behaviors/box-sizing/boxsizing.php'); | |
} | |
*, *:after, *:before { | |
-webkit-box-sizing: border-box; | |
-moz-box-sizing: border-box; | |
box-sizing: border-box; | |
*behavior: url('//../behaviors/box-sizing/boxsizing.php'); | |
} | |
*, *:after, *:before { | |
-webkit-box-sizing: border-box; | |
-moz-box-sizing: border-box; | |
box-sizing: border-box; | |
*behavior: url('//../behaviors/box-sizing/boxsizing.php'); | |
} | |
img, video { | |
max-width: 100%; | |
height: auto; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment