フォントの「より軽い」バージョンを使用しようとしていますが、Firefox と chrome ではまだ「通常の」太さとして表示されます。
ここに私のfont.cssがあります:
@font-face {
font-family: Avenir;
font-weight: normal;
src: url("AvenirLTStd-Medium.otf") format("opentype");
}
@font-face {
font-family: Avenir;
font-weight: bold;
src: url("AvenirLTStd-Black.otf") format("opentype");
}
@font-face {
font-family: Avenir;
font-weight: lighter;
src: url("12-Avenir-Light.ttf") format("opentype");
}
で「軽い」ウェイトをアクティブにするために使用しているものは次のH2
とおり#home
です。
body {
background: none repeat scroll 0 0 #DADAD2;
font-family: 'Avenir',sans-serif;
font-weight: normal;
}
#home .six.columns h2 {
color: #FAFAFA;
display: block;
font-size: 1.8em;
font-weight: lighter;
letter-spacing: 0.3em;
margin-top: 25%;
text-align: center;
}
ここで私が話していることを確認できます (製品画像の 1 つにカーソルを合わせるだけです)。