Sha256: aaf79ad7a5c4278107314ae8bcd853baad83ea95f9a7a3d899523589a0f37e77

Contents?: true

Size: 556 Bytes

Versions: 1

Compression:

Stored size: 556 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%;
}

main {
	overflow-x: hidden;
}

//
// 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

1 entries across 1 versions & 1 rubygems

Version Path
texture-0.5 _sass/_begin.scss