Skip to content
This repository has been archived by the owner on Oct 16, 2018. It is now read-only.
/ cabin.sass Public archive

Some common Sass helpers we use across projects.

Notifications You must be signed in to change notification settings

cabin/cabin.sass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

cabin.sass

Some common Sass helpers we use across projects.

Install via bower:

% bower install --save https://github.com/cabin/cabin.sass.git

cabin-defaults($selector: null)

Include this mixin at the top level to apply baseline house styles. To limit its effects to a wrapper element, pass a selector argument.

prevent-tap-highlight

Hide Mobile Safari's background flash on tap.

reduce-font-dilation($value: true)

Switch from subpixel antialiasing to greyscale, which reduces artificially- inflated font weight on Mac OS X. Particularly useful with light-on-dark text or with @font-faced web fonts. See http://lists.w3.org/Archives/Public/www-style/2012Oct/0109.html.

voffset($height, $offset: null)

Elements with all-uppercase text appear off-center visually due to unused descender space. This allows for shifting them down a bit. If called with only one argument, it is used as $offset (despite the parameter order here).

About

Some common Sass helpers we use across projects.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages