我在使用 Google 字体时遇到了严重问题。直到上周他们都工作得很好,从那时起他们就停止了在所有浏览器和平板电脑上的工作。如果我在我的 PC 上手动安装字体,那么只会显示它们,但不是很准确。
API头代码:
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,300' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300,700' rel='stylesheet' type='text/css'>
CSS:
body { font-family: 'Open Sans', Arial, sans-serif; font-size: 16px; color: #4c4c4c; background: url('images/textures/header_bg1.png') no-repeat center top, url(images/textures/11.png) 0px 0px; }
h1, h2, h3, h4, h5, h6 { font-family: 'Open Sans', Arial, sans-serif; padding-bottom: 6px; color: #474747; line-height: 1em; font-weight: 300; }
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { color: #2b2b2b; }
h1 { font-size: 41px; font-weight: 300; color: #5a5a5a; margin-top: 25px; margin-bottom:5px;}
h2 { font-size: 30px; font-weight: 300; margin-top: 25px; margin-bottom:5px;}
h3 { font-size: 23px; font-weight: 300; margin-top: 25px; margin-bottom:5px;}
h4 { font-size: 18px; font-weight: lighter; margin-top: 25px; margin-bottom:5px;}
h5 { font-size: 16px; font-weight: lighter; margin-top: 25px; margin-bottom:5px;}
h6 { font-size: 14px; font-weight: lighter; margin-top: 25px; margin-bottom:5px;}
p { font-family: 'Open Sans', Arial, sans-serif; font-size: 12px; color: #4c4c4c; text-align: justify; margin-top: 10px; margin-bottom: 10px; line-height: 25px;}
链接到我正在处理的网站:http ://www.bpcdev.co.uk