Difference between revisions of "SUNScholar/Theme/Fonts"
Jump to navigation
Jump to search
m (→References) |
m (→References) |
||
| Line 31: | Line 31: | ||
*http://css-tricks.com/snippets/css/using-font-face | *http://css-tricks.com/snippets/css/using-font-face | ||
*http://www.fontsquirrel.com/tools/webfont-generator | *http://www.fontsquirrel.com/tools/webfont-generator | ||
| + | *http://www.font-face.com | ||
Revision as of 13:50, 19 August 2014
Back to Theme
Customisation
- Created a fonts folder in the Mirage 1 theme folder.
- Uploaded Ubuntu fonts to the font folder created above.
- Added the following to the Mirage 1 reset.css file.
@font-face {
font-family: 'ubuntu-r';
src: url('../../fonts/ubuntu-r-webfont.eot');
src: url('../../fonts/ubuntu-r-webfont.eot?#iefix') format('embedded-opentype'),
url('../../fonts/ubuntu-r-webfont.woff') format('woff'),
url('../../fonts/ubuntu-r-webfont.ttf') format('truetype'),
url('../../fonts/ubuntu-r-webfont.svg#ubunturegular') format('svg');
}
@font-face {
font-family: 'ubuntu-b';
src: url('../../fonts/ubuntu-b-webfont.eot');
src: url('../../fonts/ubuntu-b-webfont.eot?#iefix') format('embedded-opentype'),
url('../../fonts/ubuntu-b-webfont.woff') format('woff'),
url('../../fonts/ubuntu-b-webfont.ttf') format('truetype'),
url('../../fonts/ubuntu-b-webfont.svg#ubuntubold') format('svg');
}