From f938f30ff922e5073f71cd80a70ad74b7d8f93f5 Mon Sep 17 00:00:00 2001 From: oweissbarth Date: Tue, 11 Mar 2014 17:28:21 +0100 Subject: Fixed strange snapping on refresh. Moving images into img. Now providing font ourselve --- www/static/style.css | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'www/static/style.css') diff --git a/www/static/style.css b/www/static/style.css index 7d5159c..8b07d09 100644 --- a/www/static/style.css +++ b/www/static/style.css @@ -1,5 +1,8 @@ -@import url(https://fonts.googleapis.com/css?family=Alegreya+Sans+SC:300); - +@font-face +{ + font-family: 'Alegreya Sans SC'; + src: url("alegreya_sans_sc.woff"); +} /*************************************************************** General Page Styling ****************************************************************/ @@ -10,9 +13,6 @@ html, body{ height: 100%; font-family: 'Alegreya Sans SC', sans-serif; - -webkit-font-smoothing: antialiased; - -ms-font-smoothing: antialiased; - font-smoothing: antialiased; } @@ -33,7 +33,7 @@ a.logo{ width: 70px; margin-top: 5px; margin-left: 5px; - background-image: url(static/logo.svg); + background-image: url(img/logo.svg); background-repeat:no-repeat; background-size:66px 66px; background-color:#3083D6; @@ -47,7 +47,7 @@ a.logo{ a.logo:hover{ display: block; background:#2669AB; - background-image: url(static/logo.svg); + background-image: url(img/logo.svg); background-repeat:no-repeat; background-size:66px 66px; background-position: center; -- cgit v1.2.3