use the beautiful Sahel font for persian text
[~bandali/bndl.org] / fa / projects.html
index 12ce1bc..db73baf 100644 (file)
@@ -1,5 +1,5 @@
 <!doctype html>
 <!doctype html>
-<html lang="fa">
+<html lang="fa" dir="rtl">
 <head>
 <meta charset="utf-8" />
 <meta name="author" content="bandali" />
 <head>
 <meta charset="utf-8" />
 <meta name="author" content="bandali" />
@@ -8,9 +8,18 @@
 <link rel="canonical" href="https://bndl.org/fa/projects.html" />
 <link rel="alternate" href="bandali-projects.txt" title="plain text" type="text/plain" />
 <style>
 <link rel="canonical" href="https://bndl.org/fa/projects.html" />
 <link rel="alternate" href="bandali-projects.txt" title="plain text" type="text/plain" />
 <style>
+@font-face {
+  font-family: sahel; font-weight: normal;
+  src: local('Sahel WOL'), local('Sahel'),
+       url('sahel.woff2') format('woff2');
+}
+@font-face {
+  font-family: sahel; font-weight: bold;
+  src: local('Sahel WOL'), local('Sahel'),
+       url('sahelb.woff2') format('woff2');
+}
 body {
 body {
-  direction: rtl;
-  font-family: Sahel WOL, sans-serif;
+  font-family: sahel, sans-serif;
   line-height: 1.8;
   max-width: 37.5em;
   margin: 0 auto;
   line-height: 1.8;
   max-width: 37.5em;
   margin: 0 auto;