Font Pillar: Aliases for CC license icons
Also comments about updating the font from fontello.com
This commit is contained in:
@@ -1,6 +1,71 @@
|
|||||||
/* So it's possible to override the path before importing font-pillar.sass */
|
/* SCROLL TO READ ABOUT UPDATING THIS FILE FROM FONTELLO */
|
||||||
|
|
||||||
|
/* Makes it possible to override the path before importing font-pillar.sass */
|
||||||
$pillar-font-path: "../font" !default
|
$pillar-font-path: "../font" !default
|
||||||
|
|
||||||
|
/* Font aliases */
|
||||||
|
.pi /* blank item with the right spacing */
|
||||||
|
&:after
|
||||||
|
content: ''
|
||||||
|
font-family: "pillar-font"
|
||||||
|
font-style: normal
|
||||||
|
font-weight: normal
|
||||||
|
speak: none
|
||||||
|
display: inline-block
|
||||||
|
text-decoration: inherit
|
||||||
|
width: 1em
|
||||||
|
margin-right: .2em
|
||||||
|
text-align: center
|
||||||
|
font-variant: normal
|
||||||
|
text-transform: none
|
||||||
|
line-height: 1em
|
||||||
|
margin-left: .2em
|
||||||
|
-webkit-font-smoothing: antialiased
|
||||||
|
-moz-osx-font-smoothing: grayscale
|
||||||
|
position: relative
|
||||||
|
|
||||||
|
&:before
|
||||||
|
position: relative
|
||||||
|
|
||||||
|
.pi-license-cc-zero:before
|
||||||
|
content: '\e85a'
|
||||||
|
.pi-license-cc-sa:before
|
||||||
|
content: '\e858'
|
||||||
|
.pi-license-cc-nd:before
|
||||||
|
content: '\e859'
|
||||||
|
.pi-license-cc-nc:before
|
||||||
|
content: '\e857'
|
||||||
|
|
||||||
|
.pi-license-cc-0
|
||||||
|
@extend .pi-license-cc-zero
|
||||||
|
position: relative
|
||||||
|
top: 1px
|
||||||
|
.pi-license-cc-by-sa
|
||||||
|
@extend .pi-license-cc-sa
|
||||||
|
.pi-license-cc-by-nd
|
||||||
|
@extend .pi-license-cc-nd
|
||||||
|
.pi-license-cc-by-nc
|
||||||
|
@extend .pi-license-cc-nc
|
||||||
|
|
||||||
|
.pi-license-cc-by-sa,
|
||||||
|
.pi-license-cc-by-nd,
|
||||||
|
.pi-license-cc-by-nc
|
||||||
|
@extend .pi
|
||||||
|
|
||||||
|
&:after
|
||||||
|
content: '\e807'
|
||||||
|
left: -27px
|
||||||
|
|
||||||
|
&:before
|
||||||
|
left: 27px
|
||||||
|
|
||||||
|
/*
|
||||||
|
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||||
|
* Here begins the CSS code generated by fontello.com, converted to *
|
||||||
|
* Sass and replaced the path with our variable $pillar-font-path. *
|
||||||
|
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||||
|
*/
|
||||||
|
|
||||||
@font-face
|
@font-face
|
||||||
font-family: 'pillar-font'
|
font-family: 'pillar-font'
|
||||||
src: url('#{$pillar-font-path}/pillar-font.woff?55726379') format("woff"), url('#{$pillar-font-path}/pillar-font.woff2?55726379') format("woff2")
|
src: url('#{$pillar-font-path}/pillar-font.woff?55726379') format("woff"), url('#{$pillar-font-path}/pillar-font.woff2?55726379') format("woff2")
|
||||||
|
Reference in New Issue
Block a user