From a971056d3af6f838fda87dce8cae517c8e913ceb Mon Sep 17 00:00:00 2001 From: Gaspard Jankowiak Date: Tue, 28 Jan 2014 17:13:59 +0100 Subject: [PATCH] font style --- _sass/screen.scss | 4 ++-- stylesheets/screen.css | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/_sass/screen.scss b/_sass/screen.scss index 7a08975..d309e81 100644 --- a/_sass/screen.scss +++ b/_sass/screen.scss @@ -17,7 +17,7 @@ $width: 800px; @include font-face("OpenSans", font-files("OpenSans.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; 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; } -em { font-family: OpenSansItalic; } +em { font-style: italic; } table { width: 100%; } thead { color: $dim; } diff --git a/stylesheets/screen.css b/stylesheets/screen.css index 818179e..7aca573 100644 --- a/stylesheets/screen.css +++ b/stylesheets/screen.css @@ -69,8 +69,9 @@ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, } @font-face { - font-family: "OpenSansItalic"; + font-family: "OpenSans"; src: url('/stylesheets/fonts/OpenSans-Italic.woff') format('woff'); + font-style: italic; } html, body { @@ -156,7 +157,7 @@ footer { } em { - font-family: OpenSansItalic; + font-style: italic; } table {