mirror of
https://github.com/FortAwesome/Font-Awesome.git
synced 2024-12-28 06:21:30 +08:00
Updated less and sass gem instructions according to fontawesome-less and fontawesome-sass READMEs
Fixes #3883
This commit is contained in:
parent
54a585f827
commit
b0c97305fd
@ -81,13 +81,19 @@ $ gem install font-awesome-less
|
|||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
</li>
|
</li>
|
||||||
</ol>
|
</ol>
|
||||||
|
<p>
|
||||||
|
If you use Rails, add this to your e.g. <code>application.css</code>, just before <code>*= require_self</code>:
|
||||||
|
</p>
|
||||||
|
{% highlight css %}
|
||||||
|
*= require font-awesome
|
||||||
|
{% endhighlight %}
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section id="ruby-gem-sass">
|
<section id="ruby-gem-sass">
|
||||||
<h2 class="page-header">EASY: <a href="https://github.com/FortAwesome/font-awesome-sass">SASS Ruby Gem</a></h2>
|
<h2 class="page-header">EASY: <a href="https://github.com/FortAwesome/font-awesome-sass">SASS Ruby Gem</a></h2>
|
||||||
<p>
|
<p>
|
||||||
Use the <a href="https://github.com/FortAwesome/font-awesome-sass">Official Font Awesome SASS Ruby Gem</a> to easily get Font
|
Use the <a href="https://github.com/FortAwesome/font-awesome-sass">Official Font Awesome SASS Ruby Gem</a> to easily get Font
|
||||||
Awesome SASS into a Rails project. Generously maintained by <a href="https://twitter.com/supercodepoet/">@supercodepoet</a>.
|
Awesome SASS into a Rails or Compass project. Generously maintained by <a href="https://twitter.com/supercodepoet/">@supercodepoet</a>.
|
||||||
</p>
|
</p>
|
||||||
<ol>
|
<ol>
|
||||||
<li>
|
<li>
|
||||||
@ -108,6 +114,12 @@ $ gem install font-awesome-sass
|
|||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
</li>
|
</li>
|
||||||
</ol>
|
</ol>
|
||||||
|
<p>
|
||||||
|
If you use Rails, add this to your e.g. <code>application.css</code>, just before <code>*= require_self</code>:
|
||||||
|
</p>
|
||||||
|
{% highlight css %}
|
||||||
|
*= require font-awesome
|
||||||
|
{% endhighlight %}
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section id="custom-less">
|
<section id="custom-less">
|
||||||
|
Loading…
Reference in New Issue
Block a user