Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ForkAwesome/Fork-Awesome.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Gandy <dave@davegandy.com>2012-05-23 17:10:16 +0400
committerDave Gandy <dave@davegandy.com>2012-05-23 17:10:16 +0400
commit1512812061516e26443bc6c3d62e7bb02cadbeaa (patch)
treeac392c41fa4ef00828a78d76b48e85dfbbc46e3d /less/font-awesome.less
parent143cf305d225ce274e13c9fe0a31f49f01942c85 (diff)
updating actual font, css, & less files
Diffstat (limited to 'less/font-awesome.less')
-rw-r--r--less/font-awesome.less32
1 files changed, 18 insertions, 14 deletions
diff --git a/less/font-awesome.less b/less/font-awesome.less
index a53dd4c25..7c932155d 100644
--- a/less/font-awesome.less
+++ b/less/font-awesome.less
@@ -28,12 +28,11 @@
src: url('../font/fontawesome-webfont.eot?#iefix') format('embedded-opentype'),
url('../font/fontawesome-webfont.woff') format('woff'),
url('../font/fontawesome-webfont.ttf') format('truetype'),
- url('../font/fontawesome-webfont.svg#FontAwesomeRegular') format('svg');
+ url('../font/fontawesome-webfont.svg#FontAwesome') format('svg');
font-weight: normal;
font-style: normal;
}
-
/* Font Awesome styles
------------------------------------------------------- */
[class^="icon-"]:before,
@@ -72,24 +71,29 @@ li {
width: 1.25em;
text-align: center;
}
- .icon-large[class^="icon-"],
- .icon-large[class*=" icon-"] {
- /* 1.5 increased font size for icon-large * 1.25 width */
+ .icon-large:before,
+ .icon-large:before {
+ /* 1.5 increased font size for icon-large * 1.25 width */
width: 1.5*1.25em;
}
}
-li[class^="icon-"],
-li[class*=" icon-"] {
- margin-left: 0;
+ul.icons {
list-style-type: none;
+ margin-left: 2em;
+ text-indent: -.8em;
- &:before {
- text-indent: -2em;
- text-align: center;
- }
- &.icon-large:before {
- text-indent: -4/3em;
+ li {
+ [class^="icon-"],
+ [class*=" icon-"] {
+ width: .8em;
+ }
+ .icon-large:before,
+ .icon-large:before {
+ /* 1.5 increased font size for icon-large * 1.25 width */
+ vertical-align: initial;
+// width: 1.5*1.25em;
+ }
}
}