Skip to content

Commit

Permalink
font bug solved
Browse files Browse the repository at this point in the history
  • Loading branch information
adarshnjena committed Dec 4, 2022
1 parent 2788466 commit 89bf086
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
Binary file added franklin-gothic-medium.ttf
Binary file not shown.
5 changes: 0 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@
/>
<meta name="author" content="Adarsh Jena" />
<title>Adarsh</title>
<link
href="https://allfont.net/allfont.css?fonts=franklin-gothic-medium"
rel="stylesheet"
type="text/css"
/>
<link rel="stylesheet" href="style.css" />
<link rel="stylesheet" href="3D BOX.css" />
<link rel="icon" href="./images/logo.webp" type="image/x-icon" />
Expand Down
7 changes: 5 additions & 2 deletions style.css
Original file line number Diff line number Diff line change
@@ -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;
Expand Down Expand Up @@ -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;
Expand Down

1 comment on commit 89bf086

@vercel
Copy link

@vercel vercel bot commented on 89bf086 Dec 4, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.