Skip to content

FarsiStyles4FamousWebsites by professormahi

Imported and mirrored from https://raw.githubusercontent.com/professormahi/stylus-styles/main/FarsiStyles4FamousWebsites.user.styl

Screenshot of FarsiStyles4FamousWebsites

Details

Authorprofessormahi

LicenseMIT

Categoryunset

Created

Updated

Size1.2 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Styles for Famous Websites to Add Farsi Fonts

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           FarsiStyles4FamousWebsites
@namespace      professormahi
@version        1.10.8
@description    Styles for Famous Websites to Add Farsi Fonts
@author         Mahdi Fooladgar (professormahi_f@yahoo.com)
@homepageURL    https://github.com/professormahi/stylus-styles/
@supportURL     https://github.com/professormahi/stylus-styles/issues
@preprocessor   stylus
@license        MIT

@var select fontFamily "Font Family" ["Shabnam*", "Vazir Code"]
==/UserStyle== */
@import"https://cdn.jsdelivr.net/gh/rastikerdar/shabnam-font@v5.0.1/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;
    }
}

Reviews

No reviews yet.