Created
July 14, 2014 10:36
-
-
Save davidmottershead/eca8ee6b95d677419764 to your computer and use it in GitHub Desktop.
Add icons to download links in WordPress - http://www.davidmottershead.com/articles/icons-download-links-wordpress/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@font-face { | |
font-family: 'icomoon'; | |
src:url('fonts/icomoon.eot?68uve9'); | |
src:url('fonts/icomoon.eot?#iefix68uve9') format('embedded-opentype'), | |
url('fonts/icomoon.woff?68uve9') format('woff'), | |
url('fonts/icomoon.ttf?68uve9') format('truetype'), | |
url('fonts/icomoon.svg?68uve9#icomoon') format('svg'); | |
font-weight: normal; | |
font-style: normal; | |
} | |
[class^="icon-"], [class*=" icon-"] { | |
font-family: 'icomoon'; | |
speak: none; | |
font-style: normal; | |
font-weight: normal; | |
font-variant: normal; | |
text-transform: none; | |
line-height: 1; | |
/* Better Font Rendering =========== */ | |
-webkit-font-smoothing: antialiased; | |
-moz-osx-font-smoothing: grayscale; | |
} | |
.icon-libreoffice:before { | |
content: "\e600"; | |
} | |
.icon-file-pdf:before { | |
content: "\e601"; | |
} | |
.icon-file-openoffice:before { | |
content: "\e602"; | |
} | |
.icon-file-word:before { | |
content: "\e603"; | |
} | |
.icon-file-excel:before { | |
content: "\e604"; | |
} | |
.icon-file-zip:before { | |
content: "\e605"; | |
} | |
.icon-file-powerpoint:before { | |
content: "\e606"; | |
} | |
.icon-file-xml:before { | |
content: "\e607"; | |
} | |
.icon-file-css:before { | |
content: "\e608"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment