diff --git a/franklin-gothic-medium.ttf b/franklin-gothic-medium.ttf new file mode 100644 index 0000000..d4932cd Binary files /dev/null and b/franklin-gothic-medium.ttf differ diff --git a/index.html b/index.html index 7b3d808..d7e4d5d 100644 --- a/index.html +++ b/index.html @@ -14,11 +14,6 @@ /> Adarsh - diff --git a/style.css b/style.css index f245ea6..c2755e2 100644 --- a/style.css +++ b/style.css @@ -1,6 +1,9 @@ /* import google fonts */ @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Ubuntu:wght@400;500;700&display=swap'); -@import url('https://allfont.net/allfont.css?fonts=franklin-gothic-medium'); +@font-face { + font-family: 'Franklin Gothic Medium'; + src: url(/franklin-gothic-medium.ttf) format('truetype'); +} *{ margin: 0; @@ -292,7 +295,7 @@ section .title::after{ content: "01"; font-size: 30vh; color: #fff; - font-family: 'Franklin Gothic Medium', arial; + font-family:'Franklin Gothic Medium'; position: absolute; transform: rotate(45deg); top: 50vh;