change google fonts to local

This commit is contained in:
wuqi 2016-07-20 10:41:04 +08:00
parent 26c293308c
commit f2de1d4c47
5 changed files with 18 additions and 3 deletions

View File

@ -1,5 +1,15 @@
@import url(http://fonts.googleapis.com/css?family=Libre+Baskerville:400,700); @font-face {
font-family: 'Libre Baskerville';
font-style: normal;
font-weight: 400;
src: local('Libre Baskerville'), local('LibreBaskerville-Regular'), url("../fonts/LibreBaskerville-Regular.ttf") format('truetype');
}
@font-face {
font-family: 'Libre Baskerville';
font-style: normal;
font-weight: 700;
src: local('Libre Baskerville Bold'), local('LibreBaskerville-Bold'), url("../fonts/LibreBaskerville-Bold") format('truetype');
}
body{ body{
color: #444; color: #444;

View File

@ -1,4 +1,9 @@
@import url(http://fonts.googleapis.com/css?family=Grand+Hotel); @font-face {
font-family: 'Grand Hotel';
font-style: normal;
font-weight: 400;
src: local('Grand Hotel'), local('GrandHotel-Regular'), url("../fonts/GrandHotel-Regular.ttf") format('truetype');
}
body{background:#f2f2f2}body h2{font-weight:normal;color:#444} body{background:#f2f2f2}body h2{font-weight:normal;color:#444}
a{color: #45b29d}a:hover{color: #444;} a{color: #45b29d}a:hover{color: #444;}
.navigation .nav-head{text-transform:uppercase;color:#999;margin:20px 0}.navigation .nav-head:nth-child(1n+2){border-top:1px solid #ccc;padding-top:20px} .navigation .nav-head{text-transform:uppercase;color:#999;margin:20px 0}.navigation .nav-head:nth-child(1n+2){border-top:1px solid #ccc;padding-top:20px}

Binary file not shown.

Binary file not shown.

Binary file not shown.