Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[issue #541] hosted google fonts locally #544

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions bookie/static/css/cabin-sketch.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
@font-face {
font-family: 'Cabin';
font-style: normal;
font-weight: 400;
src: local('Cabin Regular'), local('Cabin-Regular'), url(../font/cabin-sketch-regular.woff2) format('woff');
}
@font-face {
font-family: 'Cabin Sketch';
font-style: normal;
font-weight: 700;
src: local('CabinSketch Bold'), local('CabinSketch-Bold'), url(../font/cabin-sketch-bold.woff2) format('woff');
}

Binary file added bookie/static/font/cabin-sketch-bold.woff2
Binary file not shown.
Binary file added bookie/static/font/cabin-sketch-regular.woff2
Binary file not shown.
2 changes: 1 addition & 1 deletion bookie/templates/main_wrap.mako
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<link rel="stylesheet" type="text/css"
href="${combo}/combo?y/cssreset/reset-min.css&y/cssfonts/cssfonts-min.css&y/cssgrids/cssgrids-min.css&y/cssbase/cssbase-min.css&y/widget-base/assets/skins/sam/widget-base.css&y/autocomplete-list/assets/skins/sam/autocomplete-list.css"/>
<link
href='https://fonts.googleapis.com/css?family=Cabin|Cabin+Sketch:bold&v2'
href='/static/css/cabin-sketch.css'
rel='stylesheet' type='text/css'/>
<link rel="stylesheet" type="text/css" href="/static/css/responsive.css"/>
<script type="text/javascript">
Expand Down