bulma/sass/elements/icon.sass

25 lines
376 B
Sass
Raw Normal View History

2016-10-30 12:20:51 +00:00
.icon
2017-03-12 14:13:08 +00:00
align-items: center
display: inline-flex
justify-content: center
height: 1.5rem
width: 1.5rem
2016-10-30 12:20:51 +00:00
.fa
2017-03-12 14:13:08 +00:00
font-size: 21px
2016-10-30 12:20:51 +00:00
// Sizes
&.is-small
2017-03-12 14:13:08 +00:00
height: 1rem
width: 1rem
.fa
font-size: 14px
2016-10-30 12:20:51 +00:00
&.is-medium
2017-03-12 14:13:08 +00:00
height: 2rem
width: 2rem
.fa
font-size: 28px
2016-10-30 12:20:51 +00:00
&.is-large
2017-03-12 14:13:08 +00:00
height: 3rem
width: 3rem
.fa
font-size: 42px