update to fontawesome 4
[bootswatch] / bower_components / font-awesome / src / 3.2.1 / get-started / index.html
1 <!DOCTYPE html>
2 <!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]-->
3 <!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]-->
4 <!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]-->
5 <!--[if (gte IE 9)|!(IE)]><!-->
6 <html lang="en" xmlns="http://www.w3.org/1999/html"> <!--<![endif]-->
7 <head>
8   <!-- Basic Page Needs
9  ================================================== -->
10   <meta charset="utf-8" />
11   <title>Get Started with Font Awesome</title>
12   <meta name="description" content="Font Awesome, the iconic font designed for Bootstrap">
13   <meta name="author" content="Dave Gandy">
14   <meta name="viewport" content="width=device-width, initial-scale=1.0">
15   <!--<meta name="viewport" content="initial-scale=1; maximum-scale=1">-->
16
17   <!--[if lt IE 9]>
18   <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
19   <![endif]-->
20
21   <!-- CSS
22  ================================================== -->
23
24   <link rel="stylesheet" href="../assets/css/site.css">
25   <link rel="stylesheet" href="../assets/css/pygments.css">
26   <link rel="stylesheet" href="../assets/font-awesome/css/font-awesome.css">
27   <!--[if IE 7]>
28   <link rel="stylesheet" href="../assets/font-awesome/css/font-awesome-ie7.css">
29   <![endif]-->
30   <!-- Le fav and touch icons -->
31   <link rel="shortcut icon" href="../assets/ico/favicon.ico">
32
33   <script type="text/javascript" src="//use.typekit.net/wnc7ioh.js"></script>
34   <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
35
36   <script type="text/javascript">
37     var _gaq = _gaq || [];
38     _gaq.push(['_setAccount', 'UA-30136587-1']);
39     _gaq.push(['_trackPageview']);
40
41     (function() {
42       var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
43       ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
44       var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
45     })();
46   </script>
47 </head>
48 <body data-spy="scroll" data-target=".navbar">
49 <div class="wrapper"> <!-- necessary for sticky footer. wrap all content except footer -->
50   <div class="navbar navbar-inverse navbar-static-top hidden-print">
51   <div class="navbar-inner">
52     <div class="container">
53       <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
54         <span class="icon-bar"></span>
55         <span class="icon-bar"></span>
56         <span class="icon-bar"></span>
57       </a>
58
59       <a class="brand" href="../"><i class="icon-flag"></i> Font Awesome</a>
60       <div class="nav-collapse collapse">
61         <ul class="nav">
62           <li class="hidden-tablet "><a href="../">Home</a></li>
63           <li class="active"><a href="../get-started/">Get Started</a></li>
64           <li class="dropdown-split-left"><a href="../icons/">Icons</a></li>
65           <li class="dropdown dropdown-split-right hidden-phone">
66             <a href="#" class="dropdown-toggle" data-toggle="dropdown">
67               <i class="icon-caret-down"></i>
68             </a>
69             <ul class="dropdown-menu pull-right">
70               <li><a href="../icons/"><i class="icon-flag icon-fixed-width"></i>&nbsp; Icons</a></li>
71               <li class="divider"></li>
72               <li><a href="../icons/#new"><i class="icon-shield icon-fixed-width"></i>&nbsp; New Icons in 3.2.1</a></li>
73               <li><a href="../icons/#web-application"><i class="icon-camera-retro icon-fixed-width"></i>&nbsp; Web Application Icons</a></li>
74               <li><a href="../icons/#currency"><i class="icon-won icon-fixed-width"></i>&nbsp; Currency Icons</a></li>
75               <li><a href="../icons/#text-editor"><i class="icon-file-text-alt icon-fixed-width"></i>&nbsp; Text Editor Icons</a></li>
76               <li><a href="../icons/#directional"><i class="icon-hand-right icon-fixed-width"></i>&nbsp; Directional Icons</a></li>
77               <li><a href="../icons/#video-player"><i class="icon-play-sign icon-fixed-width"></i>&nbsp; Video Player Icons</a></li>
78               <li><a href="../icons/#brand"><i class="icon-github icon-fixed-width"></i>&nbsp; Brand Icons</a></li>
79               <li><a href="../icons/#medical"><i class="icon-medkit icon-fixed-width"></i>&nbsp; Medical Icons</a></li>
80             </ul>
81           </li>
82           <li class="dropdown-split-left"><a href="../examples/">Examples</a></li>
83           <li class="dropdown dropdown-split-right hidden-phone">
84             <a href="#" class="dropdown-toggle" data-toggle="dropdown">
85               <i class="icon-caret-down"></i>
86             </a>
87             <ul class="dropdown-menu pull-right">
88               <li><a href="../examples/">Examples</a></li>
89               <li class="divider"></li>
90               <li><a href="../examples/#new-styles">New Styles</a></li>
91               <li><a href="../examples/#inline-icons">Inline Icons</a></li>
92               <li><a href="../examples/#larger-icons">Larger Icons</a></li>
93               <li><a href="../examples/#bordered-pulled">Bordered & Pulled</a></li>
94               <li><a href="../examples/#buttons">Buttons</a></li>
95               <li><a href="../examples/#button-groups">Button Groups</a></li>
96               <li><a href="../examples/#button-dropdowns">Button Dropdowns</a></li>
97               <li><a href="../examples/#bulleted-lists">Bulleted Lists</a></li>
98               <li><a href="../examples/#navigation">Navigation</a></li>
99               <li><a href="../examples/#form-inputs">Form Inputs</a></li>
100               <li><a href="../examples/#animated-spinner">Animated Spinner</a></li>
101               <li><a href="../examples/#rotated-flipped">Rotated &amp; Flipped</a></li>
102               <li><a href="../examples/#stacked">Stacked</a></li>
103               <li><a href="../examples/#custom">Custom CSS</a></li>
104             </ul>
105           </li>
106           <li><a href="../whats-new/">
107           <span class="hidden-tablet">What's </span>New</a>
108           </li>
109           <li><a href="../community/">Community</a></li>
110           <li><a href="../license/">License</a></li>
111         </ul>
112         <ul class="nav pull-right">
113           <li><a href="http://blog.fontawesome.io">Blog</a></li>
114         </ul>
115       </div>
116     </div>
117   </div>
118 </div>
119
120
121   
122
123
124 <div class="jumbotron jumbotron-ad hidden-print">
125   <div class="container">
126     <h1><i class="icon-cogs icon-large"></i>&nbsp; Get Started</h1>
127     <p>Easy ways to get Font Awesome 3.2.1 onto your website</p>
128   </div>
129 </div>
130
131 <div id="social-buttons" class="hidden-print">
132   <div class="container">
133     <ul class="unstyled inline">
134       <li>
135         <iframe class="github-btn" src="http://ghbtns.com/github-btn.html?user=FortAwesome&repo=Font-Awesome&type=watch&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="100px" height="20px"></iframe>
136       </li>
137       <li>
138         <iframe class="github-btn" src="http://ghbtns.com/github-btn.html?user=FortAwesome&repo=Font-Awesome&type=fork&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="102px" height="20px"></iframe>
139       </li>
140       <li class="follow-btn">
141         <a href="https://twitter.com/fontawesome" class="twitter-follow-button" data-link-color="#0069D6" data-show-count="true">Follow @fontawesome</a>
142       </li>
143       <li class="tweet-btn hidden-phone">
144         <a href="https://twitter.com/share" class="twitter-share-button" data-url="http://fontawesome.io" data-text="Font Awesome, the iconic font designed for Bootstrap" data-counturl="http://fortawesome.github.com/Font-Awesome/" data-count="horizontal" data-via="fontawesome" data-related="davegandy:Creator of Font Awesome">Tweet</a>
145       </li>
146     </ul>
147   </div>
148 </div>
149
150
151 <div class="container">
152   
153 <section class="hidden-print">
154   <div class="row stripe-ad">
155     <div class="span8">
156       
157 <p class="lead">
158   Setting up Font Awesome can be as simple as adding two lines of code to your website, or you can be a pro and
159   customize the LESS yourself! Font Awesome even plays nicely with
160   <a href="http://getbootstrap.com">Bootstrap</a>!
161 </p>
162
163     </div>
164     <div class="span4">
165       <div id="carbonads-container"><div class="carbonad"><div id="azcarbon"></div><script type="text/javascript">var z = document.createElement("script"); z.type = "text/javascript"; z.async = true; z.src = "http://engine.carbonads.com/z/32291/azcarbon_2_1_0_HORIZ"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(z, s);</script></div></div>
166
167     </div>
168   </div>
169 </section>
170
171
172 <div id="bootstrapcdn">
173   <h2 class="page-header">EASIEST: <a href="http://www.bootstrapcdn.com/#tab_fontawesome">BootstrapCDN</a></h2>
174   <p>Add Font Awesome + Bootstrap into your website with two lines of code. You don't even have to download or install anything!</p>
175   <ol>
176     <li>
177       Paste the following code into the <code>&lt;head&gt;</code> section of your site's HTML.
178 <div class="highlight"><pre><code class="html"><span class="nt">&lt;link</span> <span class="na">href=</span><span class="s">&quot;//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.no-icons.min.css&quot;</span> <span class="na">rel=</span><span class="s">&quot;stylesheet&quot;</span><span class="nt">&gt;</span>
179 <span class="nt">&lt;link</span> <span class="na">href=</span><span class="s">&quot;//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css&quot;</span> <span class="na">rel=</span><span class="s">&quot;stylesheet&quot;</span><span class="nt">&gt;</span>
180 </code></pre></div>
181       <div class="alert alert-info margin-top">
182         <i class="icon-info-sign"></i> Want to use Font Awesome by itself without Bootstrap? Just don't include the first line.
183       </div>
184     </li>
185     <li>
186       Pat yourself on the back for your scalable-vector-icons-on-the-website
187       <a href="http://37signals.com/svn/posts/312-lingo-judo">judo solution</a> in two lines of code.
188     </li>
189     <li>
190       Check out the <a href="../examples/">examples</a> to start using Font Awesome!
191     </li>
192   </ol>
193 </div>
194
195 <section id="default-css">
196   <h2 class="page-header">EASY: Default CSS</h2>
197   <p>Use this method to get the default Font Awesome CSS with the default Bootstrap CSS.</p>
198   <ol>
199     <li>Copy the <code>font-awesome</code> directory into your project.</li>
200     <li>
201       In the <code>&lt;head&gt;</code> of your html, reference the location to your font-awesome.min.css.
202 <div class="highlight"><pre><code class="html"><span class="nt">&lt;link</span> <span class="na">rel=</span><span class="s">&quot;stylesheet&quot;</span> <span class="na">href=</span><span class="s">&quot;path/to/bootstrap/css/bootstrap.min.css&quot;</span><span class="nt">&gt;</span>
203 <span class="nt">&lt;link</span> <span class="na">rel=</span><span class="s">&quot;stylesheet&quot;</span> <span class="na">href=</span><span class="s">&quot;path/to/font-awesome/css/font-awesome.min.css&quot;</span><span class="nt">&gt;</span>
204 </code></pre></div>
205     </li>
206     <li>Check out the <a href="../examples/">examples</a> to start using Font Awesome!</li>
207   </ol>
208 </section>
209
210 <section id="custom-less">
211   <h2 class="page-header">PRO: Custom LESS</h2>
212   <p>Use this method to customize Font Awesome and Bootstrap 2.3.2 using LESS.</p>
213   <ol>
214     <li>Copy the <code>font-awesome</code> directory into your project.</li>
215     <li>Open your project's bootstrap/bootstrap.less and replace
216 <div class="highlight"><pre><code class="html">@import &quot;sprites.less&quot;;
217 </code></pre></div>
218       with
219 <div class="highlight"><pre><code class="html">@import &quot;path/to/font-awesome/less/font-awesome.less&quot;;
220 </code></pre></div>
221     </li>
222     <li>
223       Open your project's font-awesome/variables.less and edit the <code>@FontAwesomePath</code> variable to point to your font directory.
224 <div class="highlight"><pre><code class="html">@FontAwesomePath:   &quot;../font&quot;;
225 </code></pre></div>
226       <p class="alert alert-info"><i class="icon-info-sign"></i> The font path is relative from your compiled CSS directory.</p>
227     </li>
228     <li>Re-compile your LESS if using a static compiler. Otherwise, you should be good to go.</li>
229     <li>Check out the <a href="../examples/">examples</a> to start using Font Awesome!</li>
230   </ol>
231 </section>
232
233 <section id="not-using-bootstrap">
234   <h2 class="page-header">Not using Bootstrap?</h2>
235   <p>Font Awesome works just as well without Bootstrap.</p>
236   <ol>
237     <li>Copy the <code>font-awesome</code> directory into your project.</li>
238     <li>Follow the above directions and skip the Bootstrap parts.</li>
239     <li>Open your project's font-awesome.less or font-awesome.min.css and edit the font location to point it to your font directory (see above examples).</li>
240     <li>Check out the <a href="../examples/">examples</a> to start using Font Awesome!</li>
241   </ol>
242 </section>
243
244 <section class="need-ie7">
245   <h2 class="page-header">Need IE7 Support?</h2>
246   <p>Font Awesome supports IE7. If you need it, you have my condolences.</p>
247   <ol>
248     <li>Get Font Awesome working properly in a modern browser.</li>
249     <li>Copy font-awesome-ie7.min.css into your project.</li>
250     <li>
251       In the <code>&lt;head&gt;</code> of your html, reference the location to your font-awesome-ie7.min.css.
252 <div class="highlight"><pre><code class="html"><span class="nt">&lt;link</span> <span class="na">rel=</span><span class="s">&quot;stylesheet&quot;</span> <span class="na">href=</span><span class="s">&quot;path/to/bootstrap/css/bootstrap.min.css&quot;</span><span class="nt">&gt;</span>
253 <span class="nt">&lt;link</span> <span class="na">rel=</span><span class="s">&quot;stylesheet&quot;</span> <span class="na">href=</span><span class="s">&quot;path/to/font-awesome/css/font-awesome.min.css&quot;</span><span class="nt">&gt;</span>
254 <span class="c">&lt;!--[if IE 7]&gt;</span>
255 <span class="c">  &lt;link rel=&quot;stylesheet&quot; href=&quot;path/to/font-awesome/css/font-awesome-ie7.min.css&quot;&gt;</span>
256 <span class="c">&lt;![endif]--&gt;</span>
257 </code></pre></div>
258     </li>
259     <li>Go complain to whoever decided your project needs IE7 support.</li>
260   </ol>
261 </section>
262
263 </div>
264
265   <div class="push"><!-- necessary for sticky footer --></div>
266 </div>
267 <footer class="footer hidden-print">
268   <div class="container text-center">
269     <div>
270       <i class="icon-flag"></i> Font Awesome 3.2.1
271       <span class="hidden-phone">&middot;</span><br class="visible-phone">
272       Created and Maintained by <a href="http://twitter.com/davegandy">Dave Gandy</a>
273     </div>
274     <div>
275       Font Awesome licensed under <a href="http://scripts.sil.org/OFL">SIL OFL 1.1</a>
276       <span class="hidden-phone">&middot;</span><br class="visible-phone">
277       Code licensed under <a href="http://opensource.org/licenses/mit-license.html">MIT License</a>
278       <span class="hidden-phone hidden-tablet">&middot;</span><br class="visible-phone visible-tablet">
279       Documentation licensed under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>
280     </div>
281     <div>
282       Thanks to <a href="http://maxcdn.com"><i class="icon-maxcdn"></i> MaxCDN</a> for providing the excellent <a href="http://www.bootstrapcdn.com/#tab_fontawesome">BootstrapCDN for Font Awesome</a>
283     </div>
284     <div class="project">
285       <a href="https://github.com/FortAwesome/Font-Awesome">GitHub Project</a> &middot;
286       <a href="https://github.com/FortAwesome/Font-Awesome/issues">Issues</a>
287     </div>
288   </div>
289 </footer>
290
291
292 <script src="http://platform.twitter.com/widgets.js"></script>
293 <script src="../assets/js/jquery-1.7.1.min.js"></script>
294 <script src="../assets/js/ZeroClipboard-1.1.7.min.js"></script>
295 <script src="../assets/js/bootstrap-2.3.1.min.js"></script>
296 <script src="../assets/js/site.js"></script>
297
298 </body>
299 </html>