Ver Mensaje Individual
  #1 (permalink)  
Antiguo 06/04/2013, 11:57
Avatar de nanotime
nanotime
 
Fecha de Ingreso: noviembre-2011
Ubicación: Cd. Guayana
Mensajes: 145
Antigüedad: 12 años, 6 meses
Puntos: 6
Exclamación Problemas al aplicar estilos y cargar fuentes

Estoy experimentando con un generador de sitios estáticos y hace rato ya que estoy tieniendo un par de problemas y dudo que sean por el generador como tal.

En fin, para empezar, no hay forma ni manera de que cargue las font-face que definí:

Código CSS:
Ver original
  1. @font-face {
  2.   font-family: 'Caviar Dreams';
  3.   src: url("../../font/CaviarDreams-webfont.eot");
  4.   src: url("../../font/CaviarDreams-webfont.eot?#iefix") format('embedded-opentype'), url("../../font/CaviarDreams-webfont.woff") format('woff'), url("../../font/CaviarDreams-webfont.ttf") format('truetype'), url("../../font/CaviarDreams-webfont.svg#CaviarDreamsRegular") format('svg');
  5.   font-weight: normal;
  6.   font-style: normal;
  7. }
  8. @font-face {
  9.   font-family: 'Source CodePro';
  10.   src: url("../../font/SourceCodePro-Regular-webfont.eot");
  11.   src: url("../../font/SourceCodePro-Regular-webfont.eot?#iefix") format('embedded-opentype'), url("../../font/SourceCodePro-Regular-webfont.woff") format('woff'), url("../../font/SourceCodePro-Regular-webfont.ttf") format('truetype'), url("../../font/SourceCodePro-Regular-webfont.svg#SourceCodeProRegular") format('svg');
  12.   font-weight: normal;
  13.   font-style: normal;
  14.  
  15. @font-face{
  16.   font-family:'FontAwesome';
  17.   src:url('../../fonts/fontawesome-webfont.eot?v=3.0.1');
  18.   src:url('../../fonts/fontawesome-webfont.eot?#iefix&v=3.0.1') format('embedded-opentype'),
  19.   url('../../fonts/fontawesome-webfont.woff?v=3.0.1') format('woff'),
  20.   url('../../fonts/fontawesome-webfont.ttf?v=3.0.1') format('truetype'),
  21.   url("../../font/fontawesome-webfont.svg#FontAwesome") format('svg');
  22.   font-weight:normal;
  23.   font-style:normal }

Vive dándome errores como:

Código:
[13:01:11.912] downloadable font: download failed (font-family: "FontAwesome" style:normal weight:normal stretch:normal src index:1): status=2147746065
source: http://127.0.0.1:8000/fonts/fontawesome-webfont.woff?v=3.0.1 @ http://127.0.0.1:8000/assets/css/font-awesome.min.css

[13:01:11.914] downloadable font: download failed (font-family: "FontAwesome" style:normal weight:normal stretch:normal src index:2): status=2147746065
source: http://127.0.0.1:8000/fonts/fontawesome-webfont.ttf?v=3.0.1 @ http://127.0.0.1:8000/assets/css/font-awesome.min.css

[13:01:11.914] downloadable font: no supported format found (font-family: "FontAwesome" style:normal weight:normal stretch:normal src index:4)
source: (end of source list) @ http://127.0.0.1:8000/assets/css/font-awesome.min.css
Y claro

Código:
[13:13:57.445] GET http://127.0.0.1:8000/fonts/fontawesome-webfont.woff?v=3.0.1 [HTTP/1.0 404 File not found 0ms]
[13:13:57.447] GET http://127.0.0.1:8000/fonts/fontawesome-webfont.ttf?v=3.0.1 [HTTP/1.0 404 File not found 0ms]
La cuestión es que ya he investigado los paths y sigue enviándome los errores (el que quiera revisar la estructura de las carpetas puede hacerlo aquí).

Otra cosa extremadamente curiosa es que de hecho, no solo no me consigue las fuentes ni me las aplica de ningún modo sino que para peor, no me aplica muchos estilos, solo algunos ...



La verdad es que no logro entender , quizá sea una estupidez novata o algo distinto, gracias de antemano a cualquier ayuda.