diff --git a/css/font-awesome.css b/css/font-awesome.css index 6fca57aea..d4351ece2 100644 --- a/css/font-awesome.css +++ b/css/font-awesome.css @@ -48,14 +48,9 @@ line-height: 0.75em; vertical-align: -15%; } -/* increased font size for icon-lg */ -.fa-fixed-width { - width: 1.1428571428571428em; - padding-right: 0.2857142857142857em; - text-align: right; -} -.fa-fixed-width.fa-lg { - width: 1.4285714285714286em; +.fa-fw { + width: 1.2857142857142858em; + text-align: center; } .fa-ul { padding-left: 0; diff --git a/css/font-awesome.min.css b/css/font-awesome.min.css index 4bc4867ae..88c6e054b 100644 --- a/css/font-awesome.min.css +++ b/css/font-awesome.min.css @@ -1,6 +1,6 @@ @font-face{font-family:'FontAwesome';src:url('../fonts/FontAwesome.otf') format('opentype');font-weight:normal;font-style:normal}.fa{display:inline-block;font-family:FontAwesome;font-style:normal;font-weight:normal;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale} .fa-lg{font-size:1.3333333333333333em;line-height:.75em;vertical-align:-15%} -.fa-fixed-width{width:1.1428571428571428em;padding-right:.2857142857142857em;text-align:right}.fa-fixed-width.fa-lg{width:1.4285714285714286em} +.fa-fw{width:1.2857142857142858em;text-align:center} .fa-ul{padding-left:0;margin-left:2.142857142857143em;list-style-type:none}.fa-ul>li{position:relative} .fa-li{position:absolute;left:-2.142857142857143em;width:2.142857142857143em;top:.14285714285714285em;text-align:center}.fa-li.fa-lg{left:-1.8571428571428572em} .fa.hide{display:none} diff --git a/less/core.less b/less/core.less index ffa63ba30..1de234769 100644 --- a/less/core.less +++ b/less/core.less @@ -17,14 +17,10 @@ line-height: (3em / 4); vertical-align: -15%; } -/* increased font size for icon-lg */ -.@{fa-css-prefix}-fixed-width { - width: (16em / 14); - padding-right: (4em / 14); - text-align: right; - &.@{fa-css-prefix}-lg { - width: (20em / 14); - } + +.@{fa-css-prefix}-fw { + width: (18em / 14); + text-align: center; } diff --git a/src/_includes/examples/bootstrap.html b/src/_includes/examples/bootstrap.html index 2c8f4a468..f8ee71700 100644 --- a/src/_includes/examples/bootstrap.html +++ b/src/_includes/examples/bootstrap.html @@ -35,13 +35,13 @@
+ For use when variable width throws off alignment. Especially useful in things like nav lists. +
+{% highlight html %} + +{% endhighlight %} +Use Font Awesome icons in navigation to provide helpful visual cues.
{% highlight html %} {% endhighlight %}diff --git a/src/_includes/navbar.html b/src/_includes/navbar.html index e512ba5a8..29f18c922 100644 --- a/src/_includes/navbar.html +++ b/src/_includes/navbar.html @@ -26,17 +26,17 @@