mirror of
https://github.com/janeczku/calibre-web
synced 2024-11-24 18:47:23 +00:00
change google fonts to local
This commit is contained in:
parent
26c293308c
commit
f2de1d4c47
@ -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{
|
||||
color: #444;
|
||||
|
@ -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}
|
||||
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}
|
||||
|
BIN
cps/static/fonts/GrandHotel-Regular.ttf
Normal file
BIN
cps/static/fonts/GrandHotel-Regular.ttf
Normal file
Binary file not shown.
BIN
cps/static/fonts/LibreBaskerville-Bold.ttf
Normal file
BIN
cps/static/fonts/LibreBaskerville-Bold.ttf
Normal file
Binary file not shown.
BIN
cps/static/fonts/LibreBaskerville-Regular.ttf
Normal file
BIN
cps/static/fonts/LibreBaskerville-Regular.ttf
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user