aboutsummaryrefslogtreecommitdiff
path: root/modern/public
diff options
context:
space:
mode:
authorrahighi <rahighi>2021-08-26 11:46:48 +0430
committerrahighi <rahighi>2021-08-26 11:46:48 +0430
commiteed89f02a9219417fa5f94c0d6c08f5981d23823 (patch)
tree78b378e1b1bcc54a068c304b1b9af73aa0e8c3a9 /modern/public
parentdb406fcc787df2fa865e5c5fe333f152e533cda1 (diff)
downloadtrackermap-web-eed89f02a9219417fa5f94c0d6c08f5981d23823.tar.gz
trackermap-web-eed89f02a9219417fa5f94c0d6c08f5981d23823.tar.bz2
trackermap-web-eed89f02a9219417fa5f94c0d6c08f5981d23823.zip
added multiple language support with related layout directions
Diffstat (limited to 'modern/public')
-rw-r--r--modern/public/fonts/IRANSansWeb(FaNum).ttfbin0 -> 59524 bytes
-rw-r--r--modern/public/index.html2
-rw-r--r--modern/public/styles.css5
3 files changed, 6 insertions, 1 deletions
diff --git a/modern/public/fonts/IRANSansWeb(FaNum).ttf b/modern/public/fonts/IRANSansWeb(FaNum).ttf
new file mode 100644
index 00000000..168a908e
--- /dev/null
+++ b/modern/public/fonts/IRANSansWeb(FaNum).ttf
Binary files differ
diff --git a/modern/public/index.html b/modern/public/index.html
index 78138ed5..6d2eb7a0 100644
--- a/modern/public/index.html
+++ b/modern/public/index.html
@@ -9,7 +9,7 @@
<link rel="stylesheet" href="%PUBLIC_URL%/styles.css">
<title>Traccar</title>
</head>
- <body style="margin: 0; padding: 0;">
+ <body style="margin: 0; padding: 0;">
<noscript>
You need to enable JavaScript to run this app.
</noscript>
diff --git a/modern/public/styles.css b/modern/public/styles.css
index 147c3e3f..aca9e464 100644
--- a/modern/public/styles.css
+++ b/modern/public/styles.css
@@ -14,3 +14,8 @@ canvas {
.maplibregl-popup {
max-width: 330px !important;
}
+
+@font-face {
+ font-family: IranSans;
+ src: url('fonts/IRANSansWeb\(FaNum\).ttf');
+} \ No newline at end of file