-
Notifications
You must be signed in to change notification settings - Fork 0
/
FarsiStyles4FamousWebsites.user.styl
48 lines (41 loc) · 1.31 KB
/
FarsiStyles4FamousWebsites.user.styl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/* ==UserStyle==
@name FarsiStyles4FamousWebsites
@namespace professormahi
@version 1.10.8
@description Styles for Famous Websites to Add Farsi Fonts
@author Mahdi Fooladgar ([email protected])
@homepageURL https://github.com/professormahi/stylus-styles/
@supportURL https://github.com/professormahi/stylus-styles/issues
@updateURL https://github.com/professormahi/stylus-styles/raw/main/FarsiStyles4FamousWebsites.user.styl
@preprocessor stylus
@license MIT
@var select fontFamily "Font Family" ["Shabnam*", "Vazir Code"]
==/UserStyle== */
@import"https://cdn.jsdelivr.net/gh/rastikerdar/[email protected]/dist/font-face.css";
@import"https://cdn.rawgit.com/rastikerdar/vazir-code-font/v1.1.2/dist/font-face.css";
@-moz-document domain("web.whatsapp.com") {
body, #app {
font-family: fontFamily;
}
}
@-moz-document domain("messages.google.com") {
.text-msg-content,
.snippet-text,
textarea {
font-family: fontFamily !important;
}
}
@-moz-document domain("tasks.google.com"),
domain("mail.google.com"),
domain("calendar.google.com") {
body,
textarea,
:dir(rtl) {
font-family: fontFamily !important;
}
}
@-moz-document domain("twitter.com") {
:dir(rtl) {
font-family: fontFamily !important;
}
}