我网站上的一些元素显示完美,而相同字体的其他元素看起来颗粒状和波涛汹涌。我不知道为什么,因为我以相同的方式指定样式。
这是我的网站:
侧边栏导航(我、关于、写联系人)完全没问题,而段落、h2 和页脚样式是颗粒状的,看起来像同类型脸的粗略版本。
CSS:
/* Fonts */
@import url(http://fonts.googleapis.com/css?family=Playfair+Display:400,700,900,400italic,700italic,900italic);
时髦的款式:
h2 {
font-family: 'Playfair Display', sans-serif, 20px;
font-weight: 100;
line-height: 2em;
color: #000000;
letter-spacing: -1px;
margin: 0;
}
h3 {
font-family: 'Playfair Display', sans-serif, 12px;
font-weight: 100;
line-height: 2em;
color: #000000;
letter-spacing: -1px;
margin: 0;
}
#foot a:link {
font-family: 'Playfair Display', sans-serif;
font-size: 15px;
font-weight: 100;
color:#000;
text-decoration: none;
letter-spacing:0.2em;
}
这些功能正常:
#emma_home a:link{
font-family: 'Playfair Display', serif;
font-size: 75px;
font-weight: 200;
color:rgba(255,255,255,1);
text-decoration: none;
letter-spacing:-4px;
}
#nav_menu a:link{
font-family: 'Playfair Display', serif;
font-size: 30px;
font-weight: 100;
color:rgba (255,255,255,1);
text-decoration: none;
text-align: center;
letter-spacing:0.2em;
}
#side_wrapper_text a:link{
font-family: 'Playfair Display', sans-serif;
font-size: 32px;
font-style: italic;
font-weight: 100;
color:#000000;;
text-decoration: none;
text-align: right;
letter-spacing:0.2em;
}
此外,在 PC 上,顶部的 Emma 和导航(写作、博客、联系人)在黑线上方约 20 像素处,但在我的 Mac 上,字母像我想要的那样接触白色。
是什么导致了这些差异?
谢谢。