diff -u a/index.html b/index.html --- a/index.html +++ b/index.html @@ -6,10 +6,6 @@ Tower of Tension - - - - diff -u a/styles/scss/styles.scss b/styles/scss/styles.scss --- a/styles/scss/styles.scss +++ b/styles/scss/styles.scss @@ -1,3 +1,4 @@ -@import url('https://fonts.googleapis.com/css?family=Courier+Prime:400,700&display=swap'); +@font-face { font-family: 'Courier Prime'; font-style: normal; font-weight: 400; src: url('../fonts/CourierPrime-Regular.ttf') format('truetype'); } +@font-face { font-family: 'Courier Prime'; font-style: normal; font-weight: 700; src: url('../fonts/CourierPrime-Bold.ttf') format('truetype'); } @import 'normalize'; @import 'game'; \ No newline at end of file diff -u a/styles/styles.css b/styles/styles.css --- a/styles/styles.css +++ b/styles/styles.css @@ -1,5 +1,16 @@ @charset "UTF-8"; -@import url("https://fonts.googleapis.com/css?family=Courier+Prime:400,700&display=swap"); +@font-face { + font-family: "Courier Prime"; + font-style: normal; + font-weight: 400; + src: url("../fonts/CourierPrime-Regular.ttf") format("truetype"); +} +@font-face { + font-family: "Courier Prime"; + font-style: normal; + font-weight: 700; + src: url("../fonts/CourierPrime-Bold.ttf") format("truetype"); +} article, aside, details, figcaption, figure, footer, header, hgroup, nav, section, summary { display: block; }