font style

This commit is contained in:
Gaspard Jankowiak 2014-01-28 17:13:59 +01:00
parent c98595b373
commit a971056d3a
2 changed files with 5 additions and 4 deletions

View file

@ -17,7 +17,7 @@ $width: 800px;
@include font-face("OpenSans", font-files("OpenSans.woff")); @include font-face("OpenSans", font-files("OpenSans.woff"));
@include font-face("OpenSansLight", font-files("OpenSans-Light.woff")); @include font-face("OpenSansLight", font-files("OpenSans-Light.woff"));
@include font-face("OpenSansItalic", font-files("OpenSans-Italic.woff")); @include font-face("OpenSans", font-files("OpenSans-Italic.woff"), $style:italic);
html, body { height: 100%; text-align: justify; html, body { height: 100%; text-align: justify;
background-color: $bg; color: $text; background-color: $bg; color: $text;
@ -50,7 +50,7 @@ nav ul li:nth-child(n+2) { border-left: 1px solid $rule; }
footer { font-size: 75%; padding-bottom: 175px; } footer { font-size: 75%; padding-bottom: 175px; }
em { font-family: OpenSansItalic; } em { font-style: italic; }
table { width: 100%; } table { width: 100%; }
thead { color: $dim; } thead { color: $dim; }

View file

@ -69,8 +69,9 @@ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav,
} }
@font-face { @font-face {
font-family: "OpenSansItalic"; font-family: "OpenSans";
src: url('/stylesheets/fonts/OpenSans-Italic.woff') format('woff'); src: url('/stylesheets/fonts/OpenSans-Italic.woff') format('woff');
font-style: italic;
} }
html, body { html, body {
@ -156,7 +157,7 @@ footer {
} }
em { em {
font-family: OpenSansItalic; font-style: italic;
} }
table { table {