Created
March 2, 2018 20:59
-
-
Save marisqaporter/b2c30dbfe8b237a86dcbbd5f7f44d9fd to your computer and use it in GitHub Desktop.
fonts-to-drupal
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: Neutra; | |
src: url('NeutraTextBook.otf'), | |
url('NeutraText-Book.woff') format('woff'), | |
url('NeutraText-Book.eot'), | |
url('NeutraText-Book.ttf') format('truetype'); | |
} | |
@font-face { | |
font-family: Neutra-Bold; | |
src: url('NeutraText-Bold.otf'), | |
url('NeutraText-Bold.woff') format('woff'), | |
url('NeutraText-Bold.eot'), | |
url('NeutraText-Bold.ttf') format('truetype'); | |
} | |
@font-face { | |
font-family: Neutra-Demi; | |
src: url('NeutraText-Demi.otf'), | |
url('NeutraText-Demi.woff') format('woff'), | |
url('NeutraText-Demi.eot'), | |
url('NeutraText-Demi.ttf') format('truetype'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add fonts to your css folder (you can move and retarget later). Put this in your html.css file. Use the font-family declaration to style your css.