-
Notifications
You must be signed in to change notification settings - Fork 6
/
webicons.scss
19 lines (15 loc) · 2.11 KB
/
webicons.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* Webicons by Adam Fairhead at Fairhead Creative http://fairheadcreative.com */
.webicon { display: inline-block; background-size: 100%; width: 30px; height: 30px; text-indent: -999em; text-align: left; -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.5); -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.5); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.5); -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; margin-bottom: 5px; }
.webicon:hover { margin: -1px 0 1px; -moz-box-shadow: 0 2px 0 rgba(0, 0, 0, 0.25); -webkit-box-shadow: 0 2px 0 rgba(0, 0, 0, 0.25); box-shadow: 0 2px 0 rgba(0, 0, 0, 0.25); }
.webicon.small { width: 20px; height: 20px; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; }
.webicon.large { width: 48px; height: 48px; -moz-border-radius: 6px; -webkit-border-radius: 6px; border-radius: 6px; }
// Include or remove the icons you want to use on your site from this list.
$webicons-icons: f500px aboutme adn android apple behance bitbucket blogger branch coderwall creativecloud deviantart dribbble dropbox evernote fairheadcreative facebook flickr foursquare git github goodreads google googleplay googleplus hangouts html5 icloud indiegogo instagram instapaper kickstarter klout lastfm linkedin mac mail medium mixi msn openid picasa pinterest pocketapp potluck quora orkut mercurial rdio reddit renren rss skitch skype soundcloud spotify stackoverflow stumbleupon svn svtle tent tripadvisor tumblr twitter viadeo vimeo vine weibo windows wordpress xing yahoo yelp youtube youversion zerply;
// Specify the path to the webicons directory here. Include trailing slash.
$webicons-url: "webicons/" !default;
@each $webicons-icon in $webicons-icons {
.no-svg .webicon.#{$webicons-icon} { background: url("#{$webicons-url}webicon-#{$webicons-icon}-m.png"); }
.no-svg .webicon.#{$webicons-icon}.large { background: url("#{$webicons-url}webicon-#{$webicons-icon}.png"); }
.no-svg .webicon.#{$webicons-icon}.small { background: url("#{$webicons-url}webicon-#{$webicons-icon}-s.png"); }
.svg .webicon.#{$webicons-icon} { background: url("#{$webicons-url}webicon-#{$webicons-icon}.svg"); }
}