1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-12 08:05:18 +01:00
blog/_src/_assets/styl/icons.styl

35 lines
728 B
Stylus
Raw Normal View History

2014-07-12 02:00:18 +02:00
//
// kremalicious3
// --------------
// Icons
//
2015-06-08 19:40:53 +02:00
svg
&.icon
2015-06-08 21:22:09 +02:00
height: 20px
width: 20px
2015-06-08 19:40:53 +02:00
display: inline-block
2015-06-08 21:22:09 +02:00
fill: $text-color-light
2014-07-12 02:00:18 +02:00
vertical-align: baseline
2015-06-08 21:22:09 +02:00
transition: all .2s ease-in-out
2014-07-12 02:00:18 +02:00
2015-06-08 19:40:53 +02:00
.btn &
height: 18px
width: 18px
2015-06-08 21:22:09 +02:00
margin: 4px 4px -3px 4px
2014-07-12 02:00:18 +02:00
2015-06-08 19:40:53 +02:00
// Fix jQuery bug: http://bugs.jquery.com/ticket/11352
use
pointer-events: none
2015-06-09 22:56:01 +02:00
//
// some helper classes for old content
//
// .btn.icon-download
// &:before
// content: ""
// width: 20px
// height: 20px
// display: inline-block
// background: url('/assets/img/entypo-arrow-with-circle-down.svg') no-repeat center center