feat(persian): add persian language

This commit is contained in:
Amir
2018-04-27 16:50:58 +04:30
parent 6c665e659b
commit dd5be99c69
18 changed files with 60 additions and 3 deletions

View File

@ -232,3 +232,30 @@ pre {
font-family: Mononoki;
src: url(fonts/mononoki-Regular.woff);
}
@font-face {
font-family: Sahel;
src: url(fonts/Sahel.eot);
src: url(fonts/Sahel.eot?#iefix) format('embedded-opentype'),
url(fonts/Sahel.woff) format('woff'),
url(fonts/Sahel.ttf) format('truetype');
font-weight: normal;
}
@font-face {
font-family: Sahel;
src: url(fonts/Sahel-Bold.eot);
src: url(fonts/Sahel-Bold.eot?#iefix) format('embedded-opentype'),
url(fonts/Sahel-Bold.woff) format('woff'),
url(fonts/Sahel-Bold.ttf) format('truetype');
font-weight: bold;
}
@font-face {
font-family: Sahel;
src: url(fonts/Sahel-Black.eot);
src: url(fonts/Sahel-Black.eot?#iefix) format('embedded-opentype'),
url(fonts/Sahel-Black.woff) format('woff'),
url(fonts/Sahel-Black.ttf) format('truetype');
font-weight: 900;
}

View File

@ -127,6 +127,19 @@ strong {
}
}
.fa-post {
font-family: $base-font-family;
direction: rtl !important;
.post-content {
text-align: right;
font-size: 1.05em;
line-height: 1.718em;
}
.share-page {
direction: ltr;
}
}
.post-content .heading-link {
display: block;
position: absolute;