sol2/sass/_theme_badge_fa.sass

69 lines
1.2 KiB
Sass
Raw Normal View History

2013-11-04 05:37:56 +08:00
// Slimmer version of FA for use on the badge_only.sass file.
2013-10-25 03:35:15 +08:00
+font-face(fontawesome-webfont, '#{$font-awesome-dir}fontawesome_webfont')
2014-02-01 00:58:37 +08:00
.fa:before
2013-10-25 03:35:15 +08:00
display: inline-block
font-family: fontawesome-webfont
font-style: normal
font-weight: normal
line-height: 1
text-decoration: inherit
+font-smooth
2014-02-01 00:58:37 +08:00
a .fa
2013-10-25 03:35:15 +08:00
display: inline-block
text-decoration: inherit
li
2014-02-01 00:58:37 +08:00
.fa
2013-10-25 03:35:15 +08:00
display: inline-block
2014-02-01 00:58:37 +08:00
.fa-large:before,
.fa-large:before
/* 1.5 increased font size for fa-large * 1.25 width
2013-10-25 03:35:15 +08:00
width: 1.5 * 1.25em
2014-02-01 00:58:37 +08:00
ul.fas
2013-10-25 03:35:15 +08:00
list-style-type: none
margin-left: 2em
text-indent: -0.8em
li
2014-02-01 00:58:37 +08:00
.fa
2013-10-25 03:35:15 +08:00
width: .8em
2014-02-01 00:58:37 +08:00
.fa-large:before,
.fa-large:before
/* 1.5 increased font size for fa-large * 1.25 width
2013-10-25 03:35:15 +08:00
vertical-align: baseline
// width: 1.5*1.25em
2014-02-01 00:58:37 +08:00
.fa-book:before
2013-10-25 03:35:15 +08:00
content: "\f02d"
.icon-book:before
content: "\f02d"
2014-02-01 00:58:37 +08:00
.fa-caret-down:before
2013-10-25 03:35:15 +08:00
content: "\f0d7"
.icon-caret-down:before
content: "\f0d7"
2014-02-01 00:58:37 +08:00
.fa-caret-up:before
2013-10-25 03:35:15 +08:00
content: "\f0d8"
.icon-caret-up:before
content: "\f0d8"
2014-02-01 00:58:37 +08:00
.fa-caret-left:before
2013-10-25 03:35:15 +08:00
content: "\f0d9"
.icon-caret-left:before
content: "\f0d9"
2014-02-01 00:58:37 +08:00
.fa-caret-right:before
2013-10-25 03:35:15 +08:00
content: "\f0da"
.icon-caret-right:before
content: "\f0da"