Skip to content

Commit

Permalink
Merge pull request #1 from golabzade/main
Browse files Browse the repository at this point in the history
fix fonts
  • Loading branch information
amirhoseindavat authored Aug 11, 2024
2 parents 4975a82 + 598be14 commit 6dfb893
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.idea/
.code/
13 changes: 4 additions & 9 deletions css/style.css
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
@import url('https://cdn.jsdelivr.net/gh/rastikerdar/[email protected]/Vazirmatn-font-face.css');
@font-face {
font-family: "Twemoji Country Flags";
unicode-range: U+1F1E6-1F1FF, U+1F3F4, U+E0062-E0063, U+E0065, U+E0067,
U+E006C, U+E006E, U+E0073-E0074, U+E0077, U+E007F;
src: url('https://cdn.jsdelivr.net/npm/[email protected]/dist/TwemojiCountryFlags.woff2') format('woff2');
font-display: swap;
}
@font-face {
font-family: "iransans";
src: url("https://amirhoseindavat.ir/fonts/IRANSansWeb.eot"), url("https://amirhoseindavat.ir/fonts/IRANSansWeb.ttf") format("truetype"), url("https://amirhoseindavat.ir/fonts/IRANSansWeb.woff") format("truetype");
font-weight: normal;
font-style: normal;
}
br{
padding-bottom: 10px;
content: "A" !important;
Expand All @@ -23,7 +18,7 @@ body {
height: 100%;
font-size: 1.1rem;
color: #FFFFFF;
font-family: iransans, sans-serif;
font-family: Vazirmatn, sans-serif;
}
body {
margin: 0;
Expand Down Expand Up @@ -184,7 +179,7 @@ tbody td {
border: 3px solid #FFFFFF;
padding: 5px 15px 5px 15px;
border-radius: 20px;
font-family: iransans;
font-family: Vazirmatn;
}
.link
{
Expand All @@ -202,6 +197,6 @@ tbody td {
position: static;
}
.regions{
font-family: "Twemoji Country Flags",iransans;
font-family: "Twemoji Country Flags",Vazirmatn;
direction: rtl !important;
}

0 comments on commit 6dfb893

Please sign in to comment.