Sha256: 8e16ab5c0a4ca8b566ce88436e2f3229ecfc1c482e4e560b8d8180f86f685fc3
Contents?: true
Size: 1.49 KB
Versions: 18
Compression:
Stored size: 1.49 KB
Contents
@mixin no_wrap { text-overflow: ellipsis; white-space: nowrap; overflow: hidden; } @mixin antialiased_text { // make icons and fonts thinner in webkit (white icons on dark background) text-shadow: 0 0 0 rgba(0,0,0,.01); -webkit-font-smoothing: antialiased; text-rendering: optimizelegibility; } @mixin inset_font($white: 90, $black: 50) { text-shadow: unquote( "1px 1px 0px rgba(255,255,255,.#{$white}), 0px 1px 0px rgba(255,255,255,.#{$white}), 1px 0px 0px rgba(255,255,255,.#{$white}), -1px -1px 0px rgba(0,0,0,.#{$black}), 0px -1px 0px rgba(0,0,0,.#{$black}), -1px 0px 0px rgba(0,0,0,.#{$black})" ); } @mixin colored_inset_font($white: rgba(255,255,255,90), $black: rgba(0,0,0,.50) ) { text-shadow: unquote( "1px 1px 0 #{$white}, 0px 1px 0 #{$white}, 1px 0px 0 #{$white}, -1px -1px 0 #{$black}, 0px -1px 0 #{$black}, -1px 0px 0 #{$black}" ); } @mixin text_outline( $color: #000, $blur: 1px ) { text-shadow: -1px 1px #{$blur} #{$color}, 0px 1px #{$blur} #{$color}, 1px 0px #{$blur} #{$color}, 1px 1px #{$blur} #{$color}, 1px -1px #{$blur} #{$color}, 0px -1px #{$blur} #{$color}, -1px 0px #{$blur} #{$color}, 1px -1px #{$blur} #{$color}; } @mixin text_tags { h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, p, span, a { @content; } } @mixin text-tags { h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, p, span, a { @content; } }
Version data entries
18 entries across 18 versions & 1 rubygems