Skip to content

Commit

Permalink
Add google fonts locally
Browse files Browse the repository at this point in the history
  • Loading branch information
VirtuBox committed Aug 15, 2019
1 parent cad67a4 commit 3783e13
Show file tree
Hide file tree
Showing 10 changed files with 47 additions and 3 deletions.
46 changes: 46 additions & 0 deletions assets/css/gfonts.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
/* open-sans-300 - latin */

@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 300;
src: local('Open Sans Light'), local('OpenSans-Light'), url('../fonts/open-sans-v17-latin-300.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('../fonts/open-sans-v17-latin-300.woff') format('woff');
/* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}


/* open-sans-regular - latin */

@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
src: local('Open Sans Regular'), local('OpenSans-Regular'), url('../fonts/open-sans-v17-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('../fonts/open-sans-v17-latin-regular.woff') format('woff');
/* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}


/* open-sans-600 - latin */

@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 600;
src: local('Open Sans SemiBold'), local('OpenSans-SemiBold'), url('../fonts/open-sans-v17-latin-600.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('../fonts/open-sans-v17-latin-600.woff') format('woff');
/* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}


/* open-sans-700 - latin */

@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 700;
src: local('Open Sans Bold'), local('OpenSans-Bold'), url('../fonts/open-sans-v17-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('../fonts/open-sans-v17-latin-700.woff') format('woff');
/* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
Binary file added assets/fonts/open-sans-v17-latin-300.woff
Binary file not shown.
Binary file added assets/fonts/open-sans-v17-latin-300.woff2
Binary file not shown.
Binary file added assets/fonts/open-sans-v17-latin-600.woff
Binary file not shown.
Binary file added assets/fonts/open-sans-v17-latin-600.woff2
Binary file not shown.
Binary file added assets/fonts/open-sans-v17-latin-700.woff
Binary file not shown.
Binary file added assets/fonts/open-sans-v17-latin-700.woff2
Binary file not shown.
Binary file added assets/fonts/open-sans-v17-latin-regular.woff
Binary file not shown.
Binary file added assets/fonts/open-sans-v17-latin-regular.woff2
Binary file not shown.
4 changes: 1 addition & 3 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@
<!-- Favicon -->
<link href="./assets/img/brand/favicon.png" rel="icon" type="image/png">
<!-- Fonts -->
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700" rel="stylesheet">
<!-- Icons -->

<link type="text/css" href="./assets/css/gfonts.css" rel="stylesheet">
<!-- Argon CSS -->
<link type="text/css" href="./assets/css/argon.min.css" rel="stylesheet">
<script>
Expand Down

0 comments on commit 3783e13

Please sign in to comment.