mirror of
https://github.com/kremalicious/blog.git
synced 2024-11-11 23:55:16 +01:00
actually used icons setup
This commit is contained in:
parent
3fff97953a
commit
238993f949
@ -4,106 +4,21 @@
|
|||||||
// Icons
|
// Icons
|
||||||
//
|
//
|
||||||
|
|
||||||
|
svg
|
||||||
@font-face
|
&.icon
|
||||||
font-family: 'entypo'
|
height: 24px
|
||||||
src: url('../fonts/entypo.eot')
|
width: 24px
|
||||||
src: url('../fonts/entypo.eot?#iefix') format('embedded-opentype'), url('../fonts/entypo.woff') format('woff'), url('../fonts/entypo.ttf') format('truetype'), url('../fonts/entypo.svg#entypo') format('svg')
|
display: inline-block
|
||||||
font-weight: normal
|
fill: currentColor
|
||||||
font-style: normal
|
|
||||||
|
|
||||||
.icon:before
|
|
||||||
color: $text-color-light
|
|
||||||
font-size: 20px
|
|
||||||
font-family: 'entypo'
|
|
||||||
speak: none
|
|
||||||
font-style: normal
|
|
||||||
font-weight: normal
|
|
||||||
font-variant: normal
|
|
||||||
text-transform: none
|
|
||||||
line-height: 1
|
|
||||||
-webkit-font-smoothing: antialiased
|
|
||||||
-moz-osx-font-smoothing: grayscale
|
|
||||||
|
|
||||||
.btn&
|
|
||||||
font-size: 18px
|
|
||||||
margin-right: .3em
|
|
||||||
margin-left: -.3em
|
|
||||||
top: .15em
|
|
||||||
position: relative
|
|
||||||
vertical-align: baseline
|
vertical-align: baseline
|
||||||
color: inherit
|
|
||||||
|
|
||||||
.icon-twitter:before
|
.btn &
|
||||||
content: "\e600"
|
height: 18px
|
||||||
|
width: 18px
|
||||||
|
margin: 4px -4px 0 4px
|
||||||
|
filter: drop-shadow( 0 1px #eee )
|
||||||
|
float: right
|
||||||
|
|
||||||
.icon-rss:before
|
// Fix jQuery bug: http://bugs.jquery.com/ticket/11352
|
||||||
content: "\e603"
|
use
|
||||||
|
pointer-events: none
|
||||||
.icon-user:before,
|
|
||||||
.icon-personal:before
|
|
||||||
content: "\e604"
|
|
||||||
|
|
||||||
.icon-leaf:before
|
|
||||||
content: "\e605"
|
|
||||||
|
|
||||||
.icon-link:before
|
|
||||||
content: "\e606"
|
|
||||||
|
|
||||||
.icon-pictures:before,
|
|
||||||
.icon-photos:before
|
|
||||||
content: "\e607"
|
|
||||||
|
|
||||||
.icon-camera:before,
|
|
||||||
.icon-photography:before
|
|
||||||
content: "\e608"
|
|
||||||
|
|
||||||
.icon-arrow-down-circle:before,
|
|
||||||
.icon-download:before
|
|
||||||
content: "\e609"
|
|
||||||
|
|
||||||
.icon-forward:before
|
|
||||||
content: "\e60a"
|
|
||||||
|
|
||||||
.icon-heart:before
|
|
||||||
content: "\e60b"
|
|
||||||
|
|
||||||
.icon-info:before
|
|
||||||
content: "\e60c"
|
|
||||||
|
|
||||||
.icon-github:before
|
|
||||||
.icon-github-alt:before
|
|
||||||
content: "\e60e"
|
|
||||||
|
|
||||||
.icon-star:before,
|
|
||||||
.entry-content ul li:before
|
|
||||||
content: "\e60d"
|
|
||||||
|
|
||||||
.icon-search:before
|
|
||||||
content: "\e60f"
|
|
||||||
|
|
||||||
.icon-googleplus:before
|
|
||||||
content: "\e601"
|
|
||||||
|
|
||||||
.icon-facebook:before
|
|
||||||
content: "\e602"
|
|
||||||
|
|
||||||
.icon-list:before
|
|
||||||
content: "\e610"
|
|
||||||
|
|
||||||
.icon-tools:before,
|
|
||||||
.icon-design:before
|
|
||||||
content: "\e611"
|
|
||||||
|
|
||||||
.icon-arrow-down:before
|
|
||||||
content: "\e612"
|
|
||||||
|
|
||||||
.icon-arrow-right:before
|
|
||||||
content: "\e614"
|
|
||||||
|
|
||||||
.icon-arrow-left:before
|
|
||||||
content: "\e615"
|
|
||||||
|
|
||||||
.icon-gift:before,
|
|
||||||
.icon-goodies:before
|
|
||||||
content: "\e613"
|
|
||||||
|
@ -39,7 +39,9 @@ var icons = {
|
|||||||
src: src + '/_assets/img/entypo/',
|
src: src + '/_assets/img/entypo/',
|
||||||
dist: dist + '/assets/img/',
|
dist: dist + '/assets/img/',
|
||||||
prefix: 'entypo-',
|
prefix: 'entypo-',
|
||||||
icons: ['twitter', 'facebook', 'google+', 'magnifying-glass', 'menu']
|
icons: [
|
||||||
|
'twitter', 'facebook', 'google+', 'magnifying-glass', 'menu', 'rss', 'user', 'leaf', 'link', 'image', 'camera', 'arrow-with-circle-down', 'forward.svg', 'heart', 'info', 'github', 'star', 'tools', 'chevron-right', 'chevron-left', 'gift'
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user