From aa4ebd8ee7a2530a413c6cb58bf0b46c34d215b6 Mon Sep 17 00:00:00 2001 From: Brian McAllister Date: Sun, 17 Feb 2013 18:17:14 -0500 Subject: [PATCH] Move pseudo element styles into main styles. --- sass/font-awesome.scss | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/sass/font-awesome.scss b/sass/font-awesome.scss index adbc4753e..57c4fbdd3 100644 --- a/sass/font-awesome.scss +++ b/sass/font-awesome.scss @@ -125,6 +125,13 @@ $experimental-support-for-webkit: true !default; a & { display: inline-block; } + + &:before, + &:before { + text-decoration: inherit; + display: inline-block; + speak: none; + } } /* @@ -149,12 +156,7 @@ $experimental-support-for-webkit: true !default; } -[class^="icon-"]:before, -[class*=" icon-"]:before { - text-decoration: inherit; - display: inline-block; - speak: none; -} + /* makes the font 33% larger relative to the icon container */ .icon-large:before {