Skip to content

Instantly share code, notes, and snippets.

@lazydaisy
Created February 6, 2014 18:18
Show Gist options
  • Save lazydaisy/8849628 to your computer and use it in GitHub Desktop.
Save lazydaisy/8849628 to your computer and use it in GitHub Desktop.
@charset 'UTF-8';
@font-face {
font-family: 'FontAwesome';
font-weight: normal;
font-style: normal;
src: url([[font:theme|FontAwesome.eot]]);
src: url([[font:theme|fontawesome-webfont.eot]]) format('embedded-opentype'),
url([[font:theme|fontawesome-webfont.woff]]) format('woff'),
url([[font:theme|fontawesome-webfont.ttf]]) format('truetype'),
url([[font:theme|fontawesome-webfont.svg]]) format('svg');
}
@lazydaisy
Copy link
Author

This is the CSS markup needed for fonts to be added to a theme in Moodle 2.6 onwards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment