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

RawGit CDN style #46

Merged
merged 2 commits into from
Apr 30, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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;
}