Skip to content

Commit

Permalink
Fix font bug
Browse files Browse the repository at this point in the history
  • Loading branch information
MjavadH committed Aug 31, 2023
1 parent ecffbc6 commit 564d5c1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
Binary file added assets/Vazirmatn-SemiBold.woff2
Binary file not shown.
10 changes: 9 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@
<link rel="stylesheet" href="assets/bootstrap.rtl.min.css">
<link rel="stylesheet" href="assets/aos.css">
<style>
/* Add `Vazirmatn` font */
@font-face {
font-family: Vazirmatn;
src: url('assets/Vazirmatn-SemiBold.woff2') format('woff2');
font-weight: 600;
font-style: normal;
font-display: swap;
}
* {
box-sizing: border-box;
margin: 0;
Expand All @@ -20,7 +28,7 @@
body {
font-size: 16px;
direction: rtl;
font-family: "vazir", sans-serif;
font-family: Vazirmatn, sans-serif;
background-color: #f9fff6;
color: #090909;
overflow-x: hidden
Expand Down

0 comments on commit 564d5c1

Please sign in to comment.