Browse code

Created repository.

DoubleBastionAdmin authored on 02/03/2022 00:26:46
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,33 @@
1
+<section id="fixed-width">
2
+  <h2 class="page-header">
3
+    Fixed Width Icons
4
+    <div class="pull-right text-default margin-top padding-top-sm hidden-xs">
5
+      <a href="https://github.com/FortAwesome/Font-Awesome/blob/{{ site.fontawesome.doc_blob }}/less/fixed-width.less" class="text-muted padding-right">View LESS</a>
6
+      <a href="https://github.com/FortAwesome/Font-Awesome/blob/{{ site.fontawesome.doc_blob }}/scss/_fixed-width.scss" class="text-muted">View SASS</a>
7
+    </div>
8
+  </h2>
9
+  <div class="row">
10
+    <div class="col-md-3 col-sm-4">
11
+      <div class="list-group">
12
+        <a class="list-group-item" href="#"><i class="fa fa-home fa-fw" aria-hidden="true"></i>&nbsp; Home</a>
13
+        <a class="list-group-item" href="#"><i class="fa fa-book fa-fw" aria-hidden="true"></i>&nbsp; Library</a>
14
+        <a class="list-group-item" href="#"><i class="fa fa-pencil fa-fw" aria-hidden="true"></i>&nbsp; Applications</a>
15
+        <a class="list-group-item" href="#"><i class="fa fa-cog fa-fw" aria-hidden="true"></i>&nbsp; Settings</a>
16
+      </div>
17
+    </div>
18
+    <div class="col-md-9 col-sm-8">
19
+      <p>
20
+        Use <code>fa-fw</code> to set icons at a fixed width. Great to use when different icon widths throw off alignment.
21
+        Especially useful in things like nav lists &amp; list groups.
22
+      </p>
23
+{% highlight html %}
24
+<div class="list-group">
25
+  <a class="list-group-item" href="#"><i class="fa fa-home fa-fw" aria-hidden="true"></i>&nbsp; Home</a>
26
+  <a class="list-group-item" href="#"><i class="fa fa-book fa-fw" aria-hidden="true"></i>&nbsp; Library</a>
27
+  <a class="list-group-item" href="#"><i class="fa fa-pencil fa-fw" aria-hidden="true"></i>&nbsp; Applications</a>
28
+  <a class="list-group-item" href="#"><i class="fa fa-cog fa-fw" aria-hidden="true"></i>&nbsp; Settings</a>
29
+</div>
30
+{% endhighlight %}
31
+    </div>
32
+  </div>
33
+</section>