Skip to content
This repository has been archived by the owner on Aug 12, 2022. It is now read-only.

Commit

Permalink
Merge pull request #46 from geminorum/master
Browse files Browse the repository at this point in the history
RawGit CDN style
  • Loading branch information
rastikerdar committed Apr 30, 2016
2 parents a2e03c3 + a8baeb7 commit efcb862
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,28 @@ A Persian (Farsi) Font — فونت (قلم) فارسی صمیم
<p>بر مبنای فونت <a href="http://rastikerdar.github.io/vazir-font/">وزیر</a></p>
</div>

## Install

Grab the [latest release](https://github.com/rastikerdar/samim-font/releases/latest) file.

Or you can get it on bower:

```
bower install samim-font --save
```

Or [RawGit](https://rawgit.com) CDN:

```html
<link href="https://cdn.rawgit.com/rastikerdar/samim-font/master/dist/font-face.css" rel="stylesheet" type="text/css" />
```

And integrate the font into your CSS:

```
font-family: 'Samim', sans-serif;
```

## Contributors

- Allen Bargi [@aziz] (https://github.com/aziz)
Expand Down
16 changes: 16 additions & 0 deletions dist/font-face.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
@font-face {
font-family: 'Samim';
src: url('https://cdn.rawgit.com/rastikerdar/samim-font/master/dist/Samim.eot');
src: url('https://cdn.rawgit.com/rastikerdar/samim-font/master/dist/Samim.eot?#iefix') format('embedded-opentype'),
url('https://cdn.rawgit.com/rastikerdar/samim-font/master/dist/Samim.woff') format('woff'),
url('https://cdn.rawgit.com/rastikerdar/samim-font/master/dist/Samim.ttf') format('truetype');
font-weight: normal;
}
@font-face {
font-family: 'Samim';
src: url('https://cdn.rawgit.com/rastikerdar/samim-font/master/dist/Samim-Bold.eot');
src: url('https://cdn.rawgit.com/rastikerdar/samim-font/master/dist/Samim-Bold.eot?#iefix') format('embedded-opentype'),
url('https://cdn.rawgit.com/rastikerdar/samim-font/master/dist/Samim-Bold.woff') format('woff'),
url('https://cdn.rawgit.com/rastikerdar/samim-font/master/dist/Samim-Bold.ttf') format('truetype');
font-weight: bold;
}

0 comments on commit efcb862

Please sign in to comment.