diff --git a/src/assets/fonts/opensans-google.css b/src/assets/fonts/opensans-google.css new file mode 100644 index 0000000..5f5af3e --- /dev/null +++ b/src/assets/fonts/opensans-google.css @@ -0,0 +1,36 @@ +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-weight: 400; + src: local('Open Sans Italic'), local('OpenSans-Italic'), url(https://fonts.gstatic.com/s/opensans/v14/xjAJXh38I15wypJXxuGMBp0EAVxt0G0biEntp43Qt6E.ttf) format('truetype'); +} +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-weight: 600; + src: local('Open Sans SemiBold Italic'), local('OpenSans-SemiBoldItalic'), url(https://fonts.gstatic.com/s/opensans/v14/PRmiXeptR36kaC0GEAetxi8cqLH4MEiSE0ROcU-qHOA.ttf) format('truetype'); +} +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-weight: 800; + src: local('Open Sans ExtraBold Italic'), local('OpenSans-ExtraBoldItalic'), url(https://fonts.gstatic.com/s/opensans/v14/PRmiXeptR36kaC0GEAetxlDMrAYtoOisqqMDW9M_Mqc.ttf) format('truetype'); +} +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-weight: 400; + src: local('Open Sans Regular'), local('OpenSans-Regular'), url(https://fonts.gstatic.com/s/opensans/v14/cJZKeOuBrn4kERxqtaUH3aCWcynf_cDxXwCLxiixG1c.ttf) format('truetype'); +} +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-weight: 600; + src: local('Open Sans SemiBold'), local('OpenSans-SemiBold'), url(https://fonts.gstatic.com/s/opensans/v14/MTP_ySUJH_bn48VBG8sNSonF5uFdDttMLvmWuJdhhgs.ttf) format('truetype'); +} +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-weight: 800; + src: local('Open Sans ExtraBold'), local('OpenSans-ExtraBold'), url(https://fonts.gstatic.com/s/opensans/v14/EInbV5DfGHOiMmvb1Xr-honF5uFdDttMLvmWuJdhhgs.ttf) format('truetype'); +} diff --git a/src/assets/styles/main.scss b/src/assets/styles/main.scss index a4b97e5..102a021 100644 --- a/src/assets/styles/main.scss +++ b/src/assets/styles/main.scss @@ -4,7 +4,7 @@ @import 'libs/functions'; @import 'libs/mixins'; @import "libs/_font-awesome/font-awesome"; -@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,400italic,600,600italic,800,800italic'); +@import url("../fonts/opensans-google.css"); /* Spectral by HTML5 UP @@ -185,7 +185,7 @@ body.landing { #page-wrapper { padding-top: 0; } - + #footer { background-color: darken(transparentize(_palette(bg), 0.1), 8); } @@ -204,9 +204,9 @@ body.is-mobile { background-repeat: no-repeat; background-size: cover; } - + #footer { background-color: darken(_palette(bg), 8); } } -} \ No newline at end of file +}