Explorar el Código

Font Directory Relative

If fonts are placed in the library/fonts folder (as instructed on line 84-85),the font face locations needs relative to the css file.

Signed-off-by: Sang-Min Yoon <SangMinYoon@Sang-Mins-MacBook-Pro.local>
Sang-Min Yoon hace 12 años
padre
commit
dc801597b8
Se han modificado 1 ficheros con 5 adiciones y 5 borrados
  1. 5 5
      library/scss/_mixins.scss

+ 5 - 5
library/scss/_mixins.scss

@@ -90,11 +90,11 @@ $serif:             "Georgia", Cambria, Times New Roman, Times, serif;
 
 /*	@font-face {
     	font-family: 'Font Name';
-    	src: url('library/fonts/font-name.eot');
-    	src: url('library/fonts/font-name.eot?#iefix') format('embedded-opentype'),
-             url('library/fonts/font-name.woff') format('woff'),
-             url('library/fonts/font-name.ttf') format('truetype'),
-             url('library/fonts/font-name.svg#font-name') format('svg');
+    	src: url('../fonts/font-name.eot');
+    	src: url('../fonts/font-name.eot?#iefix') format('embedded-opentype'),
+             url('../fonts/font-name.woff') format('woff'),
+             url('../fonts/font-name.ttf') format('truetype'),
+             url('../fonts/font-name.svg#font-name') format('svg');
     	font-weight: normal;
     	font-style: normal;
 	}