Sha256: 114993282db1b7c9ef23c836c52c9ecc3294d06a6281fae836c064122fff3538
Contents?: true
Size: 1.25 KB
Versions: 28
Compression:
Stored size: 1.25 KB
Contents
@mixin font-size($sizeValue: 1.6) { font-size: ($sizeValue * 10) + px; font-size: $sizeValue + rem; } @mixin font-face($font-family, $file-path, $weight: normal, $style: normal, $asset-pipeline: false ) { @font-face { font-family: $font-family; font-weight: $weight; font-style: $style; src: url(font-path('#{$spina-assets-path}/#{$file-path}.eot')); src: url(font-path('#{$spina-assets-path}/#{$file-path}.eot?#iefix')) format('embedded-opentype'), url(font-path('#{$spina-assets-path}/#{$file-path}.woff')) format('woff'), url(font-path('#{$spina-assets-path}/#{$file-path}.ttf')) format('truetype'), url(font-path('#{$spina-assets-path}/#{$file-path}.svg##{$font-family}')) format('svg'); } } @mixin retina-image($filename, $background-size, $extension: png, $retina-filename: null, $retina-suffix: "@2x", $asset-pipeline: false) { background-image: image-url("#{$filename}.#{$extension}"); @include hidpi { @if $retina-filename { background-image: asset-url("#{$retina-filename}.#{$extension}", image); } @else { background-image: asset-url("#{$filename}#{$retina-suffix}.#{$extension}", image); } background-size: $background-size; } }
Version data entries
28 entries across 28 versions & 1 rubygems