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

Include fonts locally to avoid external resources #77

Open
wants to merge 1 commit into
base: master
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
5 changes: 2 additions & 3 deletions layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="all,follow">
<meta name="googlebot" content="index,follow,snippet,archive">
<link rel="stylesheet" id="ct-tracks-google-fonts-css" href="https://fonts.googleapis.com/css?family=Raleway%3A400%2C700&amp;subset=latin%2Clatin-ext&amp;ver=4.7.2" type="text/css" media="all">
<!-- Upgraded to Font Awesome 5.3 no need for local files using all.css so all icons are available -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<!-- Font Awesome -->
<link href="{{ "css/all.min.css" | absURL }}?v{{ now.Unix }}=" rel="stylesheet">
<!-- Theme stylesheet, if possible do not edit this stylesheet -->
<link href="{{ "css/style.css" | absURL }}?v={{ now.Unix }}" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<!-- Custom stylesheet - for your changes -->
Expand Down
5 changes: 5 additions & 0 deletions static/css/all.min.css

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions static/css/brands.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 26 additions & 0 deletions static/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,32 @@ Tracks WordPress Theme, Copyright 2017 Compete Themes
Tracks is distributed under the terms of the GNU GPL
*/
/*===== Variables =====*/
/* raleway-regular - latin-ext_latin */
@font-face {
font-family: 'Raleway';
font-style: normal;
font-weight: 400;
src: url('../webfonts/raleway-v14-latin-ext_latin-regular.eot'); /* IE9 Compat Modes */
src: local('Raleway'), local('Raleway-Regular'),
url('../webfonts/raleway-v14-latin-ext_latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../webfonts/raleway-v14-latin-ext_latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
url('../webfonts/raleway-v14-latin-ext_latin-regular.woff') format('woff'), /* Modern Browsers */
url('../webfonts/raleway-v14-latin-ext_latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
url('../webfonts/raleway-v14-latin-ext_latin-regular.svg#Raleway') format('svg'); /* Legacy iOS */
}
/* raleway-700 - latin-ext_latin */
@font-face {
font-family: 'Raleway';
font-style: normal;
font-weight: 700;
src: url('../webfonts/raleway-v14-latin-ext_latin-700.eot'); /* IE9 Compat Modes */
src: local('Raleway Bold'), local('Raleway-Bold'),
url('../webfonts/raleway-v14-latin-ext_latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../webfonts/raleway-v14-latin-ext_latin-700.woff2') format('woff2'), /* Super Modern Browsers */
url('../webfonts/raleway-v14-latin-ext_latin-700.woff') format('woff'), /* Modern Browsers */
url('../webfonts/raleway-v14-latin-ext_latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
url('../webfonts/raleway-v14-latin-ext_latin-700.svg#Raleway') format('svg'); /* Legacy iOS */
}
/* Theme Colors */
.site-title, .toggle-navigation i {
font-size: 1.625em;
Expand Down
5 changes: 5 additions & 0 deletions static/css/fontawesome.min.css

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions static/css/regular.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions static/css/solid.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions static/css/svg-with-js.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions static/css/v4-shims.min.css

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions static/js/all.min.js

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions static/js/brands.min.js

Large diffs are not rendered by default.

Loading