Sha256: 55c4d68138a4dbd2340c58f4257d6f1e6c03d43cf871b2beb3882696e562d80b

Contents?: true

Size: 525 Bytes

Versions: 4

Compression:

Stored size: 525 Bytes

Contents

$minSupportedWidth: 320px;
$maxSupportedWidth: 1280px;

$mobileWidth: 540px;
$tabWidth: 768px;
$desktopWidth: 1024px;

*,*:before,*:after {
	box-sizing: border-box;
}

img, embed, object, video {
	max-width: 100%;
}

//
// Fluid Typography
//
@mixin fluidType($min, $max ) {
	font-size: $min;

	@media screen and (min-width: $minSupportedWidth) {
		// 960 = 1280-320
		font-size: calc(#{$min} + #{($max - $min)/1px} * ((100vw - 320px) / 960));
	}

	@media screen and (min-width: $maxSupportedWidth) {
		font-size: $max;
	}
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
texture-0.4 _sass/_begin.scss
texture-0.3 _sass/_begin.scss
texture-0.2 _sass/_begin.scss
texture-0.1 _sass/_begin.scss