Skip to content

Commit e1e4d94

Browse files
committed
Add Fontello
1 parent 4f52a19 commit e1e4d94

14 files changed

Lines changed: 762 additions & 0 deletions

fontello/LICENSE.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
Font license info
2+
3+
4+
## Font Awesome
5+
6+
Copyright (C) 2012 by Dave Gandy
7+
8+
Author: Dave Gandy
9+
License: SIL ()
10+
Homepage: http://fortawesome.github.com/Font-Awesome/
11+
12+

fontello/README.txt

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
This webfont is generated by http://fontello.com open source project.
2+
3+
4+
================================================================================
5+
Please, note, that you should obey original font licences, used to make this
6+
webfont pack. Details available in LICENSE.txt file.
7+
8+
- Usually, it's enough to publish content of LICENSE.txt file somewhere on your
9+
site in "About" section.
10+
11+
- If your project is open-source, usually, it will be ok to make LICENSE.txt
12+
file publically available in your repository.
13+
14+
- Fonts, used in Fontello, don't require to make clickable links on your site.
15+
But any kind of additional authors crediting is welcome.
16+
================================================================================
17+
18+
19+
Comments on archive content
20+
---------------------------
21+
22+
- /font/* - fonts in different formats
23+
24+
- /css/* - different kinds of css, for all situations. Should be ok with
25+
twitter bootstrap. Also, you can skip <i> style and assign icon classes
26+
directly to text elements, if you don't mind about IE7.
27+
28+
- demo.html - demo file, to show your webfont content
29+
30+
- LICENSE.txt - license info about source fonts, used to build your one.
31+
32+
- config.json - keeps your settings. You can import it back to fontello anytime,
33+
to continue your work
34+
35+
36+
Why so many CSS files ?
37+
-----------------------
38+
39+
Because we like to fit all your needs :)
40+
41+
- basic file, <your_font_name>.css - is usually enougth, in contains @font-face
42+
and character codes definition
43+
44+
- *-ie7.css - if you need IE7 support, but still don't wish to put char codes
45+
directly into html
46+
47+
- *-codes.css and *-ie7-codes.css - if you like to use your own @font-face
48+
rules, but still wish to benefit of css generation. That can be very
49+
convenient for automated assets build systems. When you need to update font -
50+
no needs to manually edit files, just override old version with archive
51+
content. See fontello source codes for example.
52+
53+
- *-embedded.css - basic css file, but with embedded WOFF font, to avoid
54+
CORS issues in Firefox and IE9+, when fonts are hosted on the separate domain.
55+
We strongly recommend to resolve this issue by `Access-Control-Allow-Origin`
56+
server headers. But if you ok with dirty hack - this file is for you. Note,
57+
that data url moved to separate @font-face to avoid problems with <IE9, when
58+
string is too long.
59+
60+
- animate.css - use it to get ideas about spinner rotation animation.
61+
62+
63+
Attention for server setup
64+
--------------------------
65+
66+
You MUST setup server to reply with proper `mime-types` for font files. In other
67+
case, some browsers will fail to show fonts.
68+
69+
Usually, `apache` already has necessary settings, but `nginx` and other
70+
webservers should be tuned. Here is list of mime types for our file extentions:
71+
72+
- `application/vnd.ms-fontobject` - eot
73+
- `application/x-font-woff` - woff
74+
- `application/x-font-ttf` - ttf
75+
- `image/svg+xml` - svg

fontello/config.json

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
{
2+
"name": "osm",
3+
"css_prefix_text": "osm-",
4+
"css_use_suffix": false,
5+
"hinting": true,
6+
"units_per_em": 1000,
7+
"ascent": 850,
8+
"glyphs": [
9+
{
10+
"uid": "d7271d490b71df4311e32cdacae8b331",
11+
"css": "home",
12+
"code": 59393,
13+
"src": "fontawesome"
14+
},
15+
{
16+
"uid": "0ddd3e8201ccc7d41f7b7c9d27eca6c1",
17+
"css": "link",
18+
"code": 919552,
19+
"src": "fontawesome"
20+
},
21+
{
22+
"uid": "e15f0d620a7897e2035c18c80142f6d9",
23+
"css": "link-ext",
24+
"code": 919555,
25+
"src": "fontawesome"
26+
},
27+
{
28+
"uid": "5b0772e9484a1a11646793a82edd622a",
29+
"css": "pin",
30+
"code": 919553,
31+
"src": "fontawesome"
32+
},
33+
{
34+
"uid": "0d08dbb1dd648a43bdea81b7e6c9e036",
35+
"css": "location",
36+
"code": 919560,
37+
"src": "fontawesome"
38+
},
39+
{
40+
"uid": "921e3974e54ff9e8b7cd906a3dc74636",
41+
"css": "direction",
42+
"code": 919559,
43+
"src": "fontawesome"
44+
},
45+
{
46+
"uid": "e5d624264734620fa9f98d59e6dc941f",
47+
"css": "compass",
48+
"code": 919558,
49+
"src": "fontawesome"
50+
},
51+
{
52+
"uid": "e99461abfef3923546da8d745372c995",
53+
"css": "cog",
54+
"code": 59392,
55+
"src": "fontawesome"
56+
},
57+
{
58+
"uid": "98687378abd1faf8f6af97c254eb6cd6",
59+
"css": "cog-alt",
60+
"code": 919557,
61+
"src": "fontawesome"
62+
},
63+
{
64+
"uid": "0b2b66e526028a6972d51a6f10281b4b",
65+
"css": "zoom-in",
66+
"code": 919554,
67+
"src": "fontawesome"
68+
},
69+
{
70+
"uid": "d25d10efa900f529ad1d275657cfd30e",
71+
"css": "zoom-out",
72+
"code": 59395,
73+
"src": "fontawesome"
74+
},
75+
{
76+
"uid": "555ef8c86832e686fef85f7af2eb7cde",
77+
"css": "left-big",
78+
"code": 59394,
79+
"src": "fontawesome"
80+
},
81+
{
82+
"uid": "197375a3cea8cb90b02d06e4ddf1433d",
83+
"css": "globe",
84+
"code": 919556,
85+
"src": "fontawesome"
86+
}
87+
]
88+
}

fontello/css/animation.css

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
/*
2+
Animation example, for spinners
3+
*/
4+
.animate-spin {
5+
-moz-animation: spin 2s infinite linear;
6+
-o-animation: spin 2s infinite linear;
7+
-webkit-animation: spin 2s infinite linear;
8+
animation: spin 2s infinite linear;
9+
display: inline-block;
10+
}
11+
@-moz-keyframes spin {
12+
0% {
13+
-moz-transform: rotate(0deg);
14+
-o-transform: rotate(0deg);
15+
-webkit-transform: rotate(0deg);
16+
transform: rotate(0deg);
17+
}
18+
19+
100% {
20+
-moz-transform: rotate(359deg);
21+
-o-transform: rotate(359deg);
22+
-webkit-transform: rotate(359deg);
23+
transform: rotate(359deg);
24+
}
25+
}
26+
@-webkit-keyframes spin {
27+
0% {
28+
-moz-transform: rotate(0deg);
29+
-o-transform: rotate(0deg);
30+
-webkit-transform: rotate(0deg);
31+
transform: rotate(0deg);
32+
}
33+
34+
100% {
35+
-moz-transform: rotate(359deg);
36+
-o-transform: rotate(359deg);
37+
-webkit-transform: rotate(359deg);
38+
transform: rotate(359deg);
39+
}
40+
}
41+
@-o-keyframes spin {
42+
0% {
43+
-moz-transform: rotate(0deg);
44+
-o-transform: rotate(0deg);
45+
-webkit-transform: rotate(0deg);
46+
transform: rotate(0deg);
47+
}
48+
49+
100% {
50+
-moz-transform: rotate(359deg);
51+
-o-transform: rotate(359deg);
52+
-webkit-transform: rotate(359deg);
53+
transform: rotate(359deg);
54+
}
55+
}
56+
@-ms-keyframes spin {
57+
0% {
58+
-moz-transform: rotate(0deg);
59+
-o-transform: rotate(0deg);
60+
-webkit-transform: rotate(0deg);
61+
transform: rotate(0deg);
62+
}
63+
64+
100% {
65+
-moz-transform: rotate(359deg);
66+
-o-transform: rotate(359deg);
67+
-webkit-transform: rotate(359deg);
68+
transform: rotate(359deg);
69+
}
70+
}
71+
@keyframes spin {
72+
0% {
73+
-moz-transform: rotate(0deg);
74+
-o-transform: rotate(0deg);
75+
-webkit-transform: rotate(0deg);
76+
transform: rotate(0deg);
77+
}
78+
79+
100% {
80+
-moz-transform: rotate(359deg);
81+
-o-transform: rotate(359deg);
82+
-webkit-transform: rotate(359deg);
83+
transform: rotate(359deg);
84+
}
85+
}

fontello/css/osm-codes.css

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
@charset "UTF-8";
2+
3+
4+
.osm-home:before { content: '\e801'; } /* '' */
5+
.osm-globe:before { content: '󠠄'; } /* '\e0804' */
6+
.osm-link-ext:before { content: '󠠃'; } /* '\e0803' */
7+
.osm-pin:before { content: '󠠁'; } /* '\e0801' */
8+
.osm-location:before { content: '󠠈'; } /* '\e0808' */
9+
.osm-direction:before { content: '󠠇'; } /* '\e0807' */
10+
.osm-link:before { content: '󠠀'; } /* '\e0800' */
11+
.osm-cog:before { content: '\e800'; } /* '' */
12+
.osm-cog-alt:before { content: '󠠅'; } /* '\e0805' */
13+
.osm-zoom-in:before { content: '󠠂'; } /* '\e0802' */
14+
.osm-zoom-out:before { content: '\e803'; } /* '' */
15+
.osm-left-big:before { content: '\e802'; } /* '' */
16+
.osm-compass:before { content: '󠠆'; } /* '\e0806' */

fontello/css/osm-embedded.css

Lines changed: 69 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

fontello/css/osm-ie7-codes.css

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
2+
.osm-home { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe801;&nbsp;'); }
3+
.osm-globe { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe0804;&nbsp;'); }
4+
.osm-link-ext { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe0803;&nbsp;'); }
5+
.osm-pin { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe0801;&nbsp;'); }
6+
.osm-location { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe0808;&nbsp;'); }
7+
.osm-direction { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe0807;&nbsp;'); }
8+
.osm-link { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe0800;&nbsp;'); }
9+
.osm-cog { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe800;&nbsp;'); }
10+
.osm-cog-alt { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe0805;&nbsp;'); }
11+
.osm-zoom-in { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe0802;&nbsp;'); }
12+
.osm-zoom-out { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe803;&nbsp;'); }
13+
.osm-left-big { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe802;&nbsp;'); }
14+
.osm-compass { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe0806;&nbsp;'); }

fontello/css/osm-ie7.css

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
[class^="osm-"], [class*=" osm-"] {
2+
font-family: 'osm';
3+
font-style: normal;
4+
font-weight: normal;
5+
6+
/* fix buttons height */
7+
line-height: 1em;
8+
9+
/* you can be more comfortable with increased icons size */
10+
/* font-size: 120%; */
11+
}
12+
13+
.osm-home { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe801;&nbsp;'); }
14+
.osm-globe { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe0804;&nbsp;'); }
15+
.osm-link-ext { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe0803;&nbsp;'); }
16+
.osm-pin { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe0801;&nbsp;'); }
17+
.osm-location { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe0808;&nbsp;'); }
18+
.osm-direction { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe0807;&nbsp;'); }
19+
.osm-link { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe0800;&nbsp;'); }
20+
.osm-cog { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe800;&nbsp;'); }
21+
.osm-cog-alt { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe0805;&nbsp;'); }
22+
.osm-zoom-in { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe0802;&nbsp;'); }
23+
.osm-zoom-out { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe803;&nbsp;'); }
24+
.osm-left-big { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe802;&nbsp;'); }
25+
.osm-compass { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe0806;&nbsp;'); }

fontello/css/osm.css

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
@charset "UTF-8";
2+
3+
@font-face {
4+
font-family: 'osm';
5+
src: url('../font/osm.eot?87643405');
6+
src: url('../font/osm.eot?87643405#iefix') format('embedded-opentype'),
7+
url('../font/osm.woff?87643405') format('woff'),
8+
url('../font/osm.ttf?87643405') format('truetype'),
9+
url('../font/osm.svg?87643405#osm') format('svg');
10+
font-weight: normal;
11+
font-style: normal;
12+
}
13+
/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
14+
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
15+
/*
16+
@media screen and (-webkit-min-device-pixel-ratio:0) {
17+
@font-face {
18+
font-family: 'osm';
19+
src: url('../font/osm.svg?87643405#osm') format('svg');
20+
}
21+
}
22+
*/
23+
24+
[class^="osm-"]:before, [class*=" osm-"]:before {
25+
font-family: "osm";
26+
font-style: normal;
27+
font-weight: normal;
28+
speak: none;
29+
30+
display: inline-block;
31+
text-decoration: inherit;
32+
width: 1em;
33+
margin-right: .2em;
34+
text-align: center;
35+
/* opacity: .8; */
36+
37+
/* For safety - reset parent styles, that can break glyph codes*/
38+
font-variant: normal;
39+
text-transform: none;
40+
41+
/* fix buttons height, for twitter bootstrap */
42+
line-height: 1em;
43+
44+
/* Animation center compensation - margins should be symmetric */
45+
/* remove if not needed */
46+
margin-left: .2em;
47+
48+
/* you can be more comfortable with increased icons size */
49+
/* font-size: 120%; */
50+
51+
/* Uncomment for 3D effect */
52+
/* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
53+
}
54+
55+
.osm-home:before { content: '\e801'; } /* '' */
56+
.osm-globe:before { content: '󠠄'; } /* '\e0804' */
57+
.osm-link-ext:before { content: '󠠃'; } /* '\e0803' */
58+
.osm-pin:before { content: '󠠁'; } /* '\e0801' */
59+
.osm-location:before { content: '󠠈'; } /* '\e0808' */
60+
.osm-direction:before { content: '󠠇'; } /* '\e0807' */
61+
.osm-link:before { content: '󠠀'; } /* '\e0800' */
62+
.osm-cog:before { content: '\e800'; } /* '' */
63+
.osm-cog-alt:before { content: '󠠅'; } /* '\e0805' */
64+
.osm-zoom-in:before { content: '󠠂'; } /* '\e0802' */
65+
.osm-zoom-out:before { content: '\e803'; } /* '' */
66+
.osm-left-big:before { content: '\e802'; } /* '' */
67+
.osm-compass:before { content: '󠠆'; } /* '\e0806' */

0 commit comments

Comments
 (0)