diff options
Diffstat (limited to 'snippets/Fork-Awesome-1.2.0/src/doc/_includes/examples/fixed-width.html')
-rw-r--r-- | snippets/Fork-Awesome-1.2.0/src/doc/_includes/examples/fixed-width.html | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/snippets/Fork-Awesome-1.2.0/src/doc/_includes/examples/fixed-width.html b/snippets/Fork-Awesome-1.2.0/src/doc/_includes/examples/fixed-width.html new file mode 100644 index 0000000..0ba0610 --- /dev/null +++ b/snippets/Fork-Awesome-1.2.0/src/doc/_includes/examples/fixed-width.html @@ -0,0 +1,33 @@ +<section id="fixed-width"> + <h2 class="page-header"> + Fixed Width Icons + <div class="pull-right text-default margin-top padding-top-sm hidden-xs"> + <a href="https://github.com/{{ site.forkawesome.github.org }}/{{ site.forkawesome.github.project }}/blob/{{ site.forkawesome.version }}/less/fixed-width.less" class="text-muted padding-right">View LESS</a> + <a href="https://github.com/{{ site.forkawesome.github.org }}/{{ site.forkawesome.github.project }}/blob/{{ site.forkawesome.version }}/scss/_fixed-width.scss" class="text-muted">View SASS</a> + </div> + </h2> + <div class="row"> + <div class="col-md-3 col-sm-4"> + <div class="list-group"> + <a class="list-group-item" href="#"><i class="fa fa-home fa-fw" aria-hidden="true"></i> Home</a> + <a class="list-group-item" href="#"><i class="fa fa-book fa-fw" aria-hidden="true"></i> Library</a> + <a class="list-group-item" href="#"><i class="fa fa-pencil fa-fw" aria-hidden="true"></i> Applications</a> + <a class="list-group-item" href="#"><i class="fa fa-cog fa-fw" aria-hidden="true"></i> Settings</a> + </div> + </div> + <div class="col-md-9 col-sm-8"> + <p> + Use <code>fa-fw</code> to set icons at a fixed width. Great to use when different icon widths throw off alignment. + Especially useful in things like nav lists & list groups. + </p> +{% highlight html %} +<div class="list-group"> + <a class="list-group-item" href="#"><i class="fa fa-home fa-fw" aria-hidden="true"></i> Home</a> + <a class="list-group-item" href="#"><i class="fa fa-book fa-fw" aria-hidden="true"></i> Library</a> + <a class="list-group-item" href="#"><i class="fa fa-pencil fa-fw" aria-hidden="true"></i> Applications</a> + <a class="list-group-item" href="#"><i class="fa fa-cog fa-fw" aria-hidden="true"></i> Settings</a> +</div> +{% endhighlight %} + </div> + </div> +</section> |