Permalink
Browse files

add social foundicons assets

  • Loading branch information...
1 parent 476a8b0 commit c733cbbbefde89dd68ea4f5b01a5f6f36377cb9c Jean-Philippe Boily committed Sep 29, 2012
@@ -6,6 +6,7 @@
*= require monologue/blog/skeleton/base
*= require monologue/blog/skeleton/skeleton
*= require monologue/blog/skeleton/layout
+ *= require monologue/foundation_icons/social_foundicons
*= require_tree .
*= require monologue/blog/fonts
*= require monologue/blog/custom
View
@@ -8,5 +8,9 @@ class Engine < Rails::Engine
config.generators.stylesheets false
config.generators.fixture_replacement :factory_girl
config.generators.integration_tool :rspec
+
+ initializer :assets do |config|
+ Rails.application.config.assets.paths << Rails.root.join('vendor', 'assets', 'fonts')
+ end
end
end
@@ -0,0 +1,15 @@
+<?xml version="1.0" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd" > <svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%">
+<defs >
+<font id="socialfoundicons" horiz-adv-x="933" ><font-face
+ font-family="Social Foundicons"
+ units-per-em="1000"
+ panose-1="0 0 0 0 0 0 0 0 0 0"
+ ascent="1000"
+ descent="0"
+ alphabetic="0" />
+<missing-glyph horiz-adv-x="250" />
+<glyph unicode=" " glyph-name="space" horiz-adv-x="250" />
+<glyph unicode="~" glyph-name="asciitilde" horiz-adv-x="1000" />
+</font>
+</defs>
+</svg>
@@ -0,0 +1,148 @@
+/* font-face */
+@font-face {
+ font-family: "SocialFoundicons";
+ src: url(<%= asset_path("monologue/foundation_icons/social_foundicons.eot") %>);
+ src: url(<%= asset_path("monologue/foundation_icons/social_foundicons.eot?#iefix")%>) format("embedded-opentype"), url(<%= asset_path("monologue/foundation_icons/social_foundicons.woff")%>) format("woff"), url(<%= asset_path("monologue/foundation_icons/social_foundicons.ttf")%>) format("truetype"), url(<%= asset_path("monologue/foundation_icons/social_foundicons.svg#SocialFoundicons")%>) format("svg");
+ font-weight: normal;
+ font-style: normal;
+}
+
+/* global foundicon styles */
+[class*="foundicon-"] {
+ display: inline;
+ width: auto;
+ height: auto;
+ line-height: inherit;
+ vertical-align: baseline;
+ background-image: none;
+ background-position: 0 0;
+ background-repeat: repeat;
+}
+
+[class*="foundicon-"]:before {
+ font-family: "SocialFoundicons";
+ font-weight: normal;
+ font-style: normal;
+ text-decoration: inherit;
+}
+
+/* icons */
+.foundicon-thumb-up:before {
+ content: "\f000";
+}
+
+.foundicon-thumb-down:before {
+ content: "\f001";
+}
+
+.foundicon-rss:before {
+ content: "\f002";
+}
+
+.foundicon-facebook:before {
+ content: "\f003";
+}
+
+.foundicon-twitter:before {
+ content: "\f004";
+}
+
+.foundicon-pinterest:before {
+ content: "\f005";
+}
+
+.foundicon-github:before {
+ content: "\f006";
+}
+
+.foundicon-path:before {
+ content: "\f007";
+}
+
+.foundicon-linkedin:before {
+ content: "\f008";
+}
+
+.foundicon-dribbble:before {
+ content: "\f009";
+}
+
+.foundicon-stumble-upon:before {
+ content: "\f00a";
+}
+
+.foundicon-behance:before {
+ content: "\f00b";
+}
+
+.foundicon-reddit:before {
+ content: "\f00c";
+}
+
+.foundicon-google-plus:before {
+ content: "\f00d";
+}
+
+.foundicon-youtube:before {
+ content: "\f00e";
+}
+
+.foundicon-vimeo:before {
+ content: "\f00f";
+}
+
+.foundicon-flickr:before {
+ content: "\f010";
+}
+
+.foundicon-slideshare:before {
+ content: "\f011";
+}
+
+.foundicon-picassa:before {
+ content: "\f012";
+}
+
+.foundicon-skype:before {
+ content: "\f013";
+}
+
+.foundicon-steam:before {
+ content: "\f014";
+}
+
+.foundicon-instagram:before {
+ content: "\f015";
+}
+
+.foundicon-foursquare:before {
+ content: "\f016";
+}
+
+.foundicon-delicious:before {
+ content: "\f017";
+}
+
+.foundicon-chat:before {
+ content: "\f018";
+}
+
+.foundicon-torso:before {
+ content: "\f019";
+}
+
+.foundicon-tumblr:before {
+ content: "\f01a";
+}
+
+.foundicon-video-chat:before {
+ content: "\f01b";
+}
+
+.foundicon-digg:before {
+ content: "\f01c";
+}
+
+.foundicon-wordpress:before {
+ content: "\f01d";
+}

0 comments on commit c733cbb

Please sign in to comment.